Model 2651A High Power System SourceMeter® Instrument Reference Manual
Appendix E: Status model
2651A-901-01 Rev. A / March 2011
E-19
System Summary Registers
As shown in
(on page E-4), there are five register sets associated with system
status events. These registers summarize system status for various nodes connected to the
TSP-Link
®
network (see
(on page 3-19)). Note that all nodes on the TSP-Link
network share a copy of the system summary registers once the TSP-Link system has been
initialized. This feature allows all nodes to access the status models of other nodes, including service
request (SRQ).
In a TSP-Link system, the status model can be configured such that a status event in any node in the
system can set the RQS (request for service) bit of the Master Node Status Byte. See
(on page E-26) for details on using the status model in a TSP-Link system.
Commands for the system summary registers are summarized in the
(on
For example, either of the following commands will set the EXT enable bit:
status.system.enable = status.system.EXT
status.system.enable = 1
When reading a register, a numeric value is returned. The binary equivalent of this value indicates
which bits in the register are set. For details, see
(on page E-14). For example, the
following command will read the System Enable Register:
print(status.system.enable)
The used bits of the system event registers are described as follows:
•
Bit B0, Extension Bit (EXT):
Set bit indicates that an extension bit from a another system status
register is set.
•
Bits B1-B14* NODEn:
Indicates a bit on TSP-Link node
n
has been set (
n
= 1 to 64).
*
status.system5
does not use bits B9 through B15.
Standard Event Register
The bits used in the Standard Event Register are described as follows:
•
Bit B0, Operation Complete (OPC):
Set bit indicates that all pending selected device operations
are completed and the System SourceMeter
®
instrument is ready to accept new commands. The
bit is set in response to an *OPC command. The
opc()
function can be used in place of the
*OPC command. See
(on page D-1) for details on the *OPC command.
•
Bit B1:
Not used.
•
Bit B2, Query Error (QYE):
Set bit indicates that you attempted to read data from an empty
output queue.
•
Bit B3, Device-Dependent Error (DDE):
Set bit indicates that an instrument operation did not
execute properly due to some internal condition.
•
Bit B4, Execution Error (EXE):
Set bit indicates that the System SourceMeter instrument
detected an error while trying to execute a command.