GPIB OPERATION
3-2-6
Common commands and queries (IEEE 488.2)
The IEEE 488.2 standard defines a set of common commands and queries which
implement common system functions.
Common command and query mnemonics are preceded by an asterisk (*) to distinguish
them from device dependent data such as instrument programming strings. The following
common commands and queries are implemented in the 2030 Series:
Mnemonic Name and Description
*IDN?
Identification Query. Returns an arbitrary ASCII response comprising
four data fields in the format:
<Manufacturer>,<type number>,<serial number>,<firmware version number><EOM>.
Example:
IFR,2031,123456789,2.001<EOM>
*OPT? Option Identification Query. Returns an arbitrary ASCII response
containing a data field for each fitted option in the format:
<option a>,<option d>, ... ,<option n><EOM>
Example:
SECOND OSCILLATOR,PULSE MODULATION,+19 dBm OUTPUT<EOM>
If no options are fitted, ASCII '0' is returned.
Note...
Because an Arbitrary ASCII Response ends with the Response Message Terminator
(<EOM>) either *IDN? or *OPT? must be the last Query Message Unit in a Program
Message.
*RST Reset Command. Sets the instrument functions to the factory default
power up state. The default settings appear in Table 3-2-1.
*TST? Self Test Query. Returns a '0' when the GPIB interface and processor are
operating.
*OPC Operation Complete Command. Sets the Operation Complete bit in the
Standard Event Status Register when execution of the preceding operation
is complete.
*OPC? Operation Complete Query. Returns a '1' when the preceding operation
has been completed.
*WAI Wait to Continue Command. Inhibits execution of an overlappe
command until the execution of the preceding operation has been
completed.
*TRG Trigger Command. Equivalent to Group Execute Trigger.
*PUD <block> Protected User Data Command. Sets the Protected User Data, accepts
Definite Block Data when enabled. This command is covered in furthe
detail in the Service Manual.
*PUD? Protected User Data Query. Returns the User Data as a Definite Bloc
Response.
Example:
#221Inventory Number 1234
*STB? Read Status Byte Query. Returns the value of the Status Byte as an nr1
number (0-255).