04-22-2013 10:07 PM
I am doing a small project using labview and arduino and am pretty new at this. I created the program in labview and it is running great on labview. Then i compiled it to an application (standalone program) and coppied the files over to another machine. The program runs, but no data are read from the arduino uno.
The Arduino uno is connected via USB, uses COM3 and takes an analog input. (it works on the labview development enviorenment, but not when its compiled and moved to a seperate computer).
So I'm wondering whether I have to do something else in-order for it to work. On the external computer I have only installed the arduino uno drivers and the labview runtime environment.
Any help is high appreciated.
04-23-2013 01:06 AM
Do you manually specify the COM port? If yes, you can't do this because it's unlikely that the Arduino will be on the same port.
Otherwise, do you get any errors?
04-23-2013 01:32 AM
LabVIEW uses VISA to communicate to serial ports. Unless you have already installed some other NI software on the second computer there is only a VERY small chance that it already has the NI-VISA drivers installed. So after creating the application also create an installer and besides adding the accoording LabVIEW runtime in the Additional Installs section also enable at least the VISA runtime support and possibly the Measurement & Automation Explorer in order to verify what serial ports the Arduino might be seen on on the other machine.