
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-275
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
status.operation.instrument.lan.CONNECTION
status.operation.instrument.lan.CON
Set bit indicates that the LAN cable
is connected and a link has been
detected.
Bit B0 decimal value: 1
B1
status.operation.instrument.lan.CONFIGURING
status.operation.instrument.lan.CONF
Set bit indicates the LAN is
performing its configuration
sequence.
Bit B1 decimal value: 2
B2-B9
Not used
Not available
B10
status.operation.instrument.lan.TRIGGER_OVERRUN
status.operation.instrument.lan.TRGOVR
Set bit indicates one or more
enabled bits for the operation status
LAN trigger overrun register is set.
Bit B10 decimal value: 1,024
B11-B15 Not used
Not applicable
As an example, to set bit B0 of the operation status LAN summary enable register, set
status.operation.instrument.lan.enable
= status.operation.instrument.lan.CON
.
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 1,024 512 256
Weights
(2
15
) (2
14
) (2
13
) (2
12
) (2
11
) (2
10
) (2
9
) (2
8
)
Example
operationRegister =
status.operation.instrument.lan.CONF +
status.operation.instrument.lan.TRGOVR
status.operation.instrument.lan.enable = operationRegister
Use constants to
set bit B1 and bit
B10 of the
operation status
LAN summary
enable register.
Also see
status.operation.instrument.lan.trigger_overrun.*
Содержание 2657A
Страница 3: ......