LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows 7 & Labview2012 & Arduino Uno R3 Communication Issues

I don't know what the protocol is here in posting a new question. That is whether to add to an exisiting thread or start a new....obviously I've chosen the latter. I've documented (to some extent) the procedure to start communicating with my Arduino. I'm a hobbyist and trying to make a Labview purchasing decision. It seems that there is "communication" between Labview and the Arduino when trying to utilize "Arduino Analog Read Pin.vi" example. The Arduino indicates a continous TX on condition and the RX light is pulsing at a very high frequency. There is no change in "Arduino Analog Read Pin.vi" voltage indicator when I turn the "pot".

What I have tried.

  • The equivalent Arduino example executes in the Arduino sketch environment. This was implemented to isolate whether I had wired the board correctly.
  • I've tried hardwiring the "init.vi" with COM3 and 9600 baud with no joy.

What am I missing? Thanks for the help.

Install LabVIEW

  • Evaluation version 12.0f3 (32-bit)

2. Install the NI-VISA drivers.

3. Install JKI VI Package Manager (VIPM) Community Edition (Free).

This is loaded now

4. Install the LabVIEW Interface for Arduino as described in KB 5L38JQYG

  • See above

5. Connect your Arduino to your PC as described in KB 5INA7UYG


6. Load the LabVIEW Interface for Arduino Firmware onto your Arduino as described in KB 5LPAQIYG

     (We are working to fix the above document


LIFA_Base.ino - version 7/22/2012 1:29 pm


The following is not part of the suggested install.

7. Trying to execute the  "Arduino Analog Read Pin.vi" example.

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

I've tried hardwiring the "init.vi" with COM3 and 9600 baud with no joy.

After reading through more possible solutions I hardwired the baudrate 115200 v. the 9600 above and it seems to be working.

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

Hey kmc22,

Thanks for the detailed post.  It sounds like you were able to fix the problem by setting the baud rate in LabVIEW to 115200.  This is the default baud rate in the LIFA firmware and the baud rate used in LabVIEW has to match the setting in the Arduino firmware.

-Sam K

LIFA Developer

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