04-11-2017 03:56 PM
I have a same problem. I'm using Arduino tools in LabVIEW, and when I'm going to init. i/o port then there is no such option for selecting COM port.
Can this Problem resolve by these steps?
please help me in this matter.
Please
04-14-2017 04:58 PM - edited 04-14-2017 04:59 PM
Can you use it with the Arduino IDE? If no, you need to install the Arduino drivers. If it does work with the Arduino IDE, you may need to install or re-install NI VISA. Also, make sure that you close the Arduino IDE before trying to communicate with the Arduino with LabVIEW.
Also remember that LIFA is no longer under development and has been replaced by LINX.
04-15-2017 12:25 AM
OK
Thank You so much for your help
I had also stuck in a problem i.e. Error 5002
but
Now its working Properly
Thanks
05-16-2017 03:47 AM
hey guys, i am facing related problem.. when i load program in arduino, and run my vi it works pefectly but when i try to change the arduino code and load it again i got error:
*//Arduino: 1.8.1 (Windows 7), Board: "Arduino/Genuino Uno"
Sketch uses 2674 bytes (8%) of program storage space. Maximum is 32256 bytes.
Global variables use 198 bytes (9%) of dynamic memory, leaving 1850 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\\.\COM5": The system cannot find the file specified.
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.//*
and when i close labview window completely then i can load the program in arduino ide.
but i dont want to do this.
so is there any way to load different programs in arduino IDE without facing this error?
05-21-2017 02:02 PM
You need to make sure that you close the port in LabVIEW before you try to use the port with any other application. This often happens when you fail to call the "close" function. Even if you have the "close" function in your program, if you use the abort button, it will never get called.
Also, I highly recommend upgrading to LINX.