4-36
Programming
Example 2: Switch position using the Status Byte Register
Description
Line No.
10 to 170
Same as in Example 1 except for declaration of
Status_byte
.
190 to 240
The new
Wait_to_settle
subroutine.
200
Start
REPEAT
loop.
210
Send the *STB? command to the switch. This queries the
switch to return the value of the status byte.
220
Read the status byte.
230
If the LSB (Least Significant Bit) of the status byte is
0 (that is, the switch is settled), exit the loop. If the LSB is
1 (that is, the switch is moving), then loop back to line 200.
240
Return from subroutine.
Summary of Contents for 86060C Series
Page 1: ...User s Guide HP 86060C Series Lightwave Switches ...
Page 18: ...1 12 General Information Specifications and Regulatory Information ...
Page 46: ...3 6 Using the Switch Changing Switch Position Changing Switch Position ...
Page 93: ...5 Spare Channel Replacement Procedure 5 4 Electrostatic Discharge Information 5 7 Servicing ...
Page 104: ...Index 4 Index ...