Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-188
2470-901-01 Rev. A /
May
2019
When a mapped event is programmed to clear bits, the bit in the condition register is set to
0
when
the event is detected.
If the event is set to zero (
0
), the bit is never set.
See
(on page B-9) for information about event numbers.
Example
status.questionable.setmap(0, 4917, 4918)
When event 4917 (the buffer is 0% filled) occurs, bit 0 is set in the condition register and the event register of
the Questionable Event Register. When event 4918 (buffer is 100% filled) occurs, bit 0 in the condition register
is cleared.
Also see
(on page B-9)
(on page 14-187)
status.request_enable
This attribute stores the settings of the Service Request (SRQ) Enable Register.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
status.preset()
Not applicable
0
Usage
SRQEnableRegister
= status.request_enable
status.request_enable =
SRQEnableRegister
SRQEnableRegister
The status of the service request (SRQ) enable register; a zero
(0) indicates no bits set (also send 0 to clear all bits); other values
indicate various bit settings (0 to 255)
Details
This command sets or clears the individual bits of the Status Request Enable Register.
The Status Request Enable Register is cleared when power is cycled or when a parameter value of 0
is sent with this command.
The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in
the register.
Bit Decimal
value
Constants
When set, indicates the following has occurred:
0
1
status.MSB
An enabled event in the Measurement Event Register has occurred.
1
2
Not used
Not used.
2
4
status.EAV
An error or status message is present in the Error Queue.
3
8
status.QSB
An enabled event in the Questionable Status Register has occurred.
4
16
status.MAV
A response message is present in the Output Queue.
5
32
status.ESB
An enabled event in the Standard Event Status Register has
occurred.
6
64
Not used
Not used.
7
128
status.OSB
An enabled event in the Operation Status Register has occurred.