Chapter 3 Platform SCPI Commands
3.1 Star (IEEE 488.2) Subsystem Commands
3.1.1 *CLS Clear Status Command
Syntax:
*CLS
Description:
The Clear Status command *CLS clears all the event registers summarized
in the Status Byte register. Except for the output queue, all queues summarized in
the Status Byte register are emptied. The error queue is emptied. Neither the
Standard Event Status Enable register, nor the Service Request Enable register
are affected by this command. The command's effect on individual logical
instrument depends on the instrument implementation and is described in the
instrument's documentation.
Parameters:
None
Response:
None
Example:
*CLS
3.1.2 *ESE Standard Event Status Enable Command
Syntax:
*ESE<wsp><value>
Description:
The standard Event Status Enable command (*ESE) sets bits in the Standard
Event Status Enable register. A 1 in a bit in the enable register enables the
corresponding bit in the Standard Event Status register. The register is cleared at
power-on. The *RST and *CLS commands do not affect the register.
Parameters:
The bit value for the register (a short value):
7 (MSB) Power On 128
6 User Request 64
5 Command Error 32
4 Execution Error 16
3 Device Dependent Error 8
2 Query Error 4
1 Request Control 2
0 (LSB) Operation Complete 1
Response:
None
Example:
*ESE 21
3.1.3 *ESE? Standard Event Status Enable Query
Syntax:
*ESE?
Description:
The standard Event Status Enable query *ESE? returns the contents of the
Standard Event Status Enable register (see *ESE for information on this register).
Parameters:
None
Response:
The bit value for the register (a short value).
Example:
*ESE? −> 21<END>
3-4