Status.standard.enable - Tektronix Keithley SourceMeter 2470 Reference Manual

High voltage instrument
Hide thumbs Also See for Keithley SourceMeter 2470:
Table of Contents

Advertisement

2470 High Voltage SourceMeter Instrument Reference Manual
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 and clear all other
bits.
Example 2
-- decimal 129 = binary 10000001
requestSRQEnableRegister = 129
status.request_enable = requestSRQEnableRegister
Uses a decimal value to set the MSB and OSB bits and clear all other bits of the service request (SRQ) enable
register.
Example 3
status.request_enable = 0
Clear the register.
Also see
Status model
Understanding bit settings

status.standard.enable

This attribute reads or sets the bits in the Status Enable register of the Standard Event Register.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
standardRegister = status.standard.enable
status.standard.enable = standardRegister
standardRegister
Details
When a bit in the Status Enable register is set on and the corresponding bit in the Standard Event
Status register is set on, the ESB bit of the Status Byte Register is set to on.
To set a bit on, send the constant or value of the bit as the standardRegister parameter.
You can set the bit as a constant or a numeric value, as shown in the table below. To set more than
one bit of the register, you can send multiple constants with + between them. You can also set
standardRegister to the sum of their decimal weights. For example, to set bits B0 and B2, set
standardRegister to 5 (which is the sum of 1 + 4). You can also send:
status.standard.enable = status.standard.OPC + status.standard.QYE
When zero (0) is returned, no bits are set. You can also send 0 to clear all bits.
The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in
the register.
2470-901-01 Rev. A / May 2019
(on page B-1)
(on page B-15)
Affected by
status.preset()
The value of the Status Enable register of the Standard Event Register (0 to 255)
Section 14: TSP command reference
Where saved
Default value
Not applicable
0
14-189

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley SourceMeter 2470 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF