YOKOGAWA WT5000 User Manual page 130

Precision power analyzer, communication interface
Hide thumbs Also See for WT5000:
Table of Contents

Advertisement

*OPC?
Function
Returns ASCII code 1 if the specified overlap
command has finished.
*OPC?
Syntax
Example
*OPC? -> 1
Description • For information about how to synchronize a
program using *OPC, see page 4-8.
• The COMMunicate:OPSE command is used to
specify the overlap command.
• If *OPC? is not the last command of the
message, its operation is not guaranteed.
*OPT?
Function
Queries the installed options.
*OPT?
Syntax
*OPT? -> M1,MTR1,DA20
Example
Description • Returns the presence of the following options:
the 32 GB built-in memory (M1),
the motor evaluation function 1 (MTR1),
the motor evaluation function 2 (MTR2), and
the 20-channel D/A output option (DA20).
• If none of the options are installed, ASCII code
0 is returned.
• 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.
*RST
Syntax
Example
*RST
Description • Also clears *OPC and *OPC? commands that
have been sent.
• All settings except communication settings are
reset to their factory default values.
IM WT5000-17EN
5.21 Common Command Group
*SRE
Function
Sets or queries the service request enable
register.
*SRE {<NRf>}
Syntax
*SRE?
<NRf> = 0 to 255
*SRE 239
Example
*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 6-3.
*STB?
Function
Queries the status byte register.
*STB?
Syntax
*STB? -> 4
Example
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 6-3.
*TRG
Function
Executes single measurement (the same
operation as pressing SINGLE or Misc—Single
[Execute] button).
*TRG
Syntax
*TRG
Example
Description A multi-line message GET (Group Execute
Trigger) will perform the same operation as this
command.
1
2
3
4
5
6
7
App
Index
5-97

Advertisement

Table of Contents
loading

Table of Contents