Section 8: TSP command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
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
Attribute (R)
Yes
Status preset()
Not saved
0
Usage
standardRegister
= status.standard.event
standardRegister
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:
0
1
status.standard.OPC
All pending selected instrument operations are
complete and the instrument is ready to accept new
commands. The bit is set in response to an
(on
(on page 8-77)
function.
1
2
Not used
Not used.
2
4
status.standard.QYE
Attempt to read data from an empty Output Queue.
3
8
status.standard.DDE
An instrument operation did not execute properly due
to an internal condition.
4
16
status.standard.EXE
The instrument detected an error while trying to
execute a command.
5
32
status.standard.CME
A command error has occurred. See information
following this table for descriptions of command errors.
6
64
status.standard.URQ
The instrument transitioned from remote control to
local control.
7
128
status.standard.PON
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
10010101
Also see
(on page C-3)
(on page C-15)