Status Reporting Commands - Stanford Research Systems SR865A Operation Manual

4 mhz dsp lock-in amplifier
Table of Contents

Advertisement

148
Programming

Status Reporting Commands

CLS
The
cleared.
ESE(?) { j, } { i }
The
(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
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
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
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.
SR865A DSP Lock-in Amplifier
CLS
command clears all status registers. The status enable registers are NOT
i command sets the standard event enable register to the decimal value i
ESE
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
ESR?
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–
SRE i
SRE j, i
command sets bit j (0–7) to i (0 or 1). The
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
STB?
ESE?
ESE? j
ESR? j
command queries the value
SRE?
command queries
SRE? j
command queries the
STB? j
command queries the value
Chapter 4
command
command

Advertisement

Table of Contents
loading

Table of Contents