System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-271
Bit Value Description
status.operation.CALIBRATING
status.operation.CAL
Set bit indicates that the summary bit of the
status.operation.calibrating register has been
set.
Bit B0 decimal value: 1
status.operation.SWEEPING
status.operation.SWE
Set bit indicates that the summary bit from the
status.operation.sweeping register is set.
status.operation.MEASURING
status.operation.MEAS
Set bit indicates that the summary bit of the
status.operation.measuring register is set.
Bit B4 decimal value: 16
B5-B9 Not used Not applicable
status.operation.TRIGGER_OVERRUN
status.operation.TRGOVR
Set bit indicates that the summary bit from the
status.operation.trigger_overrun register is set.
Bit B10 decimal value: 1,024
status.operation.REMOTE_SUMMARY
status.operation.REM
Set bit indicates that the summary bit of the
status.operation.remote register is set.
Bit B11 decimal value: 2,048
Set bit indicates that the summary bit from the
status.operation.user register is set.
Bit B12 decimal value: 4,096
status.operation.INSTRUMENT_SUMMARY
status.operation.INST
Set bit indicates that the summary bit from the
status.operation.instrument register is set.
Bit B13 decimal value: 8,192
B14
status.operation.PROGRAM_RUNNING
status.operation.PROG
Set bit indicates that a command or program is running.
Bit B14 decimal value: 16,384
As an example, to set bit B12 of the operation status enable register, set status.operation.enable =
status.operation.USER.
In addition to the above constants, operationRegister can be set to the numeric equivalent of the bit to set.
To set more than one bit of the register, set operationRegister to the sum of their decimal weights. For
example, to set bits B12 and B14, set operationRegister to 20,480 (which is the sum of 4,096 + 16,384).
(2
) (2
) (2
) (2
) (2
) (2
) (2
) (2
)
Example 1
operationRegister = status.operation.USER +
status.operation.PROG
status.operation.enable = operationRegister
Sets the USER and PROG bits of the
operation status enable register using
constants.
Example 2
-- decimal 20480 = binary 0101 0000 0000 0000
operationRegister = 20480
status.operation.enable = operationRegister
Sets the USER and PROG bits of the
operation status enable register using a
decimal value.