Common Command Group - YOKOGAWA WT3000 User Manual

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

Advertisement

6.24 Common Command Group

The commands in the common group are defined in the IEEE488.2-1992 and are independent of the instrument's
functions. There are no front panel keys that correspond to the commands in this group.
*CAL? (CALibrate)
Function
Executes zero calibration (zero-level
compensation, same operation as pressing CAL
(SHIFT+SINGLE)) and queries the result.
Syntax
*CAL?
Example
*CAL? -> 0
Description If the calibration terminates normally, 0 is
returned. If an error is detected, 1 is returned.
*CLS
(CLear Status)
Function
Clears the standard event register, extended
event register, and error queue.
Syntax
*CLS
Example
*CLS
Description • If the *CLS command is located immediately
after the program message terminator, the
output queue is also cleared.
• For details on the register and queue, see
chapter 7.
*ESE
(standard Event Status Enable register)
Function
Sets the standard event enable register or
queries the current setting.
Syntax
*ESE {<NRf>}
*ESE?
<NRf> = 0 to 255
Example
*ESE 251
*ESE? -> 251
Description • Specify the value as a sum of decimal values
of each bit.
• For example, specifying "*ESE 251" will
cause the standard enable register to be set
to "11111011." In this case, bit 2 of the
standard event register is disabled which
means that bit 5 (ESB) of the status byte
register is not set to 1, even if a "query error"
occurs.
• The default value is "*ESE 0" (all bits
disabled).
• A query using *ESE? will not clear the
contents of the standard event enable
register.
• For details on the standard event enable
register, see page 7-5.
6-114
*ESR? (standard Event Status Register)
Function
Queries the standard event register and clears
the register.
Syntax
*ESR?
Example
*ESR? -> 32
Description • A sum of decimal values of each bit is
returned.
• You can check what type of events occurred
when an SRQ is generated.
• For example, if a value of "32" is returned,
this indicates that the standard event register
is set to "00100000." In this case, you can
see that the SRQ occurred due to a
"command syntax error."
• A query using *ESR? will clear the contents of
the standard event register.
• For details on the standard event register,
see page 7-5.
*IDN? (IDeNtify)
Function
Queries the instrument model.
Syntax
*IDN?
Example
*IDN? ->
YOKOGAWA,760304-04-SV,0,F4.01
Description • The information is returned in the following
form: <Manufacturer>,<Model>,<Serial
No.>,<Firmware version>
• <Model> is in the format "model (6 digits)-
element configuration (2 digits)-version." The
combination of model and element can be
one of the following: 760301-01, 760302-02,
760303-03, 760304-04, 760301-10, 760302-
20, 760303-30, 760304-40. The version name
is SV for the standard version and MV for the
motor version.
• In actuality, <Serial No.> is not returned
(always 0).
IM 760301-17E

Advertisement

Table of Contents
loading

Table of Contents