From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW on Raspberry Pi 3

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?

 

 

0 Kudos
Message 1 of 68
(8,309 Views)

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.

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 2 of 68
(8,280 Views)

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.

 

https://forums.ni.com/t5/LabVIEW/LINX-3-0-LabVIEW-for-BeagleBone-Black-and-Raspberry-Pi-2-3/td-p/327...

0 Kudos
Message 3 of 68
(8,273 Views)

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.

0 Kudos
Message 4 of 68
(8,284 Views)

@bestecf wrote:

 I think it's very basic.


It's not.

 


@bestecf wrote:

What should I do for Raspberry Pi 3 with Graphical User Interface (GUI) on my project?


Learn Python, Scratch, Java, C or C++ (or another language that does run on a RPi).

 

Sad but true... Don't shoot the messenger.

0 Kudos
Message 5 of 68
(8,269 Views)

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.

Message 6 of 68
(8,252 Views)

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/

 


 

0 Kudos
Message 7 of 68
(8,212 Views)

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?

Download All
0 Kudos
Message 8 of 68
(8,239 Views)
0 Kudos
Message 9 of 68
(8,234 Views)

Try some Linx and tell us how it goes.

https://www.ni.com/en/support/downloads/tools-network/download.labview-hobbyist-toolkit.html

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 10 of 68
(8,195 Views)