Jordan Kuehn Posted May 21, 2020 Report Share Posted May 21, 2020 I am working with a Raspberry Pi 3b and am having trouble with running the LINX Target Configuration on it. I had initially done this without issue. Then I reformatted the SD card and tried to do this on a Raspberry Pi 4 and the installation failed. I formatted the card again and tried to go back to the 3b and cannot get it to work. I had installed the LINX package from VIPM when working with it initially and that seemed to fix some connection issues in the labview code, but it also changed the target configuration wizard. I've uninstalled the toolkit, repaired the LV installation and it is back to the original wizard, but still it is giving me an issue. Now I finally have an error log to look at and there seems to be an issue with the feed from Labviewmakerhub as shown below (also it thinks it's a Pi 2 b for some reason, but it did that the first time too): Quote 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 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... Ign:1 http://feeds.labviewmakerhub.com/debian binary/ InRelease Err:2 http://feeds.labviewmakerhub.com/debian binary/ Release 404 Not Found [IP: 54.86.245.246 80] Hit:3 http://archive.raspberrypi.org/debian buster InRelease Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease Reading package lists... Installing LabVIEW... Reading package lists... Building dependency tree... Reading state information... 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 Any suggestions on what to try next? LINX_Log.txt Quote Link to comment
Jordan Kuehn Posted May 21, 2020 Author Report Share Posted May 21, 2020 So, I decided to try formatting the SD card once more and running the repaired LINX installer. That seems to have solved my problem. However, I am a little disturbed that installing the LINX package broke the built-in LINX tools and seemingly reverted them to the LV 2014 version. I don't think I did anything out of the box here, just opened the VI Package Browser and installed the LINX toolkit. Quote Link to comment
Darren Posted May 21, 2020 Report Share Posted May 21, 2020 What versions of LabVIEW and the LINX Toolkit are you using/installing? Quote Link to comment
Jordan Kuehn Posted May 21, 2020 Author Report Share Posted May 21, 2020 13 minutes ago, Darren said: What versions of LabVIEW and the LINX Toolkit are you using/installing? Good question. This is LV2020 Community Edition in a VM. The toolkit VIPM pulled down is Digilent LINX version 3.0.1.192. Quote Link to comment
Darren Posted May 21, 2020 Report Share Posted May 21, 2020 LabVIEW 2020 Community Edition includes the LINX Toolkit. Do not install LINX from VIPM or anywhere else. I've suggested they edit the Digilent LINX Toolkit description to mention this. Quote Link to comment
Michael Aivaliotis Posted May 21, 2020 Report Share Posted May 21, 2020 Right, if running LV community, you have everything you need. No need to install anything from VIPM. In fact it will make it worse. The reason why the log message states Raspberry Pi 2 B (I stated elsewhere), is because the LINX toolkit has an old hardcoded message internally that does not trigger off the actual board model. @Darren, this should be fixed becasue it's confusing. Quote Link to comment
Darren Posted May 21, 2020 Report Share Posted May 21, 2020 16 minutes ago, Michael Aivaliotis said: The reason why the log message states Raspberry Pi 2 B (I stated elsewhere), is because the LINX toolkit has an old hardcoded message internally that does not trigger off the actual board model. @Darren, this should be fixed becasue it's confusing. I filed Bug 1039468 on this issue. 1 Quote Link to comment
Jordan Kuehn Posted May 22, 2020 Author Report Share Posted May 22, 2020 I had originally left things as is. However, there was an error with the LMH-LINX I2C Open VI when I tried to run it in an example program. It was an unknown error. That is what prompted me to pull down the LINX toolkit from VIPM thinking there was a more up to date version. This did resolve the error and things worked after that. Until I tried to configure another Pi. Is the LMH-LINX toolkit also included with LV2020CE? I supposed it's possible that I had that dependency included in the example code I was running (The Automation Hat code from MediaMongrels that I grabbed from the VIWeek presentation) and it was somehow out of date. If this is of interest I can recreate this as it's just in a VM. I don't like that installing the package broke the tool included in CE, but I will not make that mistake again 😀 Quote Link to comment
Darren Posted May 22, 2020 Report Share Posted May 22, 2020 1 hour ago, Jordan Kuehn said: Is the LMH-LINX toolkit also included with LV2020CE? As far as I know, yes. Quote Link to comment
Jordan Kuehn Posted May 28, 2020 Author Report Share Posted May 28, 2020 The QwaveSys Raspberry Pi Package for LabVIEW 2.0 appears to install the Digilent LINX Toolkit as a dependency. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.