
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-375
In addition to the above constants, when more than one bit of the register is set,
statusByte
equals
the sum of their decimal weights. For example, if 129 is returned, bits B0 and B7 are set (1 + 128).
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
)
Example
statusByte = status.condition
print(statusByte)
Returns
statusByte
.
Sample output:
1.02
Converting this output (129) to its binary equivalent yields 1000
0001
Therefore, this output indicates that the set bits of the status
byte condition register are presently B0 (MSS) and B7 (OSB).
Also see
Status byte and service request (SRQ)
(on page C-15)
status.measurement.*
These attributes contain the measurement event 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
399 (All bits set)
Usage
measurementRegister
= status.measurement.condition
measurementRegister
= status.measurement.enable
measurementRegister
= status.measurement.event
measurementRegister
= status.measurement.ntr
measurementRegister
= status.measurement.ptr
status.measurement.enable =
measurementRegister
status.measurement.ntr =
measurementRegister
status.measurement.ptr =
measurementRegister
measurementRegister
The status of the measurement event register; a zero (0) indicates no bits
set (also send 0 to clear all bits);the only valid value other than 0 is 8