I am using a Mega 2560. I am able to run the Auto Detect vi with no problems. When trying to run the Blink M or any of the examples I am getting: Error -1073807343 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->LabVIEW Interface for Arduino.lvlib:Init.vi->LabVIEW Interface for Arduino.lvlib:BlinkM Example.vi
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
The error is comming from the VISA Configure Serial Port VI
This is usually caused by an Arduino driver issue. Try unplugging the Arduino (USB) and reconnecting it. Check the serial port assigned to it in device manager and try manually specifiying the port by creating a constant on the VISA Resource input to the Init.vi.
If that does not work find the Arduino in device manager and right click>>Uninstall. Then unplugg the Arduino (USB) and reconnect it. Windows should reinstall the driver and you should be good to go.
I have seen this a couple times, usually after I do something I shouldn't like unplug the arduino while labview is talking to it, or apply power backwards (good things arduinos are pretty rugged).
Let us know if this helps.
Ok that got passed the 1073807343 error.
Now I am getting the 5003 error. Is there a way to test the serial communications from the serial monitor?
You cannot test the serial communication with the Arduino serial monitor or putty or hyperterminal becaues they prevent data from passing to between the Arduino and LV correctly. You can however use NI SPY or portmon to watch the data being sent by LIFA on the serial port.
I am getting 5002 and 5003 error codes. I am able to send the packet to the Arduino, but I am not getting a return code "SYNC"
The timeout is set to "10000".