beautypg.com

Table 4-2: sesr bit functions -6 – Tektronix AFG3000 User Manual

Page 190

background image

Status and Events

4-6

AFG3000 Series Arbitrary/Function Generators Reference Manual

Standard Event Status Register (SESR). The SESR records eight types of events
that can occur within the instrument as shown in Figure 4-3.

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.

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.

PON

PON

CME

ME EXE

EXE DDE

DDE

QYE

QYE

O

PC

PC

7

6

5

4

3

2

1

0

7

6

5

4

3

2

1

0

URQ

URQ

RQC

RQC