Appendix A: Common commands
2470 High Voltage SourceMeter Instrument Reference Manual
A-2
2470-901-01 Rev. A /
May
2019
If you are using the TSP remote interface, note that the common commands and general bus
commands cannot be used in scripts.
*CLS
This command clears the event registers and queues.
Type
Affected by
Where saved
Default value
Command only
Not applicable
Not applicable
Not applicable
Usage
*CLS
Details
This command clears the event registers of the Questionable Event and Operation Event Register
set. It also clears the event log. It does not affect the Questionable Event Enable or Operation Event
Enable registers.
This is the equivalent of sending the SCPI commands
:STATus:CLEar
and
:SYStem:CLEar
or the
TSP commands
status.clear()
and
eventlog.clear()
.
To reset all the bits of the Standard Event Enable Register, send the command:
*ESE 0
Also see
(on page A-2)
(on page 14-184)
*ESE
This command sets and queries bits in the Status Enable register of the Standard Event Register.
Type
Affected by
Where saved
Default value
Command and query
Not applicable
Not applicable
See
Details
Usage
*ESE <n>
*ESE?
<n>
The value of the Status Enable register of the Standard Event Register (0 to 255)
Details
When a bit in the Status Enable register is set on and the corresponding bit in the Standard Event
Status register is set on, the ESB bit of the Status Byte Register is set to on.
To set a bit on, send the constant or the value of the bit as the
<n>
parameter.