LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino UNO R3 and LIFA 2012 won't communicate

I can't seem to get my VI and arduino UNO to communicate again. A few weeks ago I was able to read data from a sensor attached to my UNO and have the data sent to LabVIEW via XBEE just fine. I tried to change the baud rate of the UNO, XBEE, and LabView to try and get more accurate results and the computer crashed on me. Ever since I can't get arduino and LabView to communicate again. I get the 5002 Error as many others seem to be getting or it just keps running and wont stop unless I hit abort. I have moved to a new computer, have opened up a new arduino UNO, created a new simple Analog Read VI, and am connected to LabView via USB. I have the UNO now set to a baud of 9600, and am able to get a readout on both the arduino 1.0.3 software as well as NMITerm. I know the COM Port is right and is open for communication, but I can't figure out why they won't talk. The task manager also recognizes the UNO attached to the COM port. When I run the VI RX is flashing while TX is just lit up. I think this means the arduino is receiving a signal but not sending anything out. I am lost. Any help is greatly appreciated. I also attached my Analog Read VI if its any help. Thanks.

0 Kudos
Message 1 of 2
(3,442 Views)

What version of LIFA are you using?  (There is no such thing as "LIFA 2012")

When posting VIs, save it for LabVIEW 2009 so those of us who have a earlier version can try to help.  Having not seen your VI, did you set the correct baud rate for Init.vi?  The default for UNO is 115200.

0 Kudos
Message 2 of 2
(2,801 Views)