Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-172
707B-901-01 Rev. B / January 2015
Details
This attribute only exists for a slot if that slot has no card installed in it. If a card is installed, the
response is
nil
when queried. If no card installed and the slot is empty, the response is 0.
After assigning a pseudocard, the valid commands and attributes based on that pseudocard exist for
that slot. For example, the
slot[
X
].idn
attribute is valid.
Changing the pseudocard card assignment from a card to
slot.PSEUDO_NONE
invalidates existing
scan lists that include that slot.
Example 1
myPseudoCard = slot[3].pseudocard
if myPseudoCard == 7072 then
print("Pseudo-7072 in Slot #3")
end
If slot 3 is configured to have a 7072 pseudocard,
the following message is output:
Pseudo-7072 in Slot #3
Example 2
slot[1].pseudocard = 0
print(slot[1].idn)
slot[1].pseudocard = 7072
print(slot[1].idn)
slot[1].pseudocard = 0
print(slot[1].idn)
slot[1].pseudocard = 7070
print(slot[1].idn)
This example requires an empty slot.
The slot is set to empty and then set to a valid value.
Output:
Empty Slot
7072,Pseudo 8x12 SemiMatrix,00.00a,????????
To change the pseudocard, set the slot to empty again,
then define the new card.
Output:
Empty Slot
7070,Universal Adapter Card,00.00a,????????
Also see
(on page 5-13)
(on page 7-168)
status.condition
This attribute stores the status byte condition register.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not saved
Not applicable
Usage
statusByte
= status.condition
statusByte
The status byte; a zero (0) indicates no bits set; other values indicate various bit
settings
Details
This attribute is used to read the status byte, which is returned as a numeric 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.