Status Reporting Commands - Stanford Research Systems SR860 Operation Manual

Dsp lock-in amplifier
Table of Contents

Advertisement

148
Programming

Status Reporting Commands

*CLS
The *
CLS
cleared.
*ESE(?) { j, } { i }
The *
ESE
(0–255). The *
queries the value (0–255) of the standard event enable register. The *
queries the value (0 or 1) of bit j.
Example
*ESE 17
*ESE 4, 1
*ESE?
*ESE? 4
*ESR? { j }
The *
ESR?
is returned as a decimal number from 0 to 255. The *
(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
*ESR?
*ESR? 4
*SRE(?) { j, } { i }
The *
SRE i
255). The *
the value (0–255) of the serial poll enable register. The *
value (0 or 1) of bit j.
Example
*SRE 12
*SRE 3, 1
*SRE?
*SRE? 3
*STB? { j }
The *
STB?
returned as a decimal number from 0 to 255. The *
(0 or 1) of bit j (0–7). Reading this byte has no effect on its value.
SR860 DSP Lock-in Amplifier
command clears all status registers. The status enable registers are NOT
i command sets the standard event enable register to the decimal value i
command sets bit j (0–7) to i (0 or 1). The *
ESE j, i
Set bits 0 and 4 in the standard event enable register
Set bit 4 in the standard event enable register
Returns decimal value of the standard event enable register
Returns bit 4 of the standard event enable register
command queries the value of the standard event status byte. The value
Returns decimal value of the standard event status byte
Returns bit 4 of the standard event status byte
command sets the serial poll enable register to the decimal value i (0–
command sets bit j (0–7) to i (0 or 1). The *
SRE j, i
Set bits 0 and 3 in the serial poll enable register
Set bit 3 in the serial poll enable register
Returns decimal value of the serial poll enable register
Returns bit 3 of the serial poll enable register
command queries the value of the serial poll status byte. The value is
ESE?
command
ESE? j
command queries the value
ESR? j
SRE?
command queries
SRE? j
command queries the
command queries the value
STB? j
Chapter 4
command

Advertisement

Table of Contents
loading

Table of Contents