
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-199
status.request_enable
Remarks
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.
Example
Sets the MSB bit of the service request enable register:
status.request_enable = status.MSB
status.request_event
Attribute
Service request event register.
Usage
Reads the service request event register:
serveventreg = status.request_event
Remarks
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.
Example
Reads the service request event register:
serveventreg = status. request_event
print ( serveventreg )
Output: 1.02
The above output indicates that bits B0 (MSS) and B7 (OSB) are set.
status.reset
Function
Resets all bits set in the status model.
Usage
status.reset()
Remarks
This function clears all status data structure registers (enable, event, NTR and PTR) to
their power up states.