54
3 Remote Operation
3.4.8 Status Commands
Clear Status
*CLS
Immediately clear all event status registers and the error queue.
»
*CLS
Example:
Last Error
LERR?
Query the last recorded error from the 32‑element error queue. Errors
are read out in a last‑in‑first‑out manner. A response of 0 indicates no
errors have occurred since the last
LERR?
query (or the last
operation or
*CLS
command). See Section 3.6 for a list of possible error
codes and their meanings.
»
LERR?
Example:
25
Status Byte
*STB? [
i
]
Query the Status Byte register, or individual bit [i]. If no bit parameter
is included, the response is the binary‑weighted sum of all set bits in the
Status Byte register.
Bits in the Status Byte are updated in real time and bits are not cleared
when read. Power cycling or
will clear the Status Byte.
See also Section 3.5 on the Status Model.
»
*STB?
Example:
32
SR542 Precision Optical Chopper