![background image](http://html1.mh-extra.com/html/keithley/3700-series/3700-series_reference-manual_3931523335.webp)
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-191
status.node_enable
nodeenabreg
can also be set to the decimal weight of the bit to be set:
To set bit B0 (MSB), set
nodeenabreg
to 1 (20).
To set bit B2 (EAV), set
nodeenabreg
to 4 (22).
To set bit B7 (OSB), set
nodeenabreg
to 128 (27).
To set more than one bit of the register, set
nodeenabreg
to the sum of their decimal
weights. For example, to set bits B0 and B7, set
nodeenabreg
to 129 (1 + 128).
Remarks
This attribute is used to read or write to the status node enable register.
Reading the node 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 enabled
system nodes. When an enabled status event occurs, it will set one or more enabled
system node bits of the system registers (see
status.system.*
(on page 9-201)
registers).
The status node enable register uses most of the same summary events as the status
byte. Bit B1(MSB) is not used, and bit B6 is used as Master Summary Status (MSS).
For details, see
status.condition
(on page 9-186) register.
Example
Sets the MSB bit of the status node enable register:
status.node_enable = status.MSB
status.node_event
Attribute
Status node event register.
Usage
Reads the status node event register:
nodeeventreg = status.node_event
Remarks
This attribute is used to read the status node 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 status node event register uses most of the same summary events as the status
byte. Bit B1(MSB) is not used, and bit B6 is used as Master Summary Status (MSS).
For details, see
status.condition
(on page 9-186) register.
Example
Reads the status node event register:
nodeeventreg = status. node_event print(
nodeeventreg )
Output: 1.02
The above output indicates that bits B0 (MSS) and B7 (OSB) are set.