Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-183
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 1
questionableRegister = status.questionable.S1THR
+
status.questionable.S3THR
status.questionable.enable = questionableRegister
Uses constants to set bits B9 and B11 of
the status questionable enable register.
Example 2
-- decimal 2560 = binary 00001010 0000 0000
questionableRegister = 2560
status.questionable.enable = questionableRegister
Uses a decimal value to set bits B9 and
B11 of the status questionable enable
register.
Also see
None
status.request_enable
This attribute stores the service request (SRQ) enable register.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Status reset
Not saved
0
Usage
requestSRQEnableRegister
= status.request_enable
status.request_enable =
requestSRQEnableRegister
requestSRQEnableRegister
The status of the service request (SRQ) enable register; a zero (0)
indicates no bits set (also send 0 to clear all bits); other values indicate
various bit settings
Details
This attribute is used to read or write to the service request enable register. Reading the service
request enable register returns a value. The binary equivalent of the value of this attribute indicates
which register bits are set. In the binary equivalent, the least significant bit is bit B0, and the most
significant bit is bit B7. For example, if a value of
1.02
(which is 129) is read as the value of
this register, the binary equivalent is 1000 0001. This value indicates that bit B0 and bit B7 are set.