07-30-2012 08:42 AM
I have a new laptop with windows 7, the arduino R3 and labview 2011 with arduino tool kit. I can successfully connect to the arduino and flash an LED off and on but I fail to connect to the arduino half the time. I stop labview
unplug the arduino and try again and it works. Any ideas why serial connection only works 50% of the time?
Thank you for any help.
07-30-2012 01:09 PM
i have the same problem...i am trying to figure out why this %50 thing? i can reconnect after a disconnect from labview, but i beleive you have to let the caps on the pcb discharge a bit by waiting 30 secs and verifying that the serial port is available through the "arduino .exe". may not be the solution for you....
07-30-2012 02:13 PM
OK, but I never have a problem downloading code to the arduino board using the serial port and Arduino software? It must be a Labview serial connection thing. Thank you for the reply.
07-30-2012 11:15 PM
If you properly close the Arduino through LabVIEW it should work 100% of the time. This is the biggest reason that I've seen that it does not work after running it at least once. Therefore, you should NEVER use the force stop button in LabVIEW when working with LIFA.
07-31-2012 08:14 AM
True, I was stopping labview with a force stop in the menu bar instead of the stop loop which did not let the close connection VI run as the last step. Once I got a connection and stopped my labview program properly it worked 100% of the time. Thank you!
07-31-2012 06:08 PM
Hey no problem. It happens A LOT and it happened to me too. Good luck on your project.