User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-269
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 (2
0
).
To set bit B2 (EAV), set nodeenabreg to 4 (2
2
).
To set bit B7 (OSB), set nodeenabreg to 128 (2
7
).
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 13-280)
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 13-264) 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 13-264) register.