10-27-2019 08:39 PM
Hi,
I am trying to use the LabVIEW interface with Arduino on a simple blinking code. I have tried the code using Arduino and it works. When I run it from labview only the RX light on the Arduino board blinks for a few seconds and then a 5003 errors appears on the screen (refer to error picture below). I am not sure what I am doing wrong. I am using the VIPM 2019 version with 2019 version of Labview. I have correctly install arduino and its drivers and uploaded LIFA to the board. From the device manager I can see that arduino is connected to COM3 which is what i am using in my code.
I am not sure what to do please help.
Solved! Go to Solution.
10-29-2019 04:48 AM
Hello John
Hope you have seen this NI support page.
If the solution provided in the above link doesn't work, please try to download lower version of Arduino IDE (like 1.0.6), you can find older Arduino IDE versions below. This worked for most of us.
https://www.arduino.cc/en/Main/OldSoftwareReleases
-Rahul
Hit KUDOS for Thanks
10-29-2019 04:55 AM - edited 10-29-2019 04:57 AM
And you can place the Set Digital Pin VI ( that is used to set the pin as output) outside the while loop.I personally found LINX toolkit user friendly than 'LabVIEW interface for Arduino' toolkit because it contains good example VIs
-Rahul
Hit KUDOS for Thanks
10-29-2019 04:55 AM
As the link already given suggests, you might have better luck with LINX than LIFA.
That aside, you could also consider the following (but neither of these are your problem);
Also, just to get the obvious questions out of the way, are you using an Arduino Uno over USB? Is that the correct baud rate? 🙂
10-29-2019 02:51 PM
Yes, that's what I ended up doing. I just used LINX and converted the code I had and it worked perfectly.