User manual

GET is a GPIB trigger that is used as an arm, scan and/or measure event to control op-
eration. The Model 2000 multimeter reacts to this trigger if it is the programmed control
source. The control source is programmed from the SCPI: TRIGger subsystem.
With the instrument programmed and waiting for a GPIB trigger, the following program
fragment will provide the GET:
Program fragment
PRINT #1, "trigger 16" 'Trigger 2000 from over the bus
This sends IEEE-488 commands UNT UNL LISTEN 16 GET. When the command is ex-
ecuted, the trigger event occurs. (The command TRIGGER just sends GET. Any other lis-
teners are triggered when the command is executed.)
SPE, SPD (serial polling)
Use the serial polling sequence to obtain the Model 2000 serial poll byte. The serial poll
byte contains important information about internal functions, (see “status structure”). Gener-
ally, the serial polling sequence is used by the controller to determine which of several in-
struments has requested service with the SRQ line. However, the serial polling sequence
may be performed at any time to obtain the status byte from the Model 2000 multimeter.
Program fragment
PRINT #1, "spoll 16" 'Serial poll the 2000
INPUT #2, S 'Read serial poll byte
PRINT S 'Display the decimal value of
the serial poll byte
2000-900 (J - Aug 2010) BOOK.fm Page 17 Wednesday, October 12, 2011 12:29 PM