Hello,
I am using Arduino Mega 2560, interfacing it using LabVIEW 2013. The VI runs smoothly most of the times, but sometimes it gives error 5002, randomly.
I have checked and double-checked on the COM port and LIFA firmware. I also have nothing connected to the Rx-Tx pins of Arduino, and the firmware uploads correctly.
Whenever I get this error, it gets resolved if I connect-reconnect arduino, or restart my computer, or even LabVIEW,
I think this has to do with some garbage value being accumulated over the serial port maybe ? Any help will be surely appreciated.