03-03-2011 04:45 AM
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:
on the other hand, the com port option for sensor reading is done by I/O selector.
could anyone give me a solution?
03-04-2011 09:43 AM