IEEE 488.2 Standard Commands

 

Command

Data
(for a query, response data)

Explanation

Function

*CLS

Clear the status byte and associated queues

ALL

*ESE A

A:0 to 255

Set SESER

ALL

*ESE?

A<NR1>:0 to 255

Query SESER

ALL

*ESR?

A<NR1>:0 to 255

Query and clear SESR

ALL

*IDN?

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

Query device ID

ALL

*OPC

Set the LSB of SESR when finished processing

ALL

*OPC?

A<NR1>:1

Return an ASCII 1 when finished processing

ALL

*OPT?

A1,A2,A3...<NR1>

Query device option provision

ALL

*RST

Initialize instrument settings

ALL

*STB?

A<NR1>:0 to 255

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

ALL

*TST?

A<NR1>:0, 1

Query the result of a ROM/RAM check

ALL

*WAI

Execute the following command when finished processing

ALL

:ESE0 A

A:0 to 255

Set ESER0

ALL

:ESE0?

A<NR1>:0 to 255

Query ESER0

ALL

:ESR0?

A<NR1>:0 to 255

Query ESR0

ALL