Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-314
2600BS-901-01 Rev. B / May 2013
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
Status register set contents
(on
page E-1) and
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 event in the
Measurement Event Register has occurred.
Bit B0 decimal value: 1
B1
status.SYSTEM_SUMMARY_BIT
status.SSB
This bit is only available on Models
2601B/2602B/2611B/2612B/2635B/2636B. Set summary
bit indicates that an enabled event in the System Summary
Register has occurred.
Bit B1 decimal value: 2
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 event in the
Questionable Status Register 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 event in the
Standard Event Status Register has occurred.
Bit B5 decimal value: 32
B6
Not used
Not applicable
B7
status.OPERATION_SUMMARY_BIT
status.OSB
Set summary bit indicates that an enabled event in the
Operation Status Register has occurred.
Bit B7 decimal value: 128
As an example, to set bit B0 of the service request enable register, set
status.request_enable =
status.MSB
.
In addition to the above values,
requestSRQEnableRegister
can be set to the numeric equivalent of the bit
to set. To set more than one bit of the register, set
requestSRQEnableRegister
to the sum of their decimal
weights. For example, to set bits B0 and B7, set
requestSRQEnableRegister
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
requestSRQEnableRegister = status.MSB +
status.OSB
status.request_enable = requestSRQEnableRegister
Uses constants to set the MSB and OSB
bits of the service request (SRQ) enable
register.
Example 2
-- decimal 129 = binary 10000001
requestSRQEnableRegister = 129
status.request_enable = requestSRQEnableRegister
Uses a decimal value to set the MSB and
OSB bits of the service request (SRQ)
enable register.
Also see
Status byte and service request (SRQ)
status.condition
(on page 7-254)
status.system.*
(on page 7-319)
Summary of Contents for System SourceMeter 2601B
Page 841: ......