HP 86060C Series User Manual page 88

Lightwave switches
Table of Contents

Advertisement

Programming
Example 3: Switch position using the *OPC command
200
Start REPEAT loop.
210
Send the *ESR? command to the switch. This queries the
switch for the Event Status Register value.
220
Read the value of the Event Status Register.
230
If the LSB of the ESR is 1 (that is, the switch is settled),
exit the loop. If the LSB is 0 (that is, switch is moving),
then loop back to line 200.
240
Return from subroutine.
4-38

Advertisement

Table of Contents
loading

This manual is also suitable for:

86060c86061c86062c

Table of Contents