Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-199
Details
Although the status logical instrument reset affects these attributes, a system reset does not.
In an expanded system (TSP-Link), these attributes are used to read or write to the system summary registers.
They 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.02
(which is 130) is read as the value of the
condition register, the binary equivalent is
0000 0000 1000 0001
. This value indicates that bit B1 and bit B7
are set.
B15
B14
B13
B12
B11
B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
** > > > > > > > > > > > > > > *
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
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, a
summary bit is set in the appropriate system summary register. The register and bit that is set depends on the
TSP-Link node number assigned to this instrument. 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 B1 of the system summary status
register set 5, set
status.system5.enable = status.system5.NODE57
):
Bit Value
Description
B0
Not used
Not applicable
B1
status.system5.NODE57
Bit 1 decimal value: 2
B2
status.system5.NODE58
Bit 2 decimal value: 4
B3
status.system5.NODE59
Bit 3 decimal value: 8
B4
status.system5.NODE60
Bit 4 decimal value: 16
B5
status.system5.NODE61
Bit 5 decimal value: 32
B6
status.system5.NODE62
Bit 6 decimal value: 64
B7
status.system5.NODE63
Bit 7 decimal value: 128
B8
status.system5.NODE64
Bit 8 decimal value: 256
B9-B14
Not used
Not applicable
In addition to the above constants,
enableRegister
can be set to the decimal equivalent of the bit to set. To
set more than one bit of the register, set
enableRegister
to the sum of their decimal weights. For example, to
set bits B1 and B4, set
enableRegister
to 18 (which is the sum of 2 + 16).
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
enableRegister = status.system5.
status.system5.NODE60
status.system2.enable = enableRegister
Sets BIT1 and BIT5 of the status system
enable register set 5 using constants.