Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-274
2651A-901-01 Rev. A / March 2011
A set bit indicates that the specified digital I/O line generated an action overrun when it was triggered to generate
an output trigger.
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
(on page E-
Enable and transition registers
(on page E-18). The individual bits of this register have the following
meanings:
Bit Value
Description
B0 Not
used
Not applicable
B1
status.operation.instrument.digio.trigger_overrun.LINE1
Bit B1 decimal value: 2
B2
status.operation.instrument.digio.trigger_overrun.LINE2
Bit B2 decimal value: 4
B3
status.operation.instrument.digio.trigger_overrun.LINE3
Bit B3 decimal value: 8
B4
status.operation.instrument.digio.trigger_overrun.LINE4
Bit B4 decimal value: 16
B5
status.operation.instrument.digio.trigger_overrun.LINE5
Bit B5 decimal value: 32
B6
status.operation.instrument.digio.trigger_overrun.LINE6
Bit B6 decimal value: 64
B7
status.operation.instrument.digio.trigger_overrun.LINE7
Bit B7 decimal value: 128
B8
status.operation.instrument.digio.trigger_overrun.LINE8
Bit B8 decimal value: 256
B9
status.operation.instrument.digio.trigger_overrun.LINE9
Bit B9 decimal value: 512
B10
status.operation.instrument.digio.trigger_overrun.LINE10
Bit B10 decimal value: 1024
B11
status.operation.instrument.digio.trigger_overrun.LINE11
Bit B11 decimal value: 2048
B12
status.operation.instrument.digio.trigger_overrun.LINE12
Bit B12 decimal value: 4096
B13
status.operation.instrument.digio.trigger_overrun.LINE13
Bit B13 decimal value: 8192
B14
status.operation.instrument.digio.trigger_overrun.LINE14
Bit B14 decimal value: 16,384
B15 Not
used
Not applicable
As an example, to set bit B1 of the operation status digital I/O overrun enable register, set
status.operation.instrument.digio.trigger_overrun.enable =
status.operation.instrument.digio.trigger_overrun.LINE1
.
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 B1 and B10, set
operationRegister
to 1,026 (which is the sum of 2 + 1024).
Bit
B7 B6 B5 B4 B3 B2 B1 B0
Binary
value
0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1
Decimal
128 64 32 16 8 4 2 1
Weights (2
7
) (2
6
) (2
5
) (2
4
) (2
3
) (2
2
) (2
1
) (2
0
)
Bit
B15 B14 B13 B12 B11 B10 B9 B8
Binary
value
0/1 0/1 0/1 0/1 0/1 0/1 0/1 0/1
Decimal
32,768 16,384 8,192 4,096 2,048 1024 512 256
Weights (2
15
) (2
14
) (2
13
) (2
12
) (2
11
) (2
10
) (2
9
) (2
8
)
Example 1
operationRegister =
status.operation.instrument.digio.trigger_overrun.LINE1 +
status.operation.instrument.digio.trigger_overrun.LINE10
status.operation.instrument.digio.trigger_overrun.enable =
operationRegister
Sets bit B1 and bit B10 of
the operation status
digital I/O overrun enable
register using constants.