SCPI Commands
Elgar CW-P Series
3.8 Common Commands
The following commands are common to all SCPI instruments and declared mandatory by
IEEE 488.2. In the following table, the CW-P Series will be defined as the “device” on the
GPIB bus. These commands are further supported on the RS-232 command interface.
*CLS
Clear Status Command. Clears all status reporting data structures,
including the Status Byte, Standard Event Status Register and Error
Queue. Enable Masks are not cleared.
*ESE
Standard Event Status Enable Command. Sets the Standard Event
Status Enable Register, which determines which bits can be set in the
Standard Event Status Register.
*ESE?
Standard Event Status Enable Query. Returns value of Standard Event
Status Enable register.
*ESR?
Standard Event Status Register Query. Returns value of Standard Event
Status Register. The ESR and the Status Byte ESR are cleared.
*IDN?
Identification Query. Returns the device identity as an ASCII string:
<manufacturer>, <model>, <serial number>, <firmware version level>.
Example: Elgar, CW801P, 1234FF345, 1.20
*OPC
Operation Complete Command. Causes the Operation Complete bit to
be set in the Standard Events Status Register when all pending
operations are complete.
*OPC?
Operation Complete Query. Causes an ASCII ‘1’ to be placed in the
output queue when all pending operations are complete.
*RST
Reset Command. Resets the device to the state defined in section 2.3.
Clears all status reporting data structures, including the Status Byte,
Standard Event Status Register and Error Queue. Enable Masks are not
cleared.
*SRE
Service Request Enable Command. Sets the Service Request Enable
Register, which determines which bits in the Standard Event Status
Register will cause a service request from the device.
*SRE?
Service Request Enable Query. Returns contents of Service Request
Enable Register. Values range from 0 to 63 or 128 to 191.
*STB?
Read Status Byte Query. Returns the Status Byte with bit 6 representing
the Master Summary Status (MSS) instead of RQS.
The MSS bit acts as a summary bit for the Status Byte, and indicates
whether or not the device has at least one reason to request service,
based on the MAV and SESR bits. The return value is in the range of
0-255. The Status Byte is cleared after the read.
*TST?
Self Test Query. Causes the device to execute an internal self-test and
report whether or not it detected any errors. A value of ‘0’ indicates the
test completed without detecting any errors.
*WAI
Wait to Continue command. Makes the device wait until all previous
commands and queries are completed before executing commands
following the *WAI command.
3-6
Programming
Manual
Summary of Contents for CW 1251P
Page 2: ......