09-15-2024 07:15 PM
Hi!
A few years ago I set up an RPi 3B+ with an I2C-potentiometer to control the heating system in my house. I followed this guide: https://learn.ni.com/learn/article/getting-started-with-raspberry-pi-and-labview-community-edition
I have had to reinstall LV Community Edition twice due to license, but when I did it recently (2024 Q3) I could not update LV on the RPi. It "looks" successful but the current version is always empty and it fails to connect when I try to deploy, or connect by right-clicking the RPi in the project view.
So I made a new install on the RPi with the latest RPi OS (64-bit) which was recommended and enabled SSH (and I2C). The problem persists.
Should I use some other OS? I don't remember if I used some special image the first time (years ago)
Here is the log when I do "Update" in the Target Configuration. It seems to think it's a 2B...?
Best Regards, Viktor
-------------------------------------------------------------------------------------------
Connecting to target...
Successfully connected to target.
Successfully connected. Gathering target info...
Target configuration updated.
OS Version: 12.7
CPU: Raspberry Pi 3 Model B Plus Rev 1.3
Systemd Version:
Has Internet Access: True
Device Type: Raspberry Pi 2 B
Connecting to target...
Successfully connected to target.
Successfully connected. Gathering target info...
Target configuration updated.
OS Version: 12.7
CPU: Raspberry Pi 3 Model B Plus Rev 1.3
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 already exists.blacklist i2c-bcm2708is not present.dtparam=i2c1=on already exists.dtparam=i2c_arm=on already exists.
Adding MakerHub feed...
deb [trusted=yes] http://feeds.labviewmakerhub.com/debian/ binary/
Updating package index. This may take over 30 seconds depending on your internet speed...
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Ign:5 http://feeds.labviewmakerhub.com/debian binary/ InRelease
Ign:6 http://feeds.labviewmakerhub.com/debian binary/ Release
Ign:7 http://feeds.labviewmakerhub.com/debian binary/ Packages
Ign:8 http://feeds.labviewmakerhub.com/debian binary/ Translation-en
Ign:9 http://feeds.labviewmakerhub.com/debian binary/ Translation-en_GB
Ign:7 http://feeds.labviewmakerhub.com/debian binary/ Packages
Ign:8 http://feeds.labviewmakerhub.com/debian binary/ Translation-en
Ign:9 http://feeds.labviewmakerhub.com/debian binary/ Translation-en_GB
Ign:7 http://feeds.labviewmakerhub.com/debian binary/ Packages
Ign:8 http://feeds.labviewmakerhub.com/debian binary/ Translation-en
Ign:9 http://feeds.labviewmakerhub.com/debian binary/ Translation-en_GB
Hit:7 http://feeds.labviewmakerhub.com/debian binary/ Packages
Ign:8 http://feeds.labviewmakerhub.com/debian binary/ Translation-en
Ign:9 http://feeds.labviewmakerhub.com/debian binary/ Translation-en_GB
Ign:8 http://feeds.labviewmakerhub.com/debian binary/ Translation-en
Ign:9 http://feeds.labviewmakerhub.com/debian binary/ Translation-en_GB
Ign:8 http://feeds.labviewmakerhub.com/debian binary/ Translation-en
Ign:9 http://feeds.labviewmakerhub.com/debian binary/ Translation-en_GB
Ign:8 http://feeds.labviewmakerhub.com/debian binary/ Translation-en
Ign:9 http://feeds.labviewmakerhub.com/debian binary/ Translation-en_GB
Reading package lists...
Installing LabVIEW...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
avahi-utils blt bluez chromium-browser chromium-browser-l10n
chromium-codecs-ffmpeg-extra cups-pk-helper device-tree-compiler
distro-info-data docutils-common dos2unix edid-decode flashrom fonts-piboto
gir1.2-gmenu-3.0 gir1.2-handy-1 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0
gir1.2-polkit-1.0 gir1.2-secret-1 gnome-menus grim gtk-nop
gtk2-engines-pixbuf gtk2-engines-pixflat gui-pkinst gui-updater hplip-data
i2c-tools ibverbs-providers iw javascript-common keyutils libaio1 libaml0
libatkmm-1.6-1v5 libboost-iostreams1.74.0 libcairomm-1.0-1v5 libcupsimage2
libdaxctl1 libdbusmenu-glib4 libdbusmenu-gtk3-4 libegl-dev libexpat1-dev
libfdt1 libgfapi0 libgfrpc0 libgfxdr0 libgl-dev libgl1-mesa-dev libgles-dev
libglibmm-2.4-1v5 libglu1-mesa libglu1-mesa-dev libglusterfs0 libglut-dev
libglut3.12 libglvnd-core-dev libglvnd-dev libglx-dev libgnome-menu-3-0
libgtkmm-3.0-1v5 libhpmud0 libi2c0 libibverbs1 libice-dev libimagequant0
libjs-jquery libjs-sphinxdoc libjs-underscore liblgpio1 libliftoff-rpi
libnbd0 libndctl6 libneatvnc0 libnfsidmap1 libnma-common libnma0
libopengl-dev libopengl0 libopusfile0 libpangomm-1.4-1v5 libpmem1
libpmemblk1 libportmidi0 libpthread-stubs0-dev libpython3-dev
libpython3-stdlib libpython3.11-dev libqt5designer5 libqt5help5
libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5xml5
librados2 libraqm0 librbd1 librdmacm1 librtimulib-dev librtimulib-utils
librtimulib7 libsane-hpaio libsdl2-image-2.0-0 libsdl2-mixer-2.0-0
libsdl2-ttf-2.0-0 libsigc++-2.0-0v5 libsm-dev libtcl8.6 libtk8.6
libturbojpeg0 libwf-config1 libwf-utils0 libwlroots11 libx11-dev libxau-dev
libxcb1-dev libxdmcp-dev libxext-dev libxt-dev lp-connection-editor
lxde-common lxplug-bluetooth lxplug-ejecter lxplug-magnifier lxplug-menu
lxplug-netman lxplug-volumepulse mate-polkit-bin pi-greeter
pi-printer-support pishutdown pixflat-icons pixflat-theme
printer-driver-escpr printer-driver-hpcups printer-driver-postscript-hp
pulseaudio-module-bluetooth python-apt-common python-babel-localedata
python3-asgiref python3-asttokens python3-babel python3-blinker python3-bs4
python3-click python3-colorama python3-debconf python3-dill python3-docutils
python3-dotenv python3-html5lib python3-isort python3-itsdangerous
python3-jedi python3-jwt python3-libevdev python3-logilab-common
python3-mccabe python3-mypy-extensions python3-olefile python3-opengl
python3-parso python3-pexpect python3-pip-whl python3-platformdirs
python3-ptyprocess python3-pygments python3-pyinotify python3-pyudev
python3-responses python3-roman python3-send2trash python3-setuptools-whl
python3-soupsieve python3-toml python3-tomlkit python3-typeshed python3-tz
python3-v4l2 python3-webencodings qt5-gtk2-platformtheme
qt5-style-plugin-cleanlooks qt5-style-plugin-motif
qt5-style-plugin-plastique qt5-style-plugins qt5ct raspi-utils-core
raspi-utils-dt raspi-utils-eeprom raspi-utils-otp read-edid rp-bookshelf
rpcbind rpd-wallpaper rpi.gpio-common scrot tk8.6-blt2.5 triggerhappy
wayfire wlr-randr x11proto-dev xorg-sgml-doctools xsel xsettingsd xtrans-dev
zlib1g-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gcc-12-base:armhf krb5-locales libatomic1:armhf libaudit1:armhf
libboost-filesystem1.74.0:armhf libboost-iostreams1.74.0:armhf
libboost-program-options1.74.0:armhf libbz2-1.0:armhf libc6:armhf
libcap-ng0:armhf libcom-err2:armhf libcrypt1:armhf libdb5.3:armhf
libexpat1:armhf libffi8:armhf libgcc-s1:armhf libgpm2:armhf
libgssapi-krb5-2:armhf libidn2-0:armhf libk5crypto3:armhf libkeyutils1:armhf
libkrb5-3:armhf libkrb5support0:armhf liblzma5:armhf libncursesw6:armhf
libnsl2:armhf libpam0g:armhf libpython3-stdlib:armhf
libpython3.11-minimal:armhf libpython3.11-stdlib:armhf libreadline8:armhf
libsqlite3-0:armhf libssl3:armhf libstdc++6:armhf libtinfo6:armhf
libtirpc3:armhf libunistring2:armhf libuuid1:armhf libzstd1:armhf
python3:armhf python3-importlib-resources python3-minimal:armhf
python3.11:armhf python3.11-minimal:armhf schroot:armhf schroot-common
uuid-runtime zlib1g:armhf
Suggested packages:
glibc-doc:armhf locales:armhf libnss-nis:armhf libnss-nisplus:armhf
gpm:armhf krb5-doc:armhf krb5-user:armhf libpam-doc:armhf python3-doc:armhf
python3-tk:armhf python3-venv:armhf python3.11-venv:armhf
python3.11-doc:armhf binutils:armhf binfmt-support:armhf aufs-tools:armhf
| unionfs-fuse:armhf btrfs-progs:armhf debootstrap:armhf lvm2:armhf
qemu-user-static:armhf zfsutils-linux:armhf
The following packages will be REMOVED:
agnostics alacarte apt-listchanges arandr cifs-utils fio gldriver-test hplip
libinput-tools lxde lxde-core lxplug-cputemp lxplug-network lxplug-ptbatt
lxplug-updater mypy nfs-common openbox openbox-lxde-session pastebinit
pi-bluetooth pi-language-support pipanel piwiz pylint python-is-python3
python3 python3-apt python3-astroid python3-av python3-cairo
python3-cffi-backend python3-cryptography python3-cups python3-cupshelpers
python3-dbus python3-dev python3-flask python3-gi python3-gi-cairo
python3-jinja2 python3-kms++ python3-lazy-object-proxy python3-lgpio
python3-libcamera python3-libgpiod python3-lxml python3-markupsafe
python3-minimal python3-mypy python3-numpy python3-oauthlib python3-openssl
python3-pgzero python3-picamera2 python3-pidng python3-piexif python3-pil
python3-prctl python3-psutil python3-pycryptodome python3-pygame
python3-pyqt5 python3-pyqt5.sip python3-renderpm python3-reportlab
python3-reportlab-accel python3-requests-oauthlib python3-rpi.gpio
python3-rtimulib python3-sense-hat python3-simplejpeg python3-simplejson
python3-smbc python3-smbus python3-spidev python3-tk python3-twython
python3-venv python3-werkzeug python3-wrapt python3.11 python3.11-dev
python3.11-minimal python3.11-venv raspberrypi-net-mods raspberrypi-sys-mods
raspberrypi-ui-mods raspi-config raspi-utils raspinfo rc-gui rp-prefapps
rpd-plym-splash rpi-eeprom sense-hat system-config-printer
system-config-printer-common system-config-printer-udev thonny userconf-pi
wayvnc wf-panel-pi
The following NEW packages will be installed:
gcc-12-base:armhf krb5-locales libatomic1:armhf libaudit1:armhf
libboost-filesystem1.74.0:armhf libboost-iostreams1.74.0:armhf
libboost-program-options1.74.0:armhf libbz2-1.0:armhf libc6:armhf
libcap-ng0:armhf libcom-err2:armhf libcrypt1:armhf libdb5.3:armhf
libexpat1:armhf libffi8:armhf libgcc-s1:armhf libgpm2:armhf
libgssapi-krb5-2:armhf libidn2-0:armhf libk5crypto3:armhf libkeyutils1:armhf
libkrb5-3:armhf libkrb5support0:armhf liblzma5:armhf libncursesw6:armhf
libnsl2:armhf libpam0g:armhf libpython3-stdlib:armhf
libpython3.11-minimal:armhf libpython3.11-stdlib:armhf libreadline8:armhf
libsqlite3-0:armhf libssl3:armhf libstdc++6:armhf libtinfo6:armhf
libtirpc3:armhf libunistring2:armhf libuuid1:armhf libzstd1:armhf
lvrt24-schroot:armhf python3:armhf python3-importlib-resources
python3-minimal:armhf python3.11:armhf python3.11-minimal:armhf
schroot:armhf schroot-common uuid-runtime zlib1g:armhf
0 upgraded, 49 newly installed, 103 to remove and 0 not upgraded.
Need to get 17.9 MB/34.8 MB of archives.
After this operation, 237 MB disk space will be freed.
Get:1 http://deb.debian.org/debian bookworm/main arm64 python3-importlib-resources all 5.1.2-2 [19.0 kB]
Get:2 http://feeds.labviewmakerhub.com/debian binary/ lvrt24-schroot 24.1.0-3 [17.8 MB]
Fetched 17.9 MB in 14s (1,254 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
Ignoring Error: 56 NI_Subprocess.lvlib:Raw Subprocess.lvclass:_Select.vi:4540001<APPEND>
<b>Complete call chain:</b>
NI_Subprocess.lvlib:Raw Subprocess.lvclass:_Select.vi:4540001
NI_Subprocess.lvlib:Raw Subprocess.lvclass:Interact.vi:2440001
NI_Subprocess.lvlib:Buffered Subprocess.lvclass:Pump.vi:6140001
NI_SSH.lvlib:Execute SSH Command.vi
LMH-LINX.lvlib:SSH Execute Command.vi
LMH-LINX.lvlib:Install LV Support.vi
LMH-LINX.lvlib:Target Configuration.vi
Rebooting Target...
Successfully connected to target.
Checking target status...
Installation completed successfully. Click Launch Example to get started.
Ignoring Error: 56 NI_Subprocess.lvlib:Raw Subprocess.lvclass:_Select.vi:4540001<APPEND>
<b>Complete call chain:</b>
NI_Subprocess.lvlib:Raw Subprocess.lvclass:_Select.vi:4540001
NI_Subprocess.lvlib:Raw Subprocess.lvclass:Interact.vi:2440001
NI_Subprocess.lvlib:Buffered Subprocess.lvclass:Pump.vi:6140001
NI_SSH.lvlib:Execute SSH Command.vi
LMH-LINX.lvlib:SSH Execute Command.vi
LMH-LINX.lvlib:SSH Async Execute Command.vi
LMH-LINX.lvlib:Reboot Target.vi
LMH-LINX.lvlib:Target Configuration.vi
Target configuration updated.
OS Version: 12.7
CPU:
Systemd Version:
Has Internet Access: True
Device Type: Unknown
Solved! Go to Solution.
09-16-2024 08:37 AM
Nevermind. Found that many people has this issue.
Installed LV Community 2022 Q3 and used a pre-installed RPi image - 2022 (22.3) - from here: https://github.com/LVMakerHub/LINX/wiki/Installing-an-image-with-LabVIEW-pre-installed
Works perfectly!
05-12-2025 05:31 AM
I installed the 2024 Q1 version of the Raspberry Pi OS with LabVIEW pre-installed from this guide:
https://github.com/LVMakerHub/LINX/wiki/Installing-an-image-with-LabVIEW-pre-installed
Now I can program directly on the Pi using LabVIEW, but I'm unsure how to set up communication between the Pi (as the target) and my PC. It seems that using shared variables isn't an option.
What I want to achieve is:
Deploy a VI on the Raspberry Pi and set it to run on startup (like an executable).
Remotely control or interact with that VI from my PC.