Status Reporting - Stanford Research Systems SR810 Manual

Dsp lock-in amplifier
Table of Contents

Advertisement

STATUS REPORTING COMMANDS
The Status Byte definitions follow this section.
*CLS
*ESE (?) {i} {,j}
*ESR? {i}
*SRE (?) {i} {,j}
*STB? {i}
*PSC (?) {i}
ERRE (?) {i} {,j}
ERRS? {i}
LIAE (?) {i} {,j}
LIAS? {i}
The *CLS command clears all status registers. The status enable
registers are NOT cleared.
The *ESE i command sets the standard event enable register to the
decimal value i (0-255). The *ESE i,j command sets bit i (0-7) to j (0 or
1). The *ESE? command queries the value (0-255) of the status byte
enable register. The *ESE? i command queries the value (0 or 1) of bit i.
The *ESR? command queries the value of the standard event status
byte. The value is returned as a decimal number from 0 to 255. The
*ESR? i command queries the value (0 or 1) of bit i (0-7). Reading the
entire byte will clear it while reading bit i will clear just bit i.
The *SRE i command sets the serial poll enable
decimal value i (0-255). The *SRE i,j command sets bit i (0-7) to j (0 or
1).The *SRE? command queries the value (0-255) of the serial poll
enable register. The *SRE? i command queries the value (0 or 1) of bit i.
The *STB? command queries the value of the serial poll status byte.
The value is returned as a decimal number from 0 to 255. The *STB? i
command queries the value (0 or 1) of bit i (0-7). Reading this byte has
no effect on its value.
The *PSC command sets the value of the power-on status clear bit. If
i=1 the power-on status clear bit is set and all status registers and enable
registers are cleared on power up. If i=0 the bit is cleared and the status
enable registers maintain their values at power down. This allows a
service request to be generated at power up.
The ERRE i command sets the error status enable register to the
decimal value i (0-255). The ERRE i,j command sets bit i (0-7) to j (0 or
1). The ERRE? command queries the value (0-255) of the error status
enable register. The ERRE? i command queries the value (0 or 1) of bit i.
The ERRS? command queries the value of the error status byte. The
value is returned as a decimal number from 0 to 255. The ERRS? i
command queries the value (0 or 1) of bit i (0-7). Reading the entire byte
will clear it while reading bit i will clear just bit i.
The LIAE command sets the lock-in (LIA) status enable register to the
decimal value i (0-255). The LIAE i,j command sets bit i (0-7) to j (0 or 1).
The LIAE? command queries the value of the LIA status enable register.
The LIAE? i command queries the value (0 or 1) of bit i.
The LIAS? command queries the value of the lock-in (LIA) status
byte. The value is returned as a decimal number from 0 to 255. The
5-21
Remote Programming
register to the

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents