Esr? event status register, Opc operation complete – Quantum Data 801GC User Manual

Page 197

Advertising
background image

6-71

*ESR?

Event Status Register

Definition:

The *ESR? query returns the current value of the
Event Status register. After this command is executed,
the Event Status register is cleared. This is the only
way of clearing any bit in the Event Status register
except by the *CLS command.

Query Syntax:

*ESR?

Returns:

<register value><NL>

<register value> is in integer NR1 form

Example:

*ESR?

Related Commands: *CLS *ESE

*OPC

Operation Complete

Definition:

The *OPC command will cause the 801G* to set the
OPC bit in the Event Status register when all opera-
tions have been completed. Since there are no over-
lapping commands, the *OPC command will set the
OPC bit immediately when executed.

The *OPC query will put a "1" in the output buffer
when all operations are complete.

Command Syntax:

*OPC

Example:

*OPC

Query Syntax:

*OPC?

Returns: 1<NL>

Example:

*OPC?

Advertising
This manual is related to the following products: