02-05-2019 06:53 AM
I want to run my .vi file on Raspberry Pi 3.
On my project, I use ultrasonic sensor and NodeMCU ESP8266. Code was written on Arduino for sensor. I got data from sensor through NodeMCU (via Wi-Fi)
Calculating distance on LabVIEW should be shown on Raspberry Pi 3 with LCD screen.
How to run .vi on Raspberry Pi 3 Raspbian OS?
02-05-2019 08:14 AM
Have a look at this thread: https://forums.ni.com/t5/LabVIEW/Labview-for-raspberry-pi-3/td-p/3686642
I believe in most cases, LabVIEW code is running on a Windows PC that is serially connected to the Raspi board.
https://www.tsxperts.com/labviewforraspberrypi/
Above is a link to a third party tool that compiles LabVIEW code directly for the Pi. I've never used this tool myself, so I can't vouch for how well it works.
This may be a little dated, but Instructables has a pretty write up on setting up a Pi2.
If you're using Linx, ( serial connection ) your setup should be similar.
02-05-2019 09:05 AM - edited 02-05-2019 09:07 AM
In addition to the serial communication in Linx, and the TSXperts 3rd party solution, Linx 3.0 in LabVIEW 2014 only, also supports deploying to Beaglebone and Pi boards. These won't have front panels but the VIs do run on the embedded boards. The video in this first post is a good introduction, but I too have never used it. Do pay attention to the license restrictions too.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-06-2019 08:36 AM
I’m interested in a project about measuring distance.
On my project, I use ultrasonic sensor and NodeMCU ESP8266. I wrote a code on Arduino to start and receive data of sensor. Arduino code send Trigger signal to start sensor, then it generate Echo signal whose length give us sound waves' travel duration. On the other hand, Arduino code connects to TCP/IP Protocol. For example, if you write IP Address on web page, you can see distance value.
As we can see in wi-fi_connection.png, NodeMCU communicates Wi-Fi. I got received data from HTTP Webpage but formulas were prepared by Labview blocks. Echo signal length is calculated on LabView. Labview front panel shows us “distance value” like HTTP Web Page.
Until here, everything is OK. I want to use Raspberry Pi 3 with Labview. How is it possible? Or, I want to show distance value from sensor on Raspberry Pi 3 with LCD Screen (RaspberryPi_LCD.JPG). How is it execute/display? I want to embed all of them to Raspberry Pi 3.
What should I do for Raspberry Pi 3 with Graphical User Interface (GUI) on my project? I think it's very basic.
02-06-2019 09:19 AM
02-06-2019 11:04 AM
There's a third party tool that will let you run parts of LabVIEW on an RPi:
https://www.tsxperts.com/labviewforraspberrypi/
I've never used it, but you may be able to make it kind of work.
02-07-2019 12:53 AM
Yes, I found and examined this tool previously, this is as the same what I tried to tell. However it's not free and also it's not available purchasing for my country.
@BertMcMahan wrote:
There's a third party tool that will let you run parts of LabVIEW on an RPi:
https://www.tsxperts.com/labviewforraspberrypi/
02-07-2019 03:36 AM
I want to build executable file on Labview 2017 32 bit. Then, I should run this .exe file on Raspberry Pi 3. What do I need requirements?
02-07-2019 03:42 AM - last edited on 04-01-2024 03:38 PM by Content Cleaner
02-07-2019 04:25 AM - last edited on 04-01-2024 03:38 PM by Content Cleaner
Try some Linx and tell us how it goes.
https://www.ni.com/en/support/downloads/tools-network/download.labview-hobbyist-toolkit.html
/Y