10-34
IM 755601-01E
*ESR? (standard Event Status Register)
Function
Queries the standard event register and clears
the register.
Syntax
*ESR?
Example
*ESR?
→
32
Description • The sum of the bits is returned as a decimal
value.
• This query can be used to check the type of
event that occurred when a SRQ is in
progress.
• In the above example, the returned value of
“32” indicates that the standard event register
is set to “00100000.” In other words, the SRQ
occurred due to a “command syntax error.”
• An “
*ESR?
” query will clear the standard event
register.
• For details regarding the standard event
enable register, see page 10-38.
*IDN? (IDeNtify)
Function
Queries the instrument model.
Syntax
*IDN?
Example
*IDN?
→
YOKOGAWA,755601,0,F1.01
Description A reply is returned in the following form:
<Manufacturer>, <Model>, <Serial number
(always 0)>, <Firmware version>.
*LRN? (LeaRN)
Function
Queries current settings of the following groups:
LIMit, DISPlay, RANGe, MTIMe, TRIGger,
CHECk, HANDler
Syntax
*LRN?
Example
*LRN?
→
:LIMIT:MODE PCNT;PCNT:
REFERENCE 1.0000E+05;PLIMIT 9.99;
DATA 0.00, 0.00;:DISPLAY:MODE PCNT;:
RANGE 1.0E+05;MTIME NORMAL;TRIGGER:
MODE EXTERNAL;DELAY 0.0000;EDGE RISE;:
CHECK:MODE BEFORE;LEVEL 30;:HANDLER:
EOM 0.0100
*OPC (OPeration Complete)
Function
Sets bit 0 of the standard event register (OPC)
upon the completion of the specified overlap
command.
Syntax
*OPC
Example
*OPC
Description • For the procedures regarding the use of the
“
*OPC
” command for synchronization, see
page 10-7.
• An overlap command is specified using the
“
:COMMunicate:OPSE
” command.
• Proper operation is not guaranteed unless
the “
*OPC
” command is placed at the end of
the message.
*OPC? (OPeration Complete)
Function
Returns the ASCII code “1” upon the
completion of the specified overlap command.
Syntax
*OPC?
Example
*OPC?
→
1
Description • For the procedures regarding the use of the
“
*OPC?
” command for synchronization, see
page 10-8.
• An overlap command is specified using the
“
:COMMunicate:OPSE
” command.
• Proper operation is not guaranteed unless
the “
*OPC?
” command is placed at the end of
the message.
*OPT? (OPTion)
Function
Queries the installed options.
Syntax
*OPT?
Example
*OPT?
→
GP-IB,PRINTER
Description • Returns the existence of the <GP-IB
interface> and <Centronics interface>.
• An ASCII code “0” is returned, if neither of
the options is installed.
• The “
*OPT?
” command must be the last query
in a program message. Otherwise, an error
results.
*PSC (Power-on Status Clear)
Function
Sets whether or not to clear the following
registers at power up or queries the current
setting. The registers are cleared when a non-
zero value is specified.
Standard event enable register
Extended event enable register
Transition filter
Syntax
*PSC {<NRf>}
*PSC?
<NRf> = 0 (Does not clear the register),
a non-zero value (Clears the register)
Example
*PSC 1
*PSC?
→
1
Description For details regarding registers, see section
10.3.
*RST (ReSeT)
Function
Initializes the settings.
Syntax
*RST
Example
*RST
Description • For the initial values, see page 1-7. Setup
information except for that related to
communications is initialized.
• Previously sent
*OPC
and
*OPC?
commands
are also cleared.
10.2 Commands