30
8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide
1
Introduction to Programming
• All other bits are unused, and therefore set to 0.
Status Command Summary
Other Commands
*STB?
returns status byte, value 0 .. +255
*ESE
sets the standard event status enable mask, parameter 0 .. +255
*ESE?
returns SESE, value 0 .. +255
*ESR?
returns the standard event status register, value 0 .. +255
*OPC
parses all program message units in the message queue, and prevents the instrument from
executing any further commands until all pending commands are completed.
*OPC?
returns 1 if all operations (scan trace printout, measurement) are completed. Otherwise it
returns 0.
*CLS
clears the status byte and SESR, and removes any entries from the error queue.
*RST
clears the error queue, loads the default setting, and restarts communication.
NOTE:
*RST does NOT touch the STB or SESR. A running measurement is stopped.
*TST?
initiates an instrument selftest and returns the results as a 32 bit LONG.
*OPT?
returns the installed modules and the slots these modules are installed in:
For example, *OPT?
->
81682A, 81533B, 81532A, ,
Modules 81682A, 81533B, and 81532A are installed in slots 0 to 2 respectively. Slots 3 and 4
are empty.
*WAI
prevents the instrument from executing any further commands until the current command has
finished executing. All pending operations are completed during the wait period.
*IDN?
identifies the instrument; returns the manufacturer, instrument model number, serial number,
and firmware revision level.