Specifications

STATus Commands
Parameter Typical Return
A decimal value that corresponds to the binary-
weighted sum of the bits in the register.
<bit value>
Enable bit 3 and 4 in the enable register: *ESE 24
l Any or all conditions can be reported to the ESB bit through the enable register. To set the enable register mask,
write a decimal value to the register using *ESE.
l *CLS does not clear the enable register, but does clear the event register.
l The value returned is the binary-weighted sum of all bits set in the register.
*ESR?
Event Status Event Query. Queries the event register for the Standard Event Status group. The event register is a
read-only register, which stores (latches) all standard events. Refer to Status Tutorial for more information.
Parameter Typical Return
(none) <bit value>
Read event status enable register: *ESR?
l Any or all conditions can be reported to the ESB bit through the enable register. To set the enable register mask,
write a decimal value to the register using *ESE.
l Once a bit is set, it remains set until cleared by this query or *CLS.
l The value returned is the binary-weighted sum of all bits set in the register.
*OPC
Sets the OPC (operation complete) bit in the Standard Event register. This occurs at the completion of the current oper-
ation. Refer to Status Tutorial for more information.
Parameter Typical Return
(none) (none)
Set the Operation Complete bit: *OPC
l The purpose of this command is to synchronize your application with the instrument.
l Used in conjunction with initiated acquisitions, initiated transients, output state changes, and output to settling
time to provide a way to poll or interrupt the computer when these pending operations complete.
l Other commands may be executed before the operation complete bit is set.
l The difference between *OPC and *OPC? is that *OPC? returns "1" to the output buffer when the current oper-
ation completes.
Agilent N8900 Series Operating and Service Guide 91