Download [SOURce[1|2]]

Transcript
Status and Events
Standard Event Status Register (SESR). The SESR records eight types of events
that can occur within the instrument as shown in Figure 4-3.
7
6
5
4
3
2
1
0
PON URQ CME
ME EXE DDE QYE RQC O PC
Figure 4-3: The Standard Event Status Register (SESR)
Table 4-2: SESR bit functions
Bit
Function
7 (MSB)
PON
Power On. Indicates that the power to the instrument is on.
6
URQ
User Request. Indicates that an application event has occurred. The
arbitrary/function generator does not use this bit.
5
CME
Command Error. Indicates that an error occurred while the
arbitrary/function generator was parsing a command or query.
4
EXE
Execution Error. Indicates that an error occurred while the
arbitrary/function generator was executing a command or query.
Execution errors occur for one of the following reasons:
„ A value designated in the argument is outside the allowable
range of the instrument, or is in conflict with the capabilities of the
instrument.
„ The command was not executed properly because the conditions
for execution is differed from those required.
3
DDE
Device Error. An instrument error has been detected.
2
QYE
Query Error. Indicates that a query error has been detected by the
output queue controller. Query errors occur for one of the following
reasons:
„ An attempt was made to retrieve messages from the output
queue when the output queue is empty or in pending status.
„ The output queue message was cleared while it was being
retrieved from the output queue.
4-6
1
RQC
Request Control. The arbitrary/function generator does not use this
bit.
0
OPC
Operation Complete. Indicates that the operation is complete. This bit
is set when all pending operations complete following the *OPC
command.
AFG3000 Series Arbitrary/Function Generators Reference Manual