Status Reporting Commands - Stanford Research Systems SR844 User Manual

Rf lock-in amplifier
Table of Contents

Advertisement

4-30 Status Reporting

Status Reporting Commands

The Status Registers are defined in the following section.
*CLS
*STB?[i]
*SRE(?)[i,]{j}
*ESR?[i]
*ESE(?)[i,]{j}
*PSC(?){i}
ERRS?[i]
ERRE(?)[i,]{j}
LIAS?[i]
LIAE(?)[i,]{j}
SR844 RF Lock-In Amplifier
The *CLS command clears all status registers. The status enable registers are not
cleared.
The *STB? command queries the value of the Serial Poll Status register. The
value is returned as a decimal number from 0 – 255. The *STB?i command
queries the value (0 or 1) of bit i (0–7). Reading this register has no effect on its
value. This command cannot be used to read status bit 1 (command execution in
progress). Use serial poll to determine command execution status.
The *SREj command sets the Serial Poll Enable register to the decimal value j
(0–255). The *SREi,j command set 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 *ESR? command queries the value of the Standard Event Status register.
The value is returned as a decimal number from 0 – 255. The *ESR?i command
queries the value (0 or 1) of bit i (0–7). Reading the entire register will clear it,
while reading bit i will only clear bit i.
The *ESEj command sets the Standard Event Enable register to the decimal
value j (0–255). The *ESEi,j command sets bit i (0–7) to j (0 or 1). The
*ESE? command queries the value (0–255) of the Standard Event Enable
register. The *ESE?i command queries the value (0 or 1) of bit i.
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-on. If i=0, the bit is cleared and the status enable registers
maintain their values at power-off. This allows a service request to be generated
at power-on.
The ERRS? command queries the value of the Error Status register. The value is
returned as a decimal number from 0 – 255. The ERRS?i command queries the
value (0 or 1) of bit i (0–7). Reading the entire register will clear it, while
reading bit i will only clear bit i.
The ERREj command sets the Error Status Enable register to the decimal value j
(0–255). The ERREi,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 LIAS? command queries the value of the Lock-In (LIA) Status register. The
value is returned as a decimal number (0 – 65535). The LIAS?i command
queries the value (0 or 1) of bit i (0–15). Reading the entire register will clear it,
while reading bit i will only clear bit i.
The LIAEj command sets the Lock-In (LIA) Status Enable register to the
decimal value j (0–65535). The LIAEi,j command sets bit i (0–15) to j (0 or
1). The LIAE? command queries the value (0–65535) of the LIA Status Enable
register. The LIAE?i command queries the value (0 or 1) of bit i.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents