LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview interface to Lattepanda Leonardo Error 5003

Hello, 

 

I am trying to interface LabVIEW 2024 Q4, community edition in Lattepanda with the onboard Arduino Leonardo board(COM 3). I keep getting the following error, 

 

Error 5003 occurred at :

Open Serial.vi >>
Initialize.vi >>
Initialize Device.vi >>
Synchronize.vi

Possible reason(s):

LabVIEW was unable to connect to the LINX device using the following settings:

Interface: Serial
COM Port: COM3

I am using the makerhub to update firmware as follows, 


 

labview_makerhub.png

 

I have tried some solutions in NI. But not sure why it keeps persisting. 

Kindly help solve this problem.

 

Thanks

0 Kudos
Message 1 of 2
(427 Views)

Hi  ShreenhithyVS ,

the issue stems from an uninitialized variable checksum in the LINX/LIFA firmware. 

As documented by Thomas Plummer ( Solved: Arduino - Labview Error 5003 - NI Community ), the fix involves a simple modification to the firmware code:

  • Locate the section of the firmware where the checksum is calculated.
  • Add the line: checksum=0 before the checksum calculation begins.
  • Save the changes and re-upload the firmware to the Arduino board.

Regards

0 Kudos
Message 2 of 2
(52 Views)