Chapter 4
Programming
149
SR860 DSP Lock-in Amplifier
Example
*
STB?
Returns the decimal value of the serial poll status byte
*
STB? 3
Returns bit 3 of the standard event status byte
*
PSC(?) { i }
The
*
PSC i
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.
*
PSC?
queries
the value of the power-on status clear bit.
Example
*
PSC 1
Set the power-on status clear bit
*
PSC?
Returns power-on status clear bit
ERRE(?) { j, } { i }
The
ERRE i
command sets the
error status enable register
to the decimal value i (0–
255). The
ERRE j, i
command sets bit j (0–7) to i (0 or 1). The
ERRE?
command queries
the value (0–255) of the error status enable register. The
ERRE? j
command queries the
value (0 or 1) of bit j.
Example
ERRE 48
Set bits 4 and 5 in the error status enable register
ERRE 4, 1
Set bit 4 in the error status enable register
ERRE?
Returns decimal value of the error status enable register
ERRE? 4
Returns bit 4 of the error status enable register
ERRS? { j }
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? j
command queries the value (0 or 1) of
bit j (0–7). Reading the entire byte will clear it while reading bit j will clear just bit j.
Example
ERRS?
Returns decimal value of the error status byte
ERRS? 4
Returns bit 4 of the error status byte
LIAE(?) { j, } { i }
The
LIAE i
command sets the
lock-in (LIA) status enable register
to the decimal
value i (0–4095). The
LIAE j, i
command sets bit j (0–11) to i (0 or 1). The
LIAE?
command queries the value of the LIA status enable register. The
LIAE? j
command
queries the value (0 or 1) of bit j.
Example
LIAE 257
Set bits 1 and 8 in the lock-in status enable register
LIAE 8, 1
Set bit 8 in the lock-in status enable register
LIAE?
Returns decimal value of the lock-in status enable register
LIAE? 8
Returns bit 8 of the lock-in status enable register
Summary of Contents for SR860
Page 1: ...Revision 2 01 Operation Manual SR860 500 kHz DSP Lock in Amplifier ...
Page 5: ...Safety and Preparation For Use iii SR860 DSP Lock in Amplifier ...
Page 6: ...iv Safety and Preparation For Use SR860 DSP Lock in Amplifier ...
Page 54: ...36 Getting Started Chapter 1 SR860 DSP Lock in Amplifier ...
Page 118: ......
Page 172: ......
Page 186: ...168 The FFT Display Appendix B SR860 DSP Lock in Amplifier ...
Page 192: ......