Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write a program with two interfaces in it?

Hi all,

 

i write two seperate programs which can control a step motor and read data from a sensor. the two setups are connected to pc by two different usb com ports.now i try to combine them to one program and run it. however, the motor control works properly and sensor reading doesn't. i tried to use different loops to make it happen but failed. btw, the com port option(sub VI) for motor control is done by an interface as shown below:

untitled.JPG

on the other hand, the com port option for sensor reading is done by I/O selector.

could anyone give me a solution?

0 Kudos
Message 1 of 2
(2,884 Views)

please attach your code. Normally it is easy to have more than one interface supported.

LabVIEW glues instruments together.

greetings from the Netherlands
0 Kudos
Message 2 of 2
(2,855 Views)