Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-341
As an example, to set bit B1 of the system summary 5 enable register, set
status.system5.enable = status.system5.NODE57.
In addition to the above constants, enableRegister can be set to the numeric equivalent of the bit
to set. To set more than one bit of the register, set enableRegister to the sum of their decimal
weights. For example, to set bits B1 and B4, set enableRegister to 18 (which is the sum of
2 + 16).
Example 1
enableRegister = status.system5.NODE57 + status.system5.NODE60
status.system2.enable = enableRegister
Uses constants to set bits B1 and B4 of the system summary 5 enable register.
Example 2
-- decimal 18 = binary 0000 0000 0001 0010
enableRegister = 18
status.system5.enable = enableRegister
Uses the decimal value to set bits B1 and B4 of the system summary 5 enable register.
Also see
status.system4.* (on page 11-338)
System summary and standard event registers (on page 15-6)