beautypg.com

3 ieee-488 interface commands, 1 ieee mandated commands, 1 *cls – BNC 7000 Series Programmer Manual User Manual

Page 12: 2 *ese

background image

12

3

IEEE-488 Interface Commands

3.1 IEEE Mandated Commands

The required common commands are IEEE-488.2 mandated commands that are defined in the IEEE-

488.2 standard and must be implemented by all SCPI compatible instruments. These commands are

identified by the asterisk (*) at the beginning of the command keyword. These commands are used to

control instrument status registers, status reporting, synchronization, and other common functions.

Commands declared mandatory by IEEE 488.2.

*CLS Clear Status Command

*ESE Standard Event Status Enable Command

*ESE? Standard Event Status Enable Query

*ESR? Standard Event Status Register Query

*IDN? Identification Query

*OPC Operation Complete Command

*OPC? Operation Complete Query

*RST Reset Command

*SRE Service Request Enable Command

*SRE? Service Request Enable Query

*STB? Read Status Byte Query

*TST? Self-Test Query

*WAI Wait-to-Continue Command

3.1.1

*CLS

The Clear Status (CLS) command clears the status byte by emptying the error queue and clearing all

the event registers including the Data Questionable Event Register, the Standard Event Status

Register, the Standard Operation Status Register and any other registers that are summarized in the

status byte.

3.1.2

*ESE

The Standard Event Status Enable (ESE) command sets the Standard Event Status Enable Register.

The variable represents the sum of the bits that will be enabled.

Range 0–255

Remarks The setting enabled by this command is not affected by instrument preset or *RST.

However, cycling the instrument power will reset this register to zero.

3.1.3

*ESE?

Berkeley Nucleonics Corporation 2955 Kerner Blvd., San Rafael, CA 94901

Phone: 415-453-9955, Fax: 415-453-9956, Email: [email protected], Web: www.berkeleynucleonics.com