Language Dictionary - 6

Common Commands

*CLS

This command causes the following actions (see chapter 5 for the descriptions of all registers):

KClears the Standard Event Status, Operation Status Event, and Questionable Status Event registers

KClears the Status Byte and the Error Queue

KIf *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

 

6

5

4

3

2

 

1

0

Bit Name

 

PON

 

0

CME

EXE

DDE

QUE

 

0

OPC

Bit Weight

 

128

 

64

32

16

8

4

 

2

1

PON = Power-on

has occurred

 

 

 

 

DDE = Device-dependent error

 

CME = Command error

 

 

 

QUE = Query error

 

 

EXE = Execution error

 

 

 

OPC = Operation complete

 

 

 

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?

*PSC

*STB?

 

 

 

 

*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 *ESE *ESE? *OPC

75

Page 75
Image 75
Agilent Technologies N3280A manual Common Commands, Command Syntax *CLS Parameters None, Parameters Power-On Value Examples