Racal Instruments 1260-82 User Manual page 25

1260 vxi switching card, vxi optical switch
Table of Contents

Advertisement

1260-82 User Manual
Example:
A command is sent to the 1260-82 to close channel
2, the command is immediately followed by an *OPC? query to
the same 1260-82.
1. Write to the 1260-82 VXI address:
CLOSE(@8(2)); *OPC?
2. Read from 1260-82 the VXI address:
1
Up to 15 milliseconds may be required before the CLOSE(@8(2))
command is completed and the *OPC? produces a "1" in the
1260-01T output queue. After the *OPC? query is sent to
the1260-82, the programmer should immediately attempt a read
instruction from the controller. The programmer's controller will
wait until the 1260-82 finishes all adjustments and the *OPC
query provides a "1" to be read.
It is important that you remember to set the time-out
of the controller's READ instruction to be greater than
the longest time possible for the 1260-82 to make any
channel changes (up to 15 msecs may be required to
make large changes to the optical switch.
You can also have the OPC bit of the SESR set by using the
command form of *OPC instead of the query form. By setting the
OPC bit to "1" via an *OPC command, an event will be generated
assuming the user has enabled the proper register bits.
• Advanced programmers can develop other methods to
accomplish the set-and-wait-until-complete routine utilizing
the event queues and status registers provided in the 1260-
01T controller. Refer to the 1260 Option 01T Users Manual
Publication No. 980806-999.
NOTE:
Module Operation 3-5

Advertisement

Table of Contents
loading

Table of Contents