3 SCPI
3.2 Common Commands
27
*CLS
Function description:
Clear status. Set the status byte (STB), the standard event register (ESR),
and the event part of the problem operation to zero. This command does not change the mask and
the transfer register value and clears the output buffer.
Description:
Only set.
*ESE
Function description:
Set/Query the event status enable register.
Setting format:
*ESE <Value>
Query format:
*ESE
?
Parameter description:
Range: [0,255].
*ESR?
Function description:
Read the decimal value of the event status register, and then set the
register value to zero.
Description:
Only query.
*IDN?
Function description:
Return the instrument identification.
Return value:
<ID>
“Manufacturer, <instrument model>, <serial number>, <firmware version
number>”
Example:
CETC41,3986,1312.8000K26/100005,1.30
Description:
Only query.
*OPC
Function description:
Set/Query operation completion. After all the commands to be processed
are executed, set bit0 of the event status register. This bit can be used to start the service requests.
After all the commands are executed, the command query format writes 1 into the output buffer for
command synchronization. Block the execution of subsequent commands until all the instrument
jobs are completed, and continue to execute the subsequent instructions after the character “1” is
returned. This instruction can be used to synchronize the operation of the instrument.
Setting format:
*OPC
Query format:
*OPC
?
*RST
Function description:
Set most of the functions of the device to the known status predefined by
the manufacturer.
Description:
Only set.
*SRE
Function description:
Set/Query the value of the service request enable register.