Agilent Technologies 5748A, 5752A, 5744A, 5743A, 5741A, 5746A, 5751A, 5742A Bit Position Bit Value, 128

Models: 5751A 5744A 5743A 5750A 5749A 5752A 5747A 5742A 5748A 5741A 5745A 5746A

1 132
Download 132 pages 2.14 Kb
Page 75
Image 75

Language Reference 5

*ESE

*ESE?

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

5

4

3

2

1

0

Bit Value

128

32

16

8

4

1

Bit Name

PON

CME

EXE

DDE

QUE

OPC

PON = Power-on has occurred

 

DDE = Device-dependent error

 

CME = Command error

 

 

QUE = Query error

 

 

 

EXE = Execution error

 

 

OPC = Operation complete

 

 

*ESR?

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).

*OPC

*OPC?

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.

Series N5700 User’s Guide

75

Page 75
Image 75
Agilent Technologies 5748A, 5752A, 5744A, 5743A, 5741A, 5746A, 5751A, 5742A, 5745A, 5747A, 5749A, 5750A Bit Position Bit Value, 128