Keithley 4200-SCS Reference Manual page 639

Semiconductor characterization system
Hide thumbs Also See for 4200-SCS:
Table of Contents

Advertisement

Model 4200-SCS Reference Manual
Table 8-15
GPIB command list
GPIB command
Universal
LLO
DCL
SPE
SPD
Addressed
SDC
GTL
GET
Un-addressed
UNL
UNT
LAG
TAG
SCG
Remarks
Example
4200-901-01 Rev. S / May 2017
numbytes
cmdbuffer
(local lockout)
(device clear)
(serial poll enable)
(serial poll disable)
(selective device clear)
(go to local)
(group execute trigger)
(unlisten)
(untalk)
(listen address group)
(talk address group)
(secondary command group)
kibcmd performs the following steps:
1. Asserts attention (ATN).
2. Sends byte string (command buffer).
3. De-asserts ATN.
This example illustrates how the kibcmd command could be used to issue a GPIB bus
trigger command to a GPIB instrument located at address 15:
int status;
char GPIBtrigger[5] = {0x3F, 0x2F, 0x08, 0x3F, 0x00};
/* Unlisten = 3F (UNL) */
/* Listen address = 32 + 15 = 2F */
/* Group Execute Trigger (GET) = 08 */
/* UNL */
/* Terminate string with NULL */
.
.
.
status = kibcmd(30, strlen(GPIBtrigger),GPIBtrigger);
/* Use 3s timeout */
Return to
The number of BYTES in cmdbuffer to send with the ATN line
asserted.
The array containing the BYTES to transfer over the GPIB
interface.
Data byte
(Hex)
Comments
11
Locks-out front panel controls.
14
Returns instrument to default conditions.
18
Enables serial polling.
19
Disables serial polling.
04
Returns instrument to default conditions.
01
Sends go to local.
08
Triggers instrument for reading.
3F
Removes all listeners from GPIB bus.
5F
Removes any talkers from GPIB bus.
20-3E
Place instrument at this primary address
(0 through 30) in listen mode.
40-5E
Place instrument at this primary address
(0 through 30) in talk mode.
60-7E
Place instrument at this secondary
address (0 through 30) in listen mode.
Section Topics
Section 8: Keithley User Library Tool (KULT)
8-123

Advertisement

Table of Contents
loading

Table of Contents