Common Command Group - YOKOGAWA SL1000 User Manual

High-speed data acquisition unit communication interface
Hide thumbs Also See for SL1000:
Table of Contents

Advertisement

3.29 Common Command Group

The commands in the common command group are defined in IEEE488.2-1987 and are independent of the
instrument's functions.
*CAL?
Function
Performs calibration and queries the result.
*CAL?
Syntax
*CAL? -> 0
Example
Description If the calibration terminates normally, "0" is returned.
If an error is detected, "1" is returned.
*CLS
Function
Clears the standard event register, extended event
register, and error queue.
*CLS
Syntax
*CLS
Example
Description If the *CLS command is located immediately after
the program message terminator, the output queue is
also cleared.
*ESE
Function
Sets the standard event enable register or queries
the current setting.
*ESE {<NRf>}
Syntax
*ESE?
<NRf>=0 to 255
*ESE 251
Example
*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).
This result is not saved by the power-off.
• A query using *ESE? will not clear the contents of
the standard event enable register.
*ESR?
Function
Queries the standard event register and clears the
register.
*ESR?
Syntax
*ESR? 188
Example
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.
IM 720320-17E
*IDN?
Function
Queries the instrument model.
*IDN?
Syntax
*IDN? -> YOKOGAWA,720120,0,F1.10
Example
Description The information is returned in the following form:
<Manufacturer>,<Model>,<Serial No.>,<Firmware
version>.
*OPC
Function
Sets a "1" to bit 0 (OPC bit) of the standard event
register bit upon the completion of the specified
overlap command.
*OPC
Syntax
*OPC
Example
Description The COMMunicate:OPSE command is used to
specify the overlap command. If *OPC is not the
last command of the message, the operation is not
guaranteed.
*OPC?
Function
The specified overlap command is completed, ASCII
code '1' is returned.
*OPC?
Syntax
*OPC? -> 1
Example
Description The COMMunicate:OPSE command is used to
specify the overlap command. If *OPC? is not the
last command of the message, the operation is not
guaranteed.
*OPT?
Function
Queries the installed options.
*OPT?
Syntax
*OPT? -> 128MW,HD,PROBEPOWER
Example
Description The information of installed memory length :
Total capacity of the waveform data memory '128MW'.
installing the internal HD : 'HD'
loading the probe power option : 'PROBEPOWER'
loading the ether net option : 'ETHER'
*RST
Function
Initializes the current settings.
*RST
Syntax
*RST
Example
Description Also clears the *OPC and *OPC? commands that
were sent earlier.
1
2
3
4
App
Index
3-67

Advertisement

Table of Contents
loading

Table of Contents