
IEEE-488 Reference
3-29
3.10 Common commands
Common commands (summarized in Table 3-2) are device commands that are common to all devices on the bus. These com-
mands are designated and defined by the IEEE-488.2 standard.
Table 3-2
IEEE-488.2 common commands and queries
Mnemonic
Name
Description
*CLS
*ESE <NRf>
*ESE?
*ESR?
*IDN?
*OPC
*OPC?
*OPT?
*RCL <NRf>
*RST
*SAV <NRf>
*SRE <NRf>
*SRE?
*STB?
*TRG
*TST?
*WAI
Clear status
Event Enable command
Event Enable query
Event status register query
Identification query
Operation complete command
Operation complete query
Option identification query
Recall command
Reset command
Save command
Service request enable command
Service request enable query
Read status byte query
Trigger command
Self-test query
Wait-to-continue command
Clears all event registers, and Error Queue.
Program the Standard Event Enable Register.
Read the Standard Event Enable Register.
Read the Standard Event Status Register and clear it.
Returns the manufacturer, model number, serial number, and firm-
ware revision levels of the unit.
Sets the Operation Complete bit in the Standard Event Status Reg-
ister after all pending commands have been executed.
Places an ASCII “1” into the output queue when all pending
selected device operations have been completed.
Returns an ID code that indicates which memory option is
installed and whether or not the optional scanner card is installed.
Returns the Model 2002 to the setup configuration stored in the
specified memory location.
Returns the Model 2002 to the *RST default conditions.
Saves the current setup to the specified memory location.
Programs the Service Request Enable Register.
Reads the Service Request Enable Register.
Reads the Status Byte Register.
Sends a bus trigger to the 2002.
Performs a checksum test on ROM and returns the result.
Wait until all previous commands are executed.
*CLS — clear status
Clear status registers and error queue.
The *CLS command is used to clear (reset to 0) the bits of the following registers in the Model
2002:
Standard Event Status Register
Operation Event Register
Error Queue
Trigger Event Register
Sequence Event Register
Arm Event Status Register
Measurement Event Register
Questionable Event Register
This command also forces the instrument into the operation complete command idle state and
operation complete query idle state.
PRINT #1, "output 16; *CLS"
' Clear registers and Error Queue
3.10.1
Description
Program fragment
Содержание 2002
Страница 123: ...Front Panel Operation 2 106...
Страница 145: ...IEEE 488 Reference 3 22...
Страница 167: ...IEEE 488 Reference 3 44...
Страница 284: ...A Specifications A 1...
Страница 362: ......
Страница 364: ...This page left blank intentionally...
Страница 365: ......