Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-183
Details
Although the status logical instrument reset affects these attributes, a system reset does not.
This attribute's values are set using a constant or a decimal value, but are returned as a decimal value.
The binary equivalent of the value indicates which register bits are set. In the binary equivalent, the least
significant bit is bit B0, and the most significant bit is bit B15. For example, if a value of
1.04
(which is
10,240) is read as the value of the condition register, the binary equivalent is
0010 1000 0000 0000
. This
value indicates that bit B11 and bit B13 are set.
B15
B14
B13
B12
B11
B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
** > > > > > > > > > > > > > > *
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
* Least significant bit
** Most significant bit
Assigning a value to this attribute enables one or more status events. When an enabled status event occurs, the
corresponding bit is set in the event register. The individual bits of the status byte condition register can be set to
the following described values (for example, to set the enable bit to B9 of the system summary status register
questionable, set
status.questionable.enable = status.questionable.S1THR)
:
Bit Value
Description
B0 to B8
Not used
Not available
B9
status.questionable.S1THR
status.questionable.SLOT1_THERMAL
Bit 9 decimal value: 512
B10
status.questionable.S2THR
status.questionable.SLOT2_THERMAL
Bit 10 decimal value: 1,024
B11
status.questionable.S3THR
status.questionable.SLOT3_THERMAL
Bit 11 decimal value: 2,048
B12
status.questionable.S4THR
status.questionable.SLOT4_THERMAL
Bit 12 decimal value: 4,096
B13
status.questionable.S5THR
status.questionable.SLOT5_THERMAL
Bit 13 decimal value: 8,192
B14
status.questionable.S6THR
status.questionable.SLOT6_THERMAL
Bit 14 decimal value: 16,384
B15
Not used
Not available
In addition to the above constants,
quesRegister
can be set to the decimal equivalent of the bit to set. To set
more than one bit of the register, set
quesRegister
to the sum of their decimal weights. For example, to set
bits B11 and B14, set
quesRegister
to 18,432 (which is the sum of 2048 + 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 1024 512 256
Weights (2
15
) (2
14
) (2
13
) (2
12
) (2
11
) (2
10
) (2
9
) (2
8
)
Example 1
quesRegister = status.questionable.S1THR +
status.questionable.S3THR
status.questionable.enable = quesRegister
Sets BIT9 and BIT11 of the status
questionable enable register using
constants.