Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Device interrogation failed: unable to connect to the target

Solved!
Go to solution

Trying to connect to Raspberry Pi, following udemy course. Already had Labview 2021 community edition installed. Long story short - Uninstalled everything & started again. Installed Labview 2020 on PC, Raspbian 2019 on Pi. Can connect through puTTY & VNC viewer, but not through Labview.

 

Any suggestions??

0 Kudos
Message 1 of 18
(705 Views)

Is this a new installation of Rasbian from when you used LabVIEW 2021?  I am assuming you are using the LabVIEW 2020 Community Edition.

 

You have not provided any details as to the issue so is all I have right now.

David Wilt
The New Standard LLC
0 Kudos
Message 2 of 18
(697 Views)

I had already installed 2021 community edition when I came across the instructions to connect Labview to Raspberry PI. Failed to connect. Instructions were insistent the 2020 community edition must be used - warned not to use SP1 (won't work apparently) I then removed all traces of Labview through package manager. Removed package manager & ran registry cleaner. Installed Labview 2020 community edition. Tried to follow instructions on various forums with the Pi installation, but nothing worked - Tried multiple Raspbian OS / Updates - went back to standard 2019

Most Threads seem to deal with Labview 2014. Very little on Labview 2020

Download All
0 Kudos
Message 3 of 18
(660 Views)

There is an issue with LabVIEW 2021 Community Edition, see this post for the details, https://forums.ni.com/t5/Hobbyist-Toolkit/Labview-CE-2020-connects-to-raspberry-but-CE-2021-does-not..., though both LabVIEW 2020 and LabVIEW 2020 SP1 work.

 

The Hobbyist Toolkit, supported by NI, does not work with LabVIEW 2019.  If you are trying to communicate with a Raspberry Pi on LabVIEW 2019 are you using the old Makerhub LINX toolkit?  If so this toolkit and the Hobbyist Toolkit which comes with the LabVIEW Community Edition are different.  With LabVIEW 2020 you should not use the Makerhub LINK toolkit anymore.

 

You still have not outlined what your exact issue is what what you have done.  My suggestion is to use the LabVIEW 2020 Community Edition as with that edition you do not need to install anything else to get this to work.  If you are using the Community Edition you do NOT install the Hobbyist Toolkit from VIPM as it is already installed with the Community Edition.  Installing the Hobbyist Toolkit from VIPM with the Community Edition will cause issues.

 

Go back to LabVIEW 2020 Community Edition and try again.  If you still have issue post images of the software you have installed though MAX and what packages you have installed through VIPM.  Then show what you seen when you go through the process to connect to the Raspberry Pi.  Please embed any images you attached directly into your post so that they do not need to downloaded to be viewed.

David Wilt
The New Standard LLC
Message 4 of 18
(600 Views)

I am currently Running Labview 2020 on the PC - Raspbian Version 10 (Buster) on the Raspberry Pi. Have not got past the LINX Target Configuration Screen below

Dumpit_0-1646749778809.png

I have experienced software issues with Labview, where I cannot get rid of something that was installed before. All traces of Labview removed and various registry cleaners run, yet there are still major issues. I will be trying a new (Freshly Formatted) PC soon, but as for this current one, I realised that Labview 2021 wouldn't work (After seeing your post) and removed it. I then installed Labview 2020 Community Edition, but got the same error (above) - I've just seen NI-VISA 21.5 in NI MAX while writing this post - Is this correct? ( I can't remember if this was like this before I started messing around, but I do know that it didn't work after installing 2020 Only)

 

Dumpit_1-1646750632173.png

 

0 Kudos
Message 5 of 18
(583 Views)

@Dumpit wrote:

I have experienced software issues with Labview, where I cannot get rid of something that was installed before. All traces of Labview removed and various registry cleaners run, yet there are still major issues. I will be trying a new (Freshly Formatted) PC soon

 I agree that it is hard to get rid of all traces of a LabVIEW install and starting from a system that has not had LabVIEW on it is a good option.

 

As for the LINX Target Configuration Screen, are you using the correct password?  It looks short in your screenshot so just want to make sure you changed it to what you are using.

 

I believe that if you click on the ... in the bottom left corner of that screen you will get more information on what occurred during your connection attempt.  That information would be useful.

David Wilt
The New Standard LLC
0 Kudos
Message 6 of 18
(575 Views)

Definitely not the password - VNC Viewer allows control from my desktop, also puTTY opens a terminal window

Dumpit_0-1646761144340.png

 

Linx log below :

 

Connecting to target...
Unable to connect to the target. Please make sure the specified Hostname/IP, Username and Password are correct and try again. If this problem persists please search then create a thread on the Makerhub forums at labviewmakerhub.com/forums/linx.
Unable to connect to the target.
Ignoring Error: 5000 LMH-LINX.lvlib:SSH Smart Open Session.vi<ERR>
Unable to connect to the target. Please make sure the specified Hostname/IP, Username and Password are correct and try again. If this problem persists please search then create a thread on the Makerhub forums at labviewmakerhub.com/forums/linx.
Device interrogation failed: Unable to connect to the target.
OS Version:
CPU:
Systemd Version:
Has Internet Access: False
Device Type:

Ignoring Error: 5000 LMH-LINX.lvlib:SSH Smart Open Session.vi<ERR>
Unable to connect to the target. Please make sure the specified Hostname/IP, Username and Password are correct and try again. If this problem persists please search then create a thread on the Makerhub forums at labviewmakerhub.com/forums/linx.

0 Kudos
Message 7 of 18
(569 Views)

Changed the password & checked settings - Going to move over to a freshly installed PC now

 

Dumpit_0-1646761592987.png

 

0 Kudos
Message 8 of 18
(567 Views)

Another thought, have you tired connecting by IP instead of Hostname?

 

The log appears to show that it is not able to find the device.  Maybe there is a port or something blocked which it requires.  I am not sure what this would be.  Maybe someone else does.  Maybe try a direct connect to the Pi from your computer instead of going through the network.

David Wilt
The New Standard LLC
0 Kudos
Message 9 of 18
(562 Views)

Have tried IP, same problem. Busy wiping everything I can think of from the desktop & installing Labview 2020 on a laptop. If that works, then I'll try to replicate exact versions on the desktop. If the laptop install doesn't work, then I'll look at your direct connect suggestion.

Thanks.

0 Kudos
Message 10 of 18
(557 Views)