Martel Electronics 3001 User Manual

Page 59

Advertising
background image

*ESR?

IEEE-488

RS-232

Sequential

Overlapped

Event Status Register query. This command returns the contents of the Event Status
Register (ESR) and clears the register. See the Event Status Register (ESR) description in
section 9.7.

Parameter:

<None>

Response:

<value>
where <value> is the decimal equivalent of the ESR byte, 0 to 255

Example:

*ESR?

61

This example returns decimal 61 (binary 00111101) which indicates
that bits 5 (CME), 4 (EXE), 3 (DDE), 2 (QYE) and 0 (OPC) are enabled.

FAULT?

IEEE-488

RS-232

Sequential

Overlapped

This command returns the most recent error code from the error queue. If the queue is
empty (no errors have occurred) it returns 0. The command is normally used to verify
that the previous command did what it was intended to do.

Parameter:

<None>

Response:

<value>
where <value> is one of the error codes documented in section 10.3.

Example:

FAULT?

105

This example shows the error code which would occur if the previous
command attempted to set a value above 100 mA for current output.
The error code 105 indicates that the value was above the upper limit
for the selected output range.

X

X

X

X

X

X

55

Advertising