Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-263
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
(on
Enable and transition registers
(on page E-19). The individual bits of this register are defined in
the following table.
Bit Value
Description
B0
status.MEASUREMENT_SUMMARY_BIT
status.MSB
Set summary bit indicates that an enabled measurement
event has occurred.
Bit B0 decimal value: 1
B1
Not used
Not applicable.
B2
status.ERROR_AVAILABLE
status.EAV
Set summary bit indicates that an error or status
message is present in the Error Queue.
Bit B2 decimal value: 4
B3
status.QUESTIONABLE_SUMMARY_BIT
status.QSB
Set summary bit indicates that an enabled questionable
event has occurred.
Bit B3 decimal value: 8
B4
status.MESSAGE_AVAILABLE
status.MAV
Set summary bit indicates that a response message is
present in the Output Queue.
Bit B4 decimal value: 16
B5
status.EVENT_SUMMARY_BIT
status.ESB
Set summary bit indicates that an enabled standard
event has occurred.
Bit B5 decimal value: 32
B6
status.MASTER_SUMMARY_STATUS
status.MSS
Set bit indicates that an enabled Master Summary
Status (MSS) bit of the Status Byte Register is set.
Bit B6 decimal value: 64
B7
status.OPERATION_SUMMARY_BIT
status.OSB
Set summary bit indicates that an enabled operation
event has occurred.
Bit B7 decimal value: 128
As an example, to set the B0 bit of the system node enable register, set
status.node_enable =
status.MSB
.
In addition to the above values,
nodeEnableRegister
can be set to the numeric equivalent of the bit to set. To
set more than one bit of the register, set
nodeEnableRegister
to the sum of their decimal weights. For
example, to set bits B0 and B7, set
nodeEnableRegister
to 129 (1 + 128).
Bit
B7 B6 B5 B4 B3 B2 B1 B0
Binary
value
0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1
Decimal
128 64 32 16 8 4 2 1
Weights
(2
7
) (2
6
) (2
5
) (2
4
) (2
3
) (2
2
) (2
1
) (2
0
)
Example 1
nodeEnableRegister = status.MSB + status.OSB
status.node_enable = nodeEnableRegister
Sets the MSB and OSB bits of the
system node enable register using
constants.
Example 2
-- decimal 129 = binary 10000001
nodeEnableRegister = 129
status.node_enable = nodeEnableRegister
Sets the MSB and OSB bits of the
system node enable register using a
decimal value.
Also see
(on page 7-313)
Status byte and service request (SRQ)
Summary of Contents for 2657A
Page 3: ......