Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

LINX blink example error 5003 using Arduino Uno Rev 2

Hello!

 

I am trying to get my Arduino Uno Wifi Rev 2 to communicate with labVIEW 2020SP1. When I go through the firmware wizard and open the blink example, it outputs an error (below) and the RX LED blinks in yellow rapidly.

 

"Error 5003 occurred at :

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

 

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

     Interface: Serial
     COM Port: COM3"

 

I'm not really sure what to check next. I made sure there are no other open connections to the Arduino Uno Wifi and I have Diligent LINX and LabVIEW Interface for Arduino packages installed. Any advice is appreciated!

0 Kudos
Message 1 of 12
(279 Views)

First off lets make sure you have the correct software.  Based on what you have written here it is a bit confusing what you are using.  Are you using the Community Edition or a Commercial license?  If you are using the Community Edition then you should NOT install the LINX package as it comes with the Community Edition add installing the package through VIPM will mess this up.

 

If you are using a Commercial license then check out this post where I document the software I had to install for LINX to work with LabVIEW 2020 Professional.

David Wilt
The New Standard LLC
0 Kudos
Message 2 of 12
(265 Views)

Sorry for the confusion, I am using the Instructional Use License. I also checked out the post you suggested and I don't have the LINX toolkit listed in my VIPM. It only lists Digilent LINX, LINX Rasberry Pi Addons, and Xilinx ChipScopePro. I do have LabVIEW RT 2020 downloaded. 

 

Thank you,

Jamie

0 Kudos
Message 3 of 12
(245 Views)

Digilent Linx is for LabVIEW 2014. You need the NI Linx or NI Hobbist Toolkit download for LabVIEW 2020.

 

https://www.ni.com/nl-nl/support/downloads/tools-network/download.labview-hobbyist-toolkit.html#3765...

Rolf Kalbermatter
Averna BV
0 Kudos
Message 4 of 12
(241 Views)

I agree with @rolfk, it sounds like you are using the Digilent LINX which only works with LabVIEW 2014.  Since you are not using the LabVIEW 2020 Community Edition you should install the LINX package from VIPM.

 

If you still have issues after doing this please include a screenshot of your VIPM so we can confirm what you have installed.

David Wilt
The New Standard LLC
0 Kudos
Message 5 of 12
(225 Views)

This is what I see when I search "LINX" in the VIPM:

jamiem638_5-1631117873386.png

 

I tried downloading it from the VIPM browser and got this error when trying to download it:

jamiem638_6-1631117894147.png

 

And this is what I have installed in the VIPM after uninstalling Digilent LINX:

jamiem638_7-1631117925045.png

 

I have the Hobbyist toolkit installed. Would this be some sort of licensing issue or am I missing another package I should have installed that is preventing me from installing the NI LabVIEW LINX Toolkit?

 

Thanks,

Jamie

0 Kudos
Message 6 of 12
(217 Views)

I see you are using LabVIEW 2020 64-bit.  I have not tried to use LINX with 64-bit but it is possible that it is not compatible as it says it is a 32-bit application.

 

LabVIEW Hobbyist Toolkit.jpg

 

You can try downloading it from this link and if it does does not work I would say it is not compatible with 64-bit LabVIEW.  This might be true because in LabVIEW 2020 RT was not fully supported in 64-bit.  In LabVIEW 2021 RT is supposed to be supported fully in 64-but so maybe this will change going forward.

 

Note: LabVIEW 2020 Community Edition which has LINK included is only available in 32-bit, https://www.ni.com/en-us/support/downloads/software-products/download.labview-community.html#411209.

David Wilt
The New Standard LLC
0 Kudos
Message 7 of 12
(214 Views)

I'm pretty sure the Linx Toolkit is even in 2021 not compatible with LabVIEw 64-bit. They are still working on porting all the drivers and Toolkits over to 64-bit. With 2021 they got most of it done, with some notable extensions (still no cRIO development support in 64-bit LabVIEW). The Linx Toolkit has a lower priority than the commercial drivers and Toolkits and therefore it would surprise me if they had done that already.

Rolf Kalbermatter
Averna BV
0 Kudos
Message 8 of 12
(209 Views)

Thank you for the information! What is the most recent version of LabVIEW that is compatible with the toolkit? 

 

Thanks,

Jamie

0 Kudos
Message 9 of 12
(185 Views)

The toolkit you are using only works with LabVIEW 2014 but there is an official toolkit with works with LabVIEW 2020 and 2021.  The toolkit only works for the 32-bit of these versions.

David Wilt
The New Standard LLC
0 Kudos
Message 10 of 12
(179 Views)