
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-284
2657A-901-01 Rev. B/December 2012
Details
These attributes are used to read or write to the operation status trigger blender overrun registers. Reading a
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 B0, and the most significant bit is bit B15. For example, if a
value of
18
is read as the value of the condition register, the binary equivalent is 0000 0000 0001 0010. This
value indicates that bit B1 and bit B4 are set.
B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
** > > > > > > > > > > > > > > *
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
* Least significant bit
** Most significant bit
A set bit value indicates that the specified trigger blender generated an action overrun.
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to
(on
Enable and transition registers
(on page E-19). The individual bits of this register are defined in
the following table.
Bit Value
Description
B0 Not
used
Not applicable
B1
status.operation.instrument.trigger_blender.trigger_overrun.BLND1
Bit B1 decimal
value: 2
B2
status.operation.instrument.trigger_blender.trigger_overrun.BLND2
Bit B2 decimal
value: 4
B3
status.operation.instrument.trigger_blender.trigger_overrun.BLND3
Bit B3 decimal
value: 8
B4
status.operation.instrument.trigger_blender.trigger_overrun.BLND4
Bit B4 decimal
value: 16
B5-B15 Not
used
Not applicable
As an example, to set bit B1 of the operation status trigger blender overrun enable register, set
status.operation.instrument.trigger_blender.trigger_overrun.enable =
status.operation.instrument.trigger_blender.trigger_overrun.BLND1
.
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 B4, set
operationRegister
to 18 (which is the sum of 2 + 16).
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
)
Содержание 2657A
Страница 3: ......