ADAP.vi

ADAP.vi receives the array sent via TCP from Data Server (e.g.OPER.vi). Once a TCP connection is open, the VI reads 4 bytes to determine the amount of data being sent. It then reads that many bytes and displays the array. If an error occurs or the STOP button is pressed, it sends a "Q" to the Data Sender to notify it to quit. After translations of the array's elements into commands for the motors the subvi COMMAND.vi these instructions are displayed too.

E.g. SET2=20000

START

means: move the motor no. 2 to the absolute position 20000.

The translation is timed by 5000ms per motor.

The indicator CALLS shows the number of received interface arrays.


Connector Pane

ADAP.vi


Front Panel

ADAP.vi


Block Diagram

ADAP.vi

ADAP.vi

ADAP.vi