Keithley 3700 series Reference Manual page 343

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
status.request_enable
Remarks
Example
status.request_event
Attribute
Usage
Remarks
Example
status.reset
Function
Usage
Remarks
Document Number: 3700S-901-01 Rev. A / August 2007
This attribute is used to read or write to the service request enable register.
Reading the service request enable status register returns a value. The binary
equivalent of the returned value indicates which register bits are set. The least
significant bit of the binary number is bit 0, and the most significant bit is bit 7.
For example, assume value 129 is returned for the node enable register. The binary
equivalent is 10000001. This value indicates that bit B0 (MSB) and bit B7 (OSB) are
set.
Assigning a value to this attribute enables one or more status events for service
request. When an enabled status event occurs, bit B6 of the status byte sets to
generate an SRQ (service request).
The service request enable register uses most of the same summary events as the
status byte. Bit B6 (MSS) is not used by the enable register. For details, see
status.condition
(on page 9-186) register.
Sets the MSB bit of the service request enable register:
status.request_enable = status.MSB
Service request event register.
Reads the service request event register:
serveventreg = status.request_event
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
returned value. The least significant bit of the binary number is bit 0, and the most
significant bit is bit 7.
For example, assume value 129 is returned for the event register. The binary equivalent
is 10000001. This value indicates that bit B0 (MSB) and bit B7 (OSB) are set.
The service request event register uses most of the same summary events as the
status byte. Bit B6 (MSS) is not used by the event register. For details, see
status.condition
(on page 9-186) register.
Reads the service request event register:
serveventreg = status. request_event
print ( serveventreg )
Output: 1.29000e+02
The above output indicates that bits B0 (MSS) and B7 (OSB) are set.
Resets all bits set in the status model.
status.reset()
This function clears all status data structure registers (enable, event, NTR and PTR) to
their power up states.
Section 9: Instrument Control Library (ICL)
9-199

Advertisement

Table of Contents
loading

Table of Contents