User manual

A-6 Return to Section Topics 3390-900-01 Rev. C / January 2009
Appendix A: SCPI Command Reference Model 3390 Arbitrary Waveform Generator User’s Manual
SCPI status model
The SCPI status model shows the structure of the various registers used by the Model 3390
(Figure A-1). These registers record conditions of the instrument and allow you to monitor and
manipulate events. The core of the model is the Status Byte Register.
Figure A-1:
Model 3390 status model
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
C
Questionable Data Register
EV EN
Voltage overload
Loop unlocked
Calibration error
External reference
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
< 1 >
< 2 >
< 4 >
< 8 >
< 16 >
< 32 >
< 64 >
< 128 >
< 256 >
< 512 >
< 1024 >
< 2048 >
< 4096 >
< 8192 >
< 16384 >
NOT USED
STAT:QUES:COND?
STAT:QUES:ENAB<value>
STAT:QUES:ENAB?
Logic
OR
STAT:QUES:EVEN?
EN
< 1 >
< 2 >
< 4 >
< 8 >
< 16 >
< 32 >
< 128 >
C
0
1
2
3
4
5
6
7
Error Queue
SYST:ERR?
*STB? *SRE<value>
*SRE?
Status Byte Register
RQS
C = Condition Register
EV = Event Register
EN = Enable Register
EN
< 1 >
< 2 >
< 4 >
< 8 >
< 16 >
< 32 >
< 128 >
EV
0
1
2
3
4
5
6
7
*ESR? *ESE<value>
*ESE?
Standard Event Register
< 64 >
Operation complete
Query error
Power on
Device error
Execution error
Command error
Output buffer
Logic
OR
Logic
OR