8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-164 2450-901-01 Rev. B/September 2013
status.standard.event
This attribute returns the contents of the Standard Event Status Register set of the status model.
Type TSP-Link accessible Affected by Where saved Default value
Usage
standardRegister = status.standard.event
The status of the standard event status register
Details
When this command returns zero (0), no bits are set. You can send 0 to clear all bits.
The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in the register.
Bit
Decimal
value
Constant When set, indicates the following has occurred:
All pending selected instrument operations are
complete and the instrument is ready to accept new
commands. The bit is set in response to an
*OPC (on
page B-6) command or TSP opc() (on page 8-77)
2 4
Attempt to read data from an empty Output Queue.
3 8
An instrument operation did not execute properly due
to an internal condition.
The instrument detected an error while trying to
execute a command.
5 32
A command error has occurred. See information
following this table for descriptions of command errors.
The instrument transitioned from remote control to
local control.
7 128
The instrument has been turned off and turned back on
since the last time this register was read.
Command errors include:
• IEEE Std 488.2 syntax error: The instrument received a message that does not follow the defined
syntax of the IEEE Std 488.2 standard.
• Semantic error: The instrument received a command that was misspelled or received an optional IEEE
Std 488.2 command that is not implemented in the instrument.
• GET error: The instrument received a Group Execute Trigger (GET) inside a program message.
Example
print(status.standard.event)
May return the value 149, showing that the Standard Event
Status Register contains binary
Also see
Standard Event Register (on page C-3)
Understanding bit settings (on page C-15)