08-05-2013 03:41 PM
Hello,
I've been attempting to run a simple program in labview across my Arduino Uno R3 all morning and keep running into the same issue: No response from my board. I'll catch you up on what I've done so far:
- flashed LIFA Base to my Arduino
- downloaded the up-to-date VISA driver
- wrote a (hopefully) functional block diagram for a led on off function
When I execute the program in labview, the RX light flashes intermittenly, continuing for 30 seconds before stopping. The pin 13 LED doesn't turn off as it should, and I have no control over the LED on/off feature. I've also tried a servo control program with no response and the same RX flash. The TX never flashes.
I am pretty stuck, so any help is greatly appreciated. Also I'm not a comp sci guy, I'm just a mechanical engineer with one semester of C++ so keep it pg when it comes to the computer language.
I've attached a picture of my LED block diagram, see if you can spot an issue.
Thanks in advanced!
Solved! Go to Solution.
08-05-2013 04:11 PM
Hi,
I have had lot of trouble getting Arduino to respond to LabVIEW. You can search for other posts in this regard.
I suggest writing the code in the native scripting language and using LabVIEW for the UI, sending triggers, and other DAQ I/O
Ajay
08-05-2013 05:07 PM
hello,
try to download the arduino software 1.0.5.then enter the software click on file>open...>hard disk c:(for example)>program files>national instruments>labview>vi.lib>labview interface for arduino>firmware>lifa_base>lifa_base.
then upload the file on your chip , close the software , enter labview and launch your vi it should work.
if you didn't understand you can follow the steps mentioned in a youtube video..enter youtube.com >labview arduino..watch the first video that appears.
08-05-2013 05:24 PM
@ thespecialone, I have already uploaded the lifa_base sketch onto my arduino, and have even uploaded other sketches that functioned perfectly to the arduino prior to my attempts at labview control. I don't believe the issue is with the flashing aspect of the process I'm fairly confident that was done correctly.
08-05-2013 06:41 PM
RESOLVED: Reset Arduino board after labview had sent it's commands (while RX light was still blinking). Works like a charm.
11-14-2013 06:16 PM
add other useful links, greetings
http://vishots.com/getting-started-with-the-labview-interface-for-arduino/
08-15-2018 06:13 AM
I also had the same problem tried everything with no joy. So then as a last resort I tried altering the value in my Arduino close loop block. Please try this. Double click on the Arduino close loop block and this takes you to the control page with the settings on, change the value from 15 bytes per packet to 30 and this works a dream hope this helps.
04-05-2022 06:01 AM
This worked for me! can anyone explain why it only worked with the older version from the video and why it isn't possible with the latest version. If it is possible to use the latest IDE 1.8.19 (as of this post) then please provide instructions thank you.