Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-185
The individual bits of the status byte condition register can be set using constants (for example, to set the enable
bit of the status register to B0, set
status.request_enable = status.MSB)
. The following table contains
descriptions of the bits and available values:
Bit Value
Description
B0
status.MEASUREMENT_SUMMARY_BIT
status.MSB
Set summary bit indicates that an enabled measurement
event has occurred.
Bit 0 decimal value: 1
B1
status.SYSTEM_SUMMARY_BIT
status.SSB
Set summary bit indicates that an enabled system
event has occurred.
Bit 1 decimal value: 2
B2
status.ERROR_AVAILABLE
status.EAV
Set summary bit indicates that an error or status message
is present in the Error Queue.
Bit 2 decimal value: 4
B3
status.QUESTIONABLE_SUMMARY_BIT
status.QSB
Set summary bit indicates that an enabled questionable
event has occurred.
Bit 3 decimal value: 8
B4
status.MESSAGE_AVAILABLE
status.MAV
Set summary bit indicates that a response message is
present in the Output Queue.
Bit 4 decimal value: 16
B5
status.EVENT_SUMMARY_BIT
status.ESB
Set summary bit indicates that an enabled standard event
has occurred.
Bit 5 decimal value: 32
B6
Not used.
Not applicable.
B7
status.OPERATION_SUMMARY
status.OSB
Set summary bit indicates that an enabled operation event
has occurred.
Bit 7 decimal value: 128
In addition to the above values,
requestSRQEnableRegister
can be set to the decimal equivalent of the bit to
set. To set more than one bit of the register, set
requestSRQEnableRegister
to the sum of their decimal
weights. For example, to set bits B0 and B7, set
requestSRQEnableRegister
to 129 (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 1
requestSRQEnableRegister = status.MSB +
status.OSB
status.request_enable = requestSRQEnableRegister
Sets the MSB and OSB bits of the
request SRQ enable register using
constants.
Example 2
-- decimal 129 = binary 10000001
requestSRQEnableRegister = 129
status.request_enable = requestSRQEnableRegister
Sets the MSB and OSB bits of the
request SRQ enable register using a
decimal value.
Also see
(on page 7-190)
Status byte and service request (SRQ)