
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-382
3700AS-901-01 Rev. D/June 2018
Bit
Value
Description
B0
status.operation.CALIBRATING
status.operation.CAL
Set bit indicates that the DMM is calibrating.
Bit B0 decimal value: 1
B1-B3
Not used
Not applicable
B4
status.operation.MEASURING
status.operation.MEAS
Set bit indicates that DMM is measuring.
Bit B4 decimal value: 16
B5-B9
Not used
Not applicable
B11
status.operation.PROMPTS
status.operation.PRMPTS
Set bit indicates that the command prompts
are enabled.
Bit B11 decimal value: 2,048
B12
status.operation.USER
Set bit indicates that the summary bit from
the
status.operation.user
register is
set.
Bit B12 decimal value: 4,096
B14
status.operation.PROGRAM_RUNNING
status.operation.PROG
Set bit indicates that a command or program
is running.
Bit B14 decimal value: 16,384
B15
Not used
Not applicable
As an example, to set bit B12 of the operation status enable register, set
status.operation.enable
= status.operation.USER
.
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 B12 and B14, set
operationRegister
to 20,480 (which
is the sum of 4,096 + 16,384).
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
)
The used bits of the operation event registers are:
•
Bit B0, CAL - Set bit indicates that the instrument is calibrating.
•
Bit B4, MEAS - Bit is set when taking a measurement.
•
Bit B11, PRMPTS - Set bit indicates that command prompts are enabled.
•
Bit B12, USER - Set bit indicates that an enabled bit in the operation status user register is set.
•
Bit B14, PROG - Set bit indicates that a program is running.
Example 1
operationRegister = status.operation.USER + status.operation.PROG
status.operation.enable = operationRegister
Sets the USER and PROG bits of the operation status enable register using constants.