IEEE 488.2 Standard Commands

 

Command

Data
(for a query, response data)

Explanation

*CLS

-

Clear the status byte and associated queues

*ESE A

A:0 to 255

Set SESER

*ESE?

A<NR1>

Query SESER

*ESR?

A<NR1>

Query and clear SESR

*IDN?

Manufacture's name,Model name,Serial number,Software version

Query device ID

*OPC

-

Set the LSB of SESR when finished processing

*OPC?

A<NR1>:1

Return an ASCII 1 when finished processing

*OPT?

A1,A2,A3...<NR1>:0 to 15

Query device option provision

*RST

-

Initialize instrument settings

*STB?

A<NR1>

Read the STB and the MSS bit, without performing serial polling

*TST?

A<NR1>:0, 1

Query the result of a ROM/RAM check

*WAI

-

Execute the following command when finished processing

:ESE0 A

A:0 to 255

Set ESER0

:ESE0?

A<NR1>

Query ESER0

:ESR0?

A<NR1>

Query ESR0