Agilent Technologies 8164A Manual De Usuario
Introduction to Programming
The Status Model
40
Agilent 8163A/B, 8164A/B & 8166A/B Mainframes, Fifth Edition
Status Command Summary
*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.
the instrument from executing any further commands until all pending
commands are completed.
*OPC?
returns 1 if all operations (scan trace printout, measurement) are com
pleted. Otherwise it returns 0.
pleted. Otherwise it returns 0.
*CLS
clears the status byte and SESR, and removes any entries from the er
ror queue.
ror queue.
*RST
clears the error queue, loads the default setting, and restarts communi
cation.
NOTE: *RST does NOT touch the STB or SESR. A running measurement
is stopped.
cation.
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.
LONG.