IEEE 488.2 Standard Commands

 

Command

Data
(for a query, response data)

Explanation

*CLS

-

Clear the status byte and associated queues

*ESR?

A<NR1> = 0 to 255

Query and clear SESR

*IDN?

A$,B$,C$,D$

A$ = Manufacturer's name
B$ = Model name
C$ = Serial number
D$ = Software version

Query device ID.

*OPC

-

Set the LSB of SESR when finished processing

*OPC?

A<NR1>

Return an ASCII 1 when finished processing

*OPT?

A1,A2,A3,..,A11<NR1> = 0 to 14

Query device option provision

*RST

-

Initialize instrument settings

*STB?

A<NR1> = 0 to 255

Read the STB

*TST?

A<NR1> = 0, 1

Query the result of a memory check

*WAI

-

Execute the following command when finished processing

:ESR0?

A<NR1> = 0 to 255

Query ESR0