Oprea Posted November 11, 2021 Report Share Posted November 11, 2021 Does anyone have any experience with using LabVIEW with LINX to control a Raspberry Pi? I'd like to understand how to write LabVIEW code to control devices on the I2C or SPI bus. I can successfully run LabVIEW code deployed to the Raspberry Pi to control the GPIO digital I/O pins but would also like to write code to control an A/D converter chip. Quote Link to comment
Jordan Kuehn Posted November 12, 2021 Report Share Posted November 12, 2021 What chip is it? There are several libraries out there for some common hardware. This link may be helpful. https://www.vipm.io/package/mediamongrels_lib_linx_raspberry_pi_addons/ Quote Link to comment
Oprea Posted November 12, 2021 Author Report Share Posted November 12, 2021 Thanks, Jordan! I'll check it out. Quote Link to comment
Oprea Posted November 22, 2021 Author Report Share Posted November 22, 2021 Hi, Jordan. Do you (or anyone else) know of any additional LabVIEW LINX libraries for Raspberry Pi? I'm looking for as many different hardware drivers that I can find. Quote Link to comment
Jordan Kuehn Posted November 22, 2021 Report Share Posted November 22, 2021 15 hours ago, Oprea said: Hi, Jordan. Do you (or anyone else) know of any additional LabVIEW LINX libraries for Raspberry Pi? I'm looking for as many different hardware drivers that I can find. This website is old, but has some information. https://www.labviewmakerhub.com/doku.php?id=libraries:linx:start You might also find some useful things here: https://forums.ni.com/t5/Hobbyist-Toolkit/bd-p/linx-toolkit?profile.language=en Quote Link to comment
Oprea Posted December 12, 2021 Author Report Share Posted December 12, 2021 Can LabVIEW (via LINX) put data on the virtual front panel of a Raspberry Pi so that an app such as VNC Viewer can see it remotely using any laptop? Quote Link to comment
Jordan Kuehn Posted December 12, 2021 Report Share Posted December 12, 2021 4 minutes ago, Oprea said: Can LabVIEW (via LINX) put data on the virtual front panel of a Raspberry Pi so that an app such as VNC Viewer can see it remotely using any laptop? No. But you could host a web app and then view it from within the pi in a browser. Here is an example application you may be able to use for inspiration. Credit Sam Sharp I think. https://www.mediamongrels.com/democracybot-rpi-linx-websockets-nxg-webvis/ Quote Link to comment
Oprea Posted December 12, 2021 Author Report Share Posted December 12, 2021 Thanks for the tip. Quote Link to comment
Oprea Posted December 13, 2021 Author Report Share Posted December 13, 2021 Once a LabVIEW application is running (via LINX) in a Raspberry Pi and the application's LabVIEW front panel is actively running on my laptop, if I break the connection between my laptop and the Pi, is there a way to restore the connection without having to re-download to the target my entire LabVIEW code again? 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.