IEEE 488.2 Standard Commands


Clear the status byte and associated queues.


Syntax


(Command)


*CLS


Details


This command clears the event register associated with each bit of the status byte register.
It also clears the status byte register.


Example


*CLS


Note


-


Usage
Conditions


All functions




Query and clear SESR.


Syntax


(Query)


*ESR?

(Response)

A<NR1>
A = 0 to 255


Details


Reads and clears the contents of the standard event status register (SESR).
The contents of the SESR are returned as an NR1 numerical value.


Example


*ESR?


Note


The main unit will not be able to operate if ESR? is send continuously.
When sending ESR? continuously, the wait time must be send together.


Usage
Conditions


All functions




Query device ID.


Syntax


(Query)


*IDN?

(Response)

HIOKI,MR8880,123456789,V1.00
(1), (2), (3), (4)


Details


1 (first field): Manufacturer's name
2 (second field): Model name
3 (third field): Serial number
4 (fourth field): Software version


Example


*IDN?

(Response)  *IDN HIOKI,MR8880,123456789,V1.00  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Set the LSB of SESR when finished processing.


Syntax


(Command)


*OPC


Details


Sets the LSB (bit 0) of SESR (the standard event status register) after all commands finish executing.


Example


:START;:STOP;*OPC


Note


-


Usage
Conditions


All functions




Return an ASCII 1 when finished processing.


Syntax


(Query)


*OPC?

(Response)

A<NR1>
A = 1


Details


ASCII code 1 is returned when execution of the command preceding the *OPC command finishes.


Example


:START;:STOP;*OPC?
(Response)  *OPC 1  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Query device option provision.


Syntax


(Query)


*OPT?

(Response)

A1<NR1>
A<NR1>:whether Printer Unit is attached or not
0 = Not attached, 1 = Attached


Details


Returns whether or not Printer Unit is attached as an NR1 numerical value.


Example


*OPT?
(Response)  *OPT 1  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Initialize instrument settings.


Syntax


(Command)


*RST


Details


Initializes the instrument (same as System Reset).
This command does not initialize communication settings.


Example


*RST


Note


-


Usage
Conditions


All functions




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


Syntax


(Query)


*STB?

(Response)

A<NR1>
A = 0 to 255


Details


Reads the status byte.


Example


*STB?
(Response)  *STB? 32  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Query the result of a ROM/RAM check.


Syntax


(Query)


*TST?

(Response)

A<NR1>
A = 0: normal, 1: failure


Details


The result of the instrument's internal ROM/RAM check is returned as an NR1 numerical value.


Example


*TST?
(Response)  *TST 0  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Execute the following command when finished processing.


Syntax


(Command)


*WAI


Details


Inhibits execution of subsequent commands until previous commands finish executing.


Example


:START;:STOP;*WAI;*IDN?


Note


-


Usage
Conditions


All functions




Query ESR0.


Syntax


(Query)


:ESR0?

(Response)

A<NR1>
A = 0 to 255


Details


Reads the event status register 0 (ESR0).
The contents of the ESR0 are returned as an NR1 numerical value, and ESR0 is cleared.


Example


:ESR0?
(Response)  :ESR0 0  (when headers are enabled)


Note


The main unit will not be able to operate if ES0? is send continuously.
When sending ES0? continuously, the wait time must be send together.


Usage
Conditions


All functions