LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1073807343

0

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

Possible reason(s):

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

0 Kudos
Message 1 of 6
(11,531 Views)

TheBigPill,

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.

-Sam

LIFA Developer

0 Kudos
Message 2 of 6
(4,373 Views)

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?

0 Kudos
Message 3 of 6
(4,373 Views)

TheBigPill,

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.

-Sam K

LIFA Developer

0 Kudos
Message 4 of 6
(4,373 Views)

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". 

0 Kudos
Message 5 of 6
(4,373 Views)

TheBigPill,

Check out this thread:

https://decibel.ni.com/content/thread/9762?tstart=0

If nothing in there solves your issue please post there.

Sam K

LIFA Developer

0 Kudos
Message 6 of 6
(4,373 Views)