Jump to content
Mighty79

LabVIEW 2020 Community Edition on Raspberry 3 B v1.2

Recommended Posts

Hey Community,

 

at first I want to introduce myself.

My name is Heiko from Germany. I also ask for understanding for my English as I'm not a native speaker.

I was very happy to hear that the new LabVIEW Community Version was released, because you can now implement very simple projects with the Raspberry.

Immediately I tried to connect my Raspberry 3 B to the LINX Target Configuration to LabVIEW.
Unfortunately there encountered some problems during the installation, which and I hope you can help me with.

After I had successfully connected to my Raspberry, I received the following message during installation.

"The target LINUX partition is only 5GB of the available 7GB. It is recomendet to expant the partition."

After I expanded the partion with the Configuraton tool, I received a message that ererything was sucesfull.

But I have to say that I expanded the LINUX Partition manually bervore (via fdisk) to the mximum capacaty of my 32 GB card.

After I continued with the installation I receided the following message. (copy from the log.txt)

+++++Beginning of the Log.txt+++++

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.
Connecting to target...
Successfully connected to target.
Successfully connected to the target.
Target configuration updated.
OS Version: 10.3
CPU: BCM2835
Systemd Version: 
Has Internet Access: True
Device Type: Raspberry Pi 2 B

Connecting to target...
Successfully connected to target.
Successfully connected to the target.
Target configuration updated.
OS Version: 10.3
CPU: BCM2835
Systemd Version: 
Has Internet Access: True
Device Type: Raspberry Pi 2 B

Warnings dialog cancelled.
Install cancelled.
Connecting to target...
Successfully connected to target.
Successfully connected to the target.
Target configuration updated.
OS Version: 10.3
CPU: BCM2835
Systemd Version: 
Has Internet Access: True
Device Type: Raspberry Pi 2 B

Connecting to target...
Successfully connected to target.
Successfully connected to the target.
Target configuration updated.
OS Version: 10.3
CPU: BCM2835
Systemd Version: 
Has Internet Access: True
Device Type: Raspberry Pi 2 B

Expanding file system.
Rebooting Target...
Successfully connected to target.
Warnings dialog continued.
blacklist spi-bcm2708is not present.dtparam=spi=on already exists.i2c-dev already exists.i2c-bcm2708 
blacklist i2c-bcm2708is not present.dtparam=i2c1=on
dtparam=i2c_arm=on already exists.
Adding MakerHub feed...
MakerHub Feed Already Exists
Updating package index.  This may take over 30 seconds depending on your internet speed...
OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
OK:2 http://archive.raspberrypi.org/debian buster InRelease
Ign:3 http://feeds.labviewmakerhub.com/debian binary/ InRelease
Fehl:4 http://feeds.labviewmakerhub.com/debian binary/ Release
  404  Not Found [IP: 54.86.245.246 80]
Paketlisten werden gelesen...
Installing LabVIEW...
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
Rebooting Target...
Successfully connected to target.
Checking target status...

Installation failed.  If this is the first time the installation has failed try again.  If this error persists search, then post on the LabVIEW MakerHub forumsat labviewmakerhub.com/forums/linx.
Target configuration updated.
OS Version: 10.3
CPU: BCM2835
Systemd Version: 
Has Internet Access: True
Device Type: Raspberry Pi 2 B"

+++++END of the Log.txt+++++

 

In the log text the device type Raspberry Pi 2 B is mentioned, but I have an Raspberry Pi 3 B.

Even if the installation failed, I was able to start the sample project (LED).

After I restarted the system, I was unable to establish a connection to the Raspberry and received the message "Connection to dhcpcd lost".

What can cause this problem and how can I solve it?

 

Share this post


Link to post
Share on other sites

I have the same board. This is what I did.

  1. Download the RaspBerry Pi Imager v1.2 and used that to format a microSD card used for the Raspi. Select the first recommended OS: Raspbian
  2. Boot up the Pi with keyboard and mouse. Walk through the startup config (installing updates, etc) and wifi setup. When asked to enter a new password, ignore this and just click next. Reboot as suggested.
  3. Go to RaspBerry Pi configuration and on the Interfaces tab, enable SSH
  4. Open a command prompt on raspi and type: sudo raspi-config
    1. Select 7: Advanced
    2. Select A1: Expand file system. (this will expand the file system if it's not already expanded)
    3. Reboot
  5. In LabVIEW select from the Tools > MakerHub > LINX > LINX Target Configuration
  6. Click the connection button and it should connect. Hostname: raspberrypi, username: pi, password: raspberrypi. These are all the defaults.
  7. Click the Installation button.
  8. Click the Update button on the installation page. it should go through the process of doing the update. At some point the raspi will reboot. this is part of the process. When the raspi reboots, the LINX target configuration dialog will lose connection and give an error. This is normal. it will take a while to reconnect. Eventually, it should come back. If not then click the Connection button and try to connect.
  9. The Installation panel should now show the installed version:
    Screen Shot 2020-05-02 at 9.05.11 PM.png
  10. Click on Launch Example.
  11. In LabVIEW, right-click on the Raspberry Pi Target and select connect. This should should show the deployment progress dialog and after connection a small green indicator will appear in the target tree
    Screen Shot 2020-05-02 at 9.07.40 PM.png Screen Shot 2020-05-02 at 9.09.49 PM.png
  12. You should be able to execute (run) the VI now.
  13. Everything should be good to go now.

Sometimes you will try to connect, in the project, and then you will get an error not connecting. If that happens, just wait and try again. I find that the connection is more reliable if you use the IP address of the raspi instead of the DNS name. To specify an IP address, right-click on the Raspberry Pi target and select Disconnect. Then right-click again and select properties. In General, enter the IP address of the raspi. Then click OK. To find the IP address of the raspi, type: hostname -I in a raspi command prompt.

I think the reason why the log message states Raspberry Pi 2 B, is because the LINX toolkit is old and that message was probably not updated to handle all the new boards that have come out since release? Not sure. i'm getting the same message on my system even though the board is Pi3.

Quote

Target configuration updated. OS Version: 10.3 CPU: BCM2835 Systemd Version: Has Internet Access: True Device Type: Raspberry Pi 2 B

 

  • Like 1

Share this post


Link to post
Share on other sites

So I took a look at the code that pulls the device info and ya, my assumption was correct. Actually, not sure why they are even reporting on the model type. It should just return the generic type. Like Raspberry Pi. No need to report the exact model, since you will always be wrong and really, it doesn't matter.

Screen Shot 2020-05-02 at 11.50.44 PM.png

 

Share this post


Link to post
Share on other sites

Thank you for the reply and your support. I followed your instruction and I don't received any message concerning the partition.

So the problem with the partition is solved.

But before the installation was finished the following error message was shown.

+++beginning of the message+++

Installation failed.  If this is the first time the installation has failed try again.  If this error persists search, then post on the LabVIEW MakerHub forumsat labviewmakerhub.com/forums/linx.
Target configuration updated.
OS Version: 10.3
CPU: BCM2835
Systemd Version: 
Has Internet Access: True
Device Type: Raspberry Pi 2 B

+++end of the message+++

Never the less the example project was running once.

After rebooted the pi I can't get any connection to it.

The strange thing is that I haven't changes any IP address or network settings.

I also tried to post this problem to the MakerHub forum, but I haven't received any reply.

Share this post


Link to post
Share on other sites

The main problem is that I lost the connencton to the DHCPCD after the installaton is finished the the raspi was rebooted.

Share this post


Link to post
Share on other sites
254/5000
 
 
 
Ok i found the problem. Since the Raspi did not always connect independently in the explorer project, I replaced the host name "raspberry" in the target configuration under the network settings with the ip address. This has probably destroyed the DHCPCD host.
254/5000
 
 
 
 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.