Stanford Research Systems SR865A Operation Manual page 167

4 mhz dsp lock-in amplifier
Table of Contents

Advertisement

Chapter 4
Example
STB?
STB? 3
PSC(?) { i }
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 value of the power-on status clear bit.
Example
PSC 1
PSC?
ERRE(?) { j, } { i }
The
ERRE i
255). The
the value (0–255) of the error status enable register. The
value (0 or 1) of bit j.
Example
ERRE 48
ERRE 4, 1
ERRE?
ERRE? 4
ERRS? { j }
The
ERRS?
as a decimal number from 0 to 255. The
bit j (0–7). Reading the entire byte will clear it while reading bit j will clear just bit j.
Example
ERRS?
ERRS? 4
LIAE(?) { j, } { i }
The
LIAE i
value i (0–4095). The
command queries the value of the LIA status enable register. The
queries the value (0 or 1) of bit j.
Example
LIAE 257
LIAE 8, 1
LIAE?
LIAE? 8
Returns the decimal value of the serial poll status byte
Returns bit 3 of the standard event status byte
command sets the value of the power-on status clear bit. If i=1 the
PSC i
Set the power-on status clear bit
Returns power-on status clear bit
command sets the error status enable register to the decimal value i (0–
ERRE j, i
command sets bit j (0–7) to i (0 or 1). The
Set bits 4 and 5 in the error status enable register
Set bit 4 in the error status enable register
Returns decimal value of the error status enable register
Returns bit 4 of the error status enable register
command queries the value of the error status byte. The value is returned
Returns decimal value of the error status byte
Returns bit 4 of the error status byte
command sets the lock-in (LIA) status enable register to the decimal
LIAE j, i
Set bits 1 and 8 in the lock-in status enable register
Set bit 8 in the lock-in status enable register
Returns decimal value of the lock-in status enable register
Returns bit 8 of the lock-in status enable register
ERRS? j
command queries the value (0 or 1) of
command sets bit j (0–11) to i (0 or 1). The
Programming
PSC?
ERRE?
command queries
command queries the
ERRE? j
LIAE?
command
LIAE? j
SR865A DSP Lock-in Amplifier
149
queries

Advertisement

Table of Contents
loading

Table of Contents