16
Wait for Pending Commands to Finish
Syntax
Command
*WAI
Description
The instrument waits until all prior commands finish before executing any subsequent
commands.
Example
:TRIGger EXTernal
*TRG;*WAI;MEASure?
Reads the measurement value after waiting for the measurement triggered by the
*TRG
command to finish.
Note
The
*WAI
command is accepted, as it is a mandatory command under IEEE Standard
488.2-1987. However, since all the device-specific commands implemented in this
instrument, except the
*TRG
are sequential, the
*WAI
command has no effect even if
used.
(4) Status and Event Control Commands
Clear Event Register, Status Byte Register (Except Output Queue)
Syntax
Command
*CLS
Description
Clears the event status registers. The Status Byte Register bits corresponding to the
event status registers are also cleared. (
STB, SESR
,
DESR
)
Note
The output queue is unaffected.
Set and Query Standard Event Status Enable Register (SESER)
Syntax
Command
*ESE
<0 to 255(NR1)>
Query
*ESE?
Response
<0 to 255(NR1)>
Description
Command
The SESER mask is set to the numerical value 0 to 255. The initial value (at
power-on) is 0.
Query
The contents of the SESER, as set by the
*ESE
command, are returned as
an NR1 value (0 to 255).
128
64
32
16
8
4
2
1
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
PON
Unused
CME
EXE
Unused
Unused
Unused
OPC
Example
*ESE 32
Sets bit 5 of SESER.
Query and Clear Standard Event Status Register (SESR)
Syntax
Query
*
ESR?
Response
<0 to 255 (NR1)>
Description
Returns the contents of the SESR as an NR1 value from 0 to 255, then clears register
contents.
The response message has no header.
128
64
32
16
8
4
2
1
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
PON Unused CME
EXE Unused Unused Unused OPC
Example
*ESR?
32
Bit 5 of the SESR has been set to 1.
Summary of Contents for Super megohm SM7110
Page 51: ......