Common Commands; Cls; Ese; Esr - Agilent Technologies N3280A User Manual

Component test dc source
Table of Contents

Advertisement

Common Commands

*CLS

This command causes the following actions (see chapter 5 for the descriptions of all registers):
K Clears the Standard Event Status, Operation Status Event, and Questionable Status Event registers
K Clears the Status Byte and the Error Queue
K If *CLS immediately follows a program message terminator (<NL>), then the output queue and the
MAV bit are also cleared.
Command Syntax *CLS
Parameters None

*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 ORed 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.
Table 6-6. Bit Configuration of Standard Event Status Enable Register
Bit Position
7
Bit Name
PON
Bit Weight
128
PON = Power-on has occurred
CME = Command error
EXE = Execution error
Command Syntax *ESE <NRf>
Parameters 0 to 255
Power-On Value 0
Examples *ESE 129
Query Syntax *ESE?
Returned Parameters <NR1> (register value)
Related Commands *ESR?

*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).
Query Syntax *ESR?
Parameters None
Returned Parameters <NR1> (register binary value)
Related Commands *CLS
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
6
5
4
0
CME
EXE
64
32
16
*PSC
*ESE
*ESE?
Language Dictionary - 6
3
2
DDE
QUE
8
4
DDE = Device-dependent error
QUE = Query error
OPC = Operation complete
*STB?
*OPC
1
0
0
OPC
2
1
75

Advertisement

Table of Contents
loading

Table of Contents