
Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-173
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 7-169)
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 byte condition register's status returned as a decimal. A zero (0) indicates no
bits set. Other decimal values indicate various bit settings.
Details
This read-only attribute's value is 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
B7. For example, if a value of
1.02
(which is 129) is read as the value of the condition register, the
binary equivalent is
10000001
. This value indicates that bit B0 and bit B7 are set.
B7
B6
B5 B4 B3 B2 B1
B0
Most
significant
bit
>
> > > > >
Least
significant
bit
1
0
0
0
0
0
0
1
The returned value can indicate one or more status events occured. When an enabled status event occurs, a
summary bit is set in this register to indicate the event occurrence.