LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem installing LINX 3.0 on Raspberry Pi 3

Solved!
Go to solution

Hi there,
For starters I'm going to give you the basic information about the equipment I'm using:

 

Computer:
Windows 7 - SP1
LabView 2014 SP1 - 64 Bits
*LabView 2015 - 32 Bits
LINX 3.0.1.192

 

Raspberry:
Pi 3 - Model B
OS: Debian 9.1

If you need any other information please let me know.


The problem I'm having is the following:
I connect to the Raspberry using either MobaXterm or Putty without any problems, and can ping my IP, or google IP normally.
When using Labview 2015 I can connect to the Raspberry as a Target through LINX and even Install it, but afterwards I try to run the Example, but instead it gives me this message: "Unknown is a not valid LINX Target". And after it makes a mess on the connections settings of my Raspi and I can't even connect to it using Putty anymore..
So, I did a little research and found out that I probably needed to use Labview 2014 version because it is the one compatible to LINX. But when I try to Connect Target using the Labview 2014 version it gives me this answer: "Device interrogation failed: Unable to connect to the target."

 

 

One of the ways I was trying to solve this was by following these instructions: "https://www.labviewmakerhub.com/doku.php?id=learn:libraries:linx:misc:target-manual-install"
STEP 1: But as it is it was not working for me, so I edited the "sources.list" file using the command "sudo nano" and added a line with

"deb http://feeds.labviewmakerhub.com/debian/binary/ stretch main contrib non-free$".


STEP 2: Then when I run "sudo apt-get update" i get the following:

pi@RaspberryIC:~ $ sudo apt-get update
Ign:1 http://feeds.labviewmakerhub.com/debian/binary stretch InRelease
Ign:2 http://feeds.labviewmakerhub.com/debian/binary stretch Release
Ign:3 http://feeds.labviewmakerhub.com/debian/binary stretch/main all Packages
Ign:4 http://feeds.labviewmakerhub.com/debian/binary stretch/main armhf Packages
Ign:5 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-en
Ign:6 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt
Atingido:7 http://archive.raspberrypi.org/debian stretch InRelease
Ign:8 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt_B
Ign:9 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib all Packages
Ign:10 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib armhf Packag
Ign:11 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-BR
Ign:12 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:13 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:14 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free armhf Packa
Ign:15 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free all Package
Ign:16 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:17 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation_BR
Ign:18 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:19 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi all Packages
Ign:20 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi armhf Packages
Ign:21 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt
Ign:22 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt_B
Ign:23 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-en
Ign:3 http://feeds.labviewmakerhub.com/debian/binary stretch/main all Packages
Ign:4 http://feeds.labviewmakerhub.com/debian/binary stretch/main armhf Packages
Ign:5 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-en
Ign:6 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt
Ign:8 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt_B
Ign:9 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib all Packages
Ign:10 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib armhf Packag
Ign:11 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-BR
Ign:12 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:13 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:14 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free armhf Packa
Ign:15 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free all Package
Ign:16 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:17 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation_BR
Ign:18 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:19 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi all Packages
Ign:20 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi armhf Packages
Ign:21 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt
Ign:22 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt_B
Ign:23 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-en
Ign:3 http://feeds.labviewmakerhub.com/debian/binary stretch/main all Packages
Ign:4 http://feeds.labviewmakerhub.com/debian/binary stretch/main armhf Packages
Ign:5 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-en
Ign:6 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt
Ign:8 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt_B
Ign:9 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib all Packages
Ign:10 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib armhf Packag
Ign:11 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-BR
Ign:12 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:13 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:14 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free armhf Packa
Ign:15 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free all Package
Ign:16 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:17 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation_BR
Ign:18 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:19 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi all Packages
Ign:20 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi armhf Packages
Ign:21 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt
Ign:22 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt_B
Ign:23 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-en
Ign:3 http://feeds.labviewmakerhub.com/debian/binary stretch/main all Packages
Ign:4 http://feeds.labviewmakerhub.com/debian/binary stretch/main armhf Packages
Ign:5 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-en
Ign:6 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt
Ign:8 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt_B
Ign:9 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib all Packages
Ign:10 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib armhf Packag
Ign:11 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-BR
Ign:12 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:13 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:14 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free armhf Packa
Ign:15 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free all Package
Ign:16 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:17 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation_BR
Ign:18 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:19 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi all Packages
Ign:20 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi armhf Packages
Ign:21 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt
Ign:22 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt_B
Ign:23 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-en
Ign:3 http://feeds.labviewmakerhub.com/debian/binary stretch/main all Packages
Ign:4 http://feeds.labviewmakerhub.com/debian/binary stretch/main armhf Packages
Ign:5 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-en
Ign:6 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt
Ign:8 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt_B
Ign:9 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib all Packages
Ign:10 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib armhf Packag
Ign:11 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-BR
Ign:12 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:13 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:14 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free armhf Packa
Ign:15 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free all Package
Ign:16 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:17 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation_BR
Ign:18 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free Translation
Ign:19 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi all Packages
Ign:20 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi armhf Packages
Ign:21 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt
Ign:22 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-pt_B
Ign:23 http://feeds.labviewmakerhub.com/debian/binary stretch/rpi Translation-en
Ign:3 http://feeds.labviewmakerhub.com/debian/binary stretch/main all Packages
Err:4 http://feeds.labviewmakerhub.com/debian/binary stretch/main armhf Packages
404 Not Found
Ign:5 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-en
Ign:6 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt
Ign:8 http://feeds.labviewmakerhub.com/debian/binary stretch/main Translation-pt_B
Ign:9 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib all Packages
Ign:10 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib armhf Packag
Ign:11 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-BR
Ign:12 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:13 http://feeds.labviewmakerhub.com/debian/binary stretch/contrib Translation-
Ign:14 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free armhf Packa
Ign:15 http://feeds.labviewmakerhub.com/debian/binary stretch/non-free all Package
Lendo listas de pacotes... Pronto
W: The repository 'http://feeds.labviewmakerhub.com/debian/binary stretch Release'es not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentiallyngerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration detail
E: Falhou ao buscar http://feeds.labviewmakerhub.com/debian/binary/dists/stretch/m/binary-armhf/Packages 404 Not Found
E: Falhou o download de alguns[/code]

STEP 3: And when I try to Install the Labview Target Support I get the following:

[pi@RaspberryIC:~ $ sudapt-get install -y --force-yes lvrt-schroot
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
E: Impossível encontrar o pacote lvrt-schroot[/code]

Translating it would be something like:

Reading lists of packages... Ready
Building tree of dependencies
Reading status information... Ready
E: Imposible to find package lvrt-schroot

 

I don't know if there is another way to install the lvrt-schroot package, or if I am doing something wrong. Maybe the configurations "stretch main contrib non-free" I added to the "sources.list" file don't make sense, because I only copied them.
I would be really glad if you could help me, I'm not an expert Linux user and am having a really hard time trying to figure out what to do..

Thanks very much,
Oscar

0 Kudos
Message 1 of 28
(13,528 Views)

Hello Liepo ,

First of all, LabVIEW 2014 32-bit is the only LabVIEW version supported for RPi.

I saw a video (link below) from MakerHub, using LabVIEW 2014 SP1. So, please, you must use LabVIEW 2014 or 2014 SP1 32-bit (NOT 64-bit).

 

And about Raspberry Pi 3, you need to use Raspbian OS.

 

I found the instructions following these links:

 

02 | LINX Software Setup
04 | Raspberry Pi Setup

 

Please, follow MakerHub tutorials. I think that will be the best way.

Message 2 of 28
(13,475 Views)

As DanWilfer mentioned, this is likely due to having the wrong OS installed on your Pi.  The stretch/ in each of those printouts from the apt-get cmd refers to Debian Stretch, which is what Raspian is based on https://www.raspberrypi.org/downloads/raspbian/

 

Follow the installation guide from RBP and the tutorials DanWilfer linked.



I saw my father do some work on a car once as a kid and I asked him "How did you know how to do that?" He responded "I didn't, I had to figure it out."
0 Kudos
Message 3 of 28
(13,450 Views)

I think you will have issues if you use the NOOB install.  I think that the LINX install wants to create its own partition, but NOOB already uses all of it.  If I remember correctly, the install hangs, but I still believe it installs correctly.  You'll have to visit the LINX forum for details - which are very abundant.  I believe our own Bob Schor had a lot to do with the troubleshooting.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 28
(13,442 Views)

So, I followed what DanWilfer said and re-installed the Labview (now a 32-bit version), and on the Raspberry installed the newest version of the Raspbian (Release date:2017-09-07), NOT using NOOB, but directly with the Win32DiskImager.

Now I'm able to connect to the raspberry using the LINX on Labview 2014, and even install it. But afterwards I try to launch the example and get the same warning "Unknown is a not valid LINX Target"

The log file from the LINX contains the following:

Connecting to target...
Successfully connected to target.
Successfully connected to the target.
Target configuration updated.
OS Version: 9.1
CPU: 
Systemd Version: 
Has Internet Access: True
Device Type: Unknown

Connecting to target...
Successfully connected to target.
Successfully connected to the target.
Target configuration updated.
OS Version: 9.1
CPU: 
Systemd Version: 
Has Internet Access: True
Device Type: Unknown

Target configuration updated.
OS Version: 9.1
CPU: 
Systemd Version: 
Has Internet Access: True
Device Type: Unknown

What am I doing possibly wrong? I'm really running out of options and don't know how to proceed..

Thanks a lot for your attention.

Oscar

0 Kudos
Message 5 of 28
(13,348 Views)

So, I followed what DanWilfer said and re-installed the Labview (now a 32-bit version), and on the Raspberry installed the newest version of the Raspbian (Release date:2017-09-07), NOT using NOOB, but directly with the Win32DiskImager.

Now I'm able to connect to the raspberry using the LINX on Labview 2014, and even install it. But afterwards I try to launch the example and get the same warning "Unknown is a not valid LINX Target"

The log file from the LINX contains the following:

 

Connecting to target...
Successfully connected to target.
Successfully connected to the target.
Target configuration updated.
OS Version: 9.1
CPU: 
Systemd Version: 
Has Internet Access: True
Device Type: Unknown

Connecting to target...
Successfully connected to target.
Successfully connected to the target.
Target configuration updated.
OS Version: 9.1
CPU: 
Systemd Version: 
Has Internet Access: True
Device Type: Unknown

Target configuration updated.
OS Version: 9.1
CPU: 
Systemd Version: 
Has Internet Access: True
Device Type: Unknown

What am I doing possibly wrong? I'm really running out of options and don't know how to proceed..

Thanks a lot for your attention.

Oscar

0 Kudos
Message 6 of 28
(13,397 Views)

Can you still connect with putty?

 

If so, what is the output of the command:

cat /proc/cpuinfo

It should contain:

BCM2709

That is what LINX is looking for when trying to identify what device you have.



I saw my father do some work on a car once as a kid and I asked him "How did you know how to do that?" He responded "I didn't, I had to figure it out."
0 Kudos
Message 7 of 28
(13,389 Views)

It shows BCM2835..Could be it ?

0 Kudos
Message 8 of 28
(13,380 Views)

It's been a while, but I think I had to find the target by IP address.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 9 of 28
(13,377 Views)

Could be.

Maybe try adding a new case to this vi so that BCM2835 returns a device type of Raspberry Pi 2 B as well:

[Labview 2014 Program Folder]\vi.lib\MakerHub\LINX\Private\Utilties\Target Management\Get Device Type.vi

 

block diagram.png

 

Normally you shouldn't edit 3rd party VIs like that because if they change in the future and you update, it could blow away any custom changes you made.  But you could do this just to see if that lets it launch.

 

 



I saw my father do some work on a car once as a kid and I asked him "How did you know how to do that?" He responded "I didn't, I had to figure it out."
Message 10 of 28
(13,378 Views)