LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Arduino as a Compiled Standalone Program

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.

0 Kudos
Message 1 of 3
(4,096 Views)

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?

0 Kudos
Message 2 of 3
(2,897 Views)

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.

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 3
(2,897 Views)