A: Common commands 2470 High Voltage SourceMeter Instrument
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
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 t
he
T
SP commands status.clear() and eventlog.clear().
To reset all the bits of the Standard Event Enable Register, send the command:
*ESE 0
Also see
*ESE (on page A-2)
:STATus:PRESet (on page 12-100)
status.preset() (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
Usage
*ESE <n>
*ESE?
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.