IEEE 488.2 Standard Commands


Clear the status byte and associated queues

8860, 8861


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


Because it does not clear the output queue, it has no effect on bit 4 (MAV) of the status byte.


Usage
Conditions


All functions




Set SESER

8860, 8861


Syntax


(Command)


*ESE A

A = 0 to 255


Details


Sets the mask pattern of the SESER (Standard event status enable register) to a value from 0 to 255.
Values outside of this range cause an execution error.


Example


*ESE 36
(Bit 5 and bit 2 of the SESER are set.)


Note


The initial (power-on) value is 0.


Usage
Conditions


All functions




Query SESER

8860, 8861


Syntax


(Query)


*ESE?

A<NR1>
A = 0 to 255


Details


The contents of the SESER (Standard event status enable register) as set by the *ESE command are returned as an integer from 0 to 255.


Example


*ESE 36
*ESE?
(Response)  *ESE 36  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Query and clear SESR

8860, 8861


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


-


Usage
Conditions


All functions




Query device ID

8860, 8861


Syntax


(Query)


*IDN?

(Response)

HIOKI,8860,0,V1.00
(1),(2),(3),(4)


Details


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


Example


*IDN?

(Response)  *IDN HIOKI,8860,0,V1.00  (from Model 8860, with headers enabled)
(Response)  *IDN HIOKI,8861,0,V1.00  (from Model 8861, with headers enabled)


Note


-


Usage
Conditions


All functions




Set the LSB of SESR when finished processing

8860, 8861


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

8860, 8861


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

8860, 8861


Syntax


(Query)


*OPT?

(Response)

A1,A2,A3,A4<NR1>     (8860)  A = 0 to 14
A1,A2,A3,...A8<NR1>   (8861)  A = 0 to 14

 0:   not present
 1:   8936  Analog module
 2:   8937  Voltage/temperature module
 3:   8939  Strain module
 4:   8938  FFT module
 5:   8940  F/V module
 6:   8947  Charge module
 7:   8946  4-channel module
 8:   8956  High speed module
 9:   8957  High resolution module
10:  8958  Scanner module
11:  8959  DC/RMS module
12:  8960  DC strain module
13:  (reserved)
14:  (reserved)
15:  8961  High Voltage module


Details


Returned NR1 numerical values indicate which input modules are present.


Example


*OPT?
(Response)  *OPT 1,2,3,4  (from Model 8860, with headers enabled)


Note


-


Usage
Conditions


All functions




Initialize instrument settings

8860, 8861


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




Set SRER

8860, 8861


Syntax


(Command)


*SRE A

A = 0 to 255


Details


Writes the service request enable register (SRER).
Sets the mask pattern of the SRER to a value from 0 to 255.
Values outside of this range cause an execution error.


Example


*SRE 33
(Bits 5 and 0 of the SRER are set.)


Note


Bit 6 is ignored.


Usage
Conditions


All functions




Query SRER

8860, 8861


Syntax


(Query)


*SRE?

(Response)

A<NR1>
A = 0 to 63, 128 to 191


Details


Reads the service request enable register (SRER).
The contents of
the SRER as set by the *SRE command are returned as an NR1 numerical value from 0 to 63 or 128 to 191.


Example


*SRE 33
*SRE?
(Response)  *SRE 33  (when headers are enabled)


Note


Bit 6 is always 0.


Usage
Conditions


All functions




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

8860, 8861


Syntax


(Query)


*STB?

(Response)

A<NR1>
A = 0 to 255


Details


Reads the status byte and the MSS bit, without performing serial polling.
This is the same as reading the status byte with serial polling.


Example


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


Note


Bit 6 is not RQS, but is MSS.


Usage
Conditions


All functions




Query the result of a ROM/RAM check

8860, 8861


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

8860, 8861


Syntax


(Command)


*WAI


Details


Inhibits execution of subsequent commands until previous commands finish executing.


Example


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


Note


-


Usage
Conditions


All functions




Set ESER0

8860, 8861


Syntax


(Command)


:ESE0 A

A = 0 to 255


Details


Writes the event status enable register 0 (ESER0).
Sets the mask pattern of the ESER0 to a value from 0 to 255.
Values outside of this range cause an execution error.


Example


:ESE0 255
(Sets all bits of ESER0.)


Note


The initial (power-on) value is 0.


Usage
Conditions


All functions




Query ESER0

8860, 8861


Syntax


(Query)


:ESE0?

(Response)

A<NR1>
A = 0 to 255


Details


Reads the event status enable register 0 (ESER0).
The contents of the ESER0 are returned as an NR1 numerical value.


Example


:ESE0 255
:ESE0?
(Response)  :ESE0 255  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Query ESR0

8860, 8861


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


-


Usage
Conditions


All functions