Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-280
2600BS-901-01 Rev. B / May 2013
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
Operation Status Registers
(on page E-9)
status.operation.instrument.lan.trigger_overrun.*
(on page 7-280)
status.operation.instrument.lan.trigger_overrun.*
This attribute contains the operation status LAN trigger overrun register set.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute
- -
- -
- -
- -
.condition (R)
Yes
Not applicable
Not saved
Not applicable
.enable (RW)
Yes
Status reset
Not saved
0
.event (R)
Yes
Status reset
Not saved
0
.ntr (RW)
Yes
Status reset
Not saved
0
.ptr (RW)
Yes
Status reset
Not saved
510 (All bits set)
Usage
operationRegister
= status.operation.instrument.lan.trigger_overrun.condition
operationRegister
= status.operation.instrument.lan.trigger_overrun.enable
operationRegister
= status.operation.instrument.lan.trigger_overrun.event
operationRegister
= status.operation.instrument.lan.trigger_overrun.ntr
operationRegister
= status.operation.instrument.lan.trigger_overrun.ptr
status.operation.instrument.lan.trigger_overrun.enable =
operationRegister
status.operation.instrument.lan.trigger_overrun.ntr =
operationRegister
status.operation.instrument.lan.trigger_overrun.ptr =
operationRegister
operationRegister
The status of the operation status LAN trigger overrun register; a zero (0) indicates
no bits set (also send 0 to clear all bits); other values indicate various bit settings
Details
These attributes are used to read or write to the operation status LAN trigger 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
2.02
(which is 258) is read as the value of the condition register, the binary equivalent is
0000 0001 0000 0010. This value indicates that bit B1 and bit B8 are set.
Содержание System SourceMeter 2601B
Страница 841: ......