Introduction to Programming
*STB? returns status byte, value 0 .. +255
*ESE
*ESE? returns SESE, value 0 .. +255
*ESR? returns the standard event status register, value 0 .. +255
*OPC
*OPC? returns 1 if all operations (scan trace printout, measurement) are com-
*CLS
*RST
*TST? initiates an instrument selftest and returns the results as a 32 bit LONG.
30
Operation Slot Status Register
• Bit 0 is set if the laser is switched on.
• Bit 1 is set if the Coherence Control is switched on.
• Bit 3 is set if Power Meter zeroing or Tunable Laser module lambda zeroing is
ongoing.
• All other bits are unused, and therefore set to 0.
Questionable Slot Status Register
• Bit 0 is set if excessive power is set by the user for any source module or if
excessive averaging time is set for any Power Meter.
• Bit 1 is set if the last Power Meter zeroing or Tunable Laser module lambda
zeroing failed.
• Bit 2 is set if temperature is out of range.
• Bit 3 is set if laser protection is switched on.
• Bit 4 is set if the module has not settled.
• Bit 5 is set if the module is out of specifications.
• Bit 6 is set if ARA is recommended.
• Bit 7 is set if the duty cycle is out of range.
• All other bits are unused, and therefore set to 0.
Status Command Summary
sets the standard event status enable mask, parameter 0 .. +255
parses all program message units in the message queue.
pleted. Otherwise it returns 0.
clears the status byte and SESR, and removes any entries from the error
queue.
clears the error queue, loads the default setting, and restarts communi-
cation.
NOTE: *RST does NOT touch the STB or SESR. A running measure-
ment is stopped.
HP 8163A Lightwave Multimeter, HP 8164A Lightwave Measurement System,
& HP 8166A Lightwave Multichannel System User's Guide, E1299
The Status Model