Section 7: TSP command reference
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 model overview
status.condition
status.system.*
status.request_event
This attribute stores the service request (SRQ) event register.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
requestSRQEventRegister = status.request_event
requestSRQEventRegister
Details
This attribute is used to read the service request event register, which is returned as a numeric value.
Reading this register returns a value. The binary equivalent of the value of this attribute indicates
which register bits are set. In the binary equivalent, the least significant bit is bit B0, and the most
significant bit is bit B7. For example, if a value of 1.29000e+02 (which is 129) is read as the value of
this register, the binary equivalent is 1000 0001. This value indicates that bit B0 and bit B7 are set.
B7
B6
**
>
1
0
* Least significant bit
** Most significant bit
The returned value can indicate one or more status events occurred.
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
contents
(on page 15-1) and
this register are defined in the following table.
7-378
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 15-15)
(on page 15-1)
(on page 7-311)
(on page 7-383)
Affected by
Not applicable
B5
B4
B3
>
>
>
0
0
0
Enable and transition registers
Where saved
Not saved
The status of the request event register; a zero (0) indicates no
bits set; other values indicate various bit settings
B2
B1
B0
>
>
*
0
0
1
(on page 15-19). The individual bits of
Default value
0
Status register set
2651A-901-01 Rev. C October 2021
Need help?
Do you have a question about the Keithley 2651A and is the answer not in the manual?