Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-187
In addition to the above constants,
requestEventRegister
can be set to the decimal equivalent of the bit(s)
set. When more than one bit of the register is set,
requestEventRegister
contains 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
requestEventRegister = status.request_event
print(requestEventRegister)
Reads the status request event register.
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 request event register are presently
B0 (MSB) and B7 (OSB).
Also see
(on page 7-190)
Status byte and service request (SRQ)
status.reset()
This function resets all bits in the system status model.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
status.reset()
Details
This function clears all status data structure registers (enable, event, NTR, and PTR) to their default values.
Example
status.reset()
Resets the system status model.
Also see
None