Agilent Technologies N5700 Series User Manual page 75

System dc power supply
Hide thumbs Also See for N5700 Series:
Table of Contents

Advertisement

*ESE
*ESE?
*ESR?
*OPC
*OPC?
Series N5700 User's Guide
This command programs the Standard Event Status Enable register
bits. The programming determines which events of the Standard
Event Status Event register (see *ESR?) are allowed to set the ESB
(Event Summary Bit) of the Status Byte register. A "1" in the bit
position enables the corresponding event.
All of the enabled events of the Standard Event Status Event Register
are logically OR-ed to cause the Event Summary Bit (ESB) of the
Status Byte Register to be set. The query reads the Standard Event
The query reads the Standard Event Status Enable register. The bit
configuration of the Standard Event register is as follows:
Bit Position
7
6
Bit Value
128
Bit Name
PON
PON = Power-on has occurred
CME = Command error
EXE = Execution error
This query reads the Standard Event Status Event register. Reading
the register clears it. The bit configuration is the same as the
Standard Event Status Enable register (see *ESE).
This command causes the instrument to set the OPC bit (bit 0) of the
Standard Event Status register when the instrument has completed
all pending operations. Pending operations are complete when:
All commands sent before *OPC have been executed. This
includes overlapped commands. Most commands are sequential
and are completed before the next command is executed.
Commands that affect output voltage, current or state, relays,
and trigger actions are executed in parallel (or overlapped) with
subsequent commands sent to the power supply. The *OPC
command provides notification that all overlapped commands
have been completed.
All triggered actions are completed
*OPC does not prevent processing of subsequent commands, but bit 0
will not be set until all pending operations are completed.
*OPC? causes the instrument to place an ASCII "1" in the Output
Queue when all pending operations are completed. Unlike *OPC,
*OPC? prevents processing of all subsequent commands. It can be
used at the end of a command line so that the program can monitor
the bus for data until it receives the "1" from the Output Queue.
Language Reference 5
5
4
3
32
16
8
CME
EXE
DDE
DDE = Device-dependent error
QUE = Query error
OPC = Operation complete
2
1
0
4
1
QUE
OPC
75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents