Status Byte Definitions - Stanford Research Systems SR850 User Manual

Dsp lock-in amplifier
Table of Contents

Advertisement

SR850 DSP Lock-In Amplifier
INTERFACE
*RST
*IDN?
LOCL(?) {i}
OVRM (?) {i}
TRIG
STATUS
*CLS
*ESE (?) {i} {,j}
*ESR? {i}
*SRE (?) {i} {,j}
*STB? {i}
*PSC (?) {i}
ERRE (?) {i} {,j}
ERRS? {i}
LIAE (?) {i} {,j}
LIAS? {i}

STATUS BYTE DEFINITIONS

SERIAL POLL STATUS BYTE
bit
name
usage
0
SCN
No data is being acquired
1
IFC
No command execution in progress
2
ERR
Unmasked bit in error status byte set
3
LIA
Unmasked bit in LIA status byte set
4
MAV
The interface output buffer is non-empty
5
ESB
Unmasked bit in standard status byte set
6
SRQ
SRQ (service request) has occurred
7
Unused
STANDARD EVENT STATUS BYTE
bit
name
usage
0
INP
Set on input queue overflow
1
Unused
2
QRY
Set on output queue overflow
3
Unused
4
EXE
Set when command execution error occurs
5
CMD
Set when an illegal command is received
6
URQ
Set by any key press or knob rotation
7
PON
Set by power-on
page description
6-26
Reset the unit to its default configurations.
6-26
Read the SR850 device identification string.
6-26
Set (Query) the Local/Remote state to LOCAL (0), REMOTE (1), or LOCAL LOCKOUT (2).
6-26
Set (Query) the GPIB Overide Remote state to Off (0) or On (1).
6-26
Software trigger command. Same as trigger input.
page description
6-27
Clear all status bytes.
6-27
Set (Query) the Standard Event Status Byte Enable Register to the decimal value i (0-255).
*ESE i,j sets bit i (0-7) to j (0 or 1). *ESE? queries the byte. *ESE?i queries only bit i.
6-27
Query the Standard Event Status Byte. If i is included, only bit i is queried.
6-27
Set (Query) the Serial Poll Enable Register to the decimal value i (0-255). *SRE i,j sets bit i (0-
7) to j (0 or 1). *SRE? queries the byte, *SRE?i queries only bit i.
6-27
Query the Serial Poll Status Byte. If i is included, only bit i is queried.
6-27
Set (Query) the Power On Status Clear bit to Set (1) or Clear (0).
6-27
Set (Query) the Error Status Enable Register to the decimal value i (0-255). ERRE i,j sets bit i
(0-7) to j (0 or 1). ERRE? queries the byte, ERRE?i queries only bit i.
6-27
Query the Error Status Byte. If i is included, only bit i is queried.
6-27
Set (Query) the LIA Status Enable Register to the decimal value i (0-255). LIAE i,j sets
bit i (0-7) to j (0 or 1). LIAE? queries the byte, LIAE?i queries only bit i.
6-27
Query the LIA Status Byte. If i is included, only bit i is queried.
(6-28)
(6-29)
LIA STATUS BYTE (6-29)
bit
name
usage
0
RESRV
Set when a RESRV overload is detected
1
FILTR
Set when a FILTR overload is detected
2
OUTPT
Set when a OUTPT overload is detected
3
UNLK
Set when reference unlock is detected
4
RANGE
Set when detection freq crosses 200 Hz
5
TC
Set when time constant is changed
6
TRIG
Set when unit is triggered
7
PLOT
Set when a plot is completed
ERROR STATUS BYTE (6-30)
bit
name
usage
0
Prn/Plt Err
Set when an printing or plotting error occurs
1
Backup Error Set when battery backup fails
2
RAM Error
Set when RAM Memory test finds an error
3
Disk Error
Set when a disk error occurs
4
ROM Error
Set when ROM Memory test finds an error
5
GPIB Error
Set when GPIB binary data transfer aborts
6
DSP Error
Set when DSP test finds an error
7
Math Error
Set when an internal math error occurs
1-10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents