6-35
IM WT310E-17EN
Commands
1
2
3
4
5
6
7
8
9
App
Index
*OPC?
Function
Returns ASCII code 1 if the specified overlap
command has finished.
Syntax
*OPC?
Example
*OPC? -> 1
Description This instrument does not have overlap
commands. 1 is always returned.
*OPT?
Function
Queries the
installed options.
Syntax
*OPT?
Example
*OPT? -> C1,C7,EX1,G5,DA4
Description • This command returns whether the GP-IB (C1),
RS-232 (C2), Ethernet communication (C7),
external current sensor input (EX1, 2.5 V/5
V/10 V), external current sensor input (EX2,
50 mV/100 mV/200 mV/500 mV/1 V/2 V),
harmonic measurement (G5), 4-channel D/A
output (DA4, for the WT310E and WT310EH),
and 12-channel D/A output (DA12, for the
WT332E and WT333E) are available.
• The *OPT? query must be the last query of a
program message.
An error occurs if there is a query after the
*OPT query.
*RST
Function
Initializes the settings.
Syntax
*RST
Example
*RST
Description All settings except communication settings are
reset to their factory default values. For details
on initialization, see section 8.2 in the User’s
Manual, IM WT310E-01EN.
*SRE
Function
Sets or queries the
service request enable
register value.
Syntax
*SRE {<NRf>}
*SRE?
<NRf>
=
0
to
255
Example
*SRE 239
*SRE?
-> 175
(because the bit 6, MSS, setting is
ignored)
Description • Specify the value as a sum of the values of
each bit in decimal format.
• For example, specifying *SRE 239 will cause
the standard enable register to be set to
11101111. In this case, bit 4 of the service
request enable register is disabled. This means
that bit 4 (MAV) of the status byte register is
not set to 1, even if the output queue is not
empty.
• Bit 6 (MSS) of the status byte register is the
MSS bit itself and is therefore ignored.
• The default value is *SRE 0 (all bits disabled).
• A query using *SRE? will not clear the contents
of the service request enable register.
• For information about the service request
enable register, see page 7-3.
*STB?
Function
Queries the Status Byte Register value.
Syntax
*STB?
Example
*STB? -> 4
Description • A sum of the values of each bit is returned as a
decimal value.
• Because the register is read without executing
serial polling, bit 6 is an MSS bit, not an RQS
bit.
• For example, if a value of 4 is returned, this
indicates that the status byte register is set to
00000100. This means that the error queue is
not empty (in other words, an error occurred).
• A query using *STB? will not clear the contents
of the status byte register.
• For information about the status byte register,
see page 7-3.
*TRG
Function Executes
single measurement (the same
operation as when SINGLE (SHIFT+HOLD) is
pressed).
Syntax
*TRG
Example
*TRG
Description A multi-line message GET (Group Execute
Trigger) will perform the same operation as this
command.
6.17 Common Command Group