09-10-2017 08:05 PM
hi to all, i just buy a raspberry pi 3 with raspbian os on it and i'd like to install labview on it. Someone know if linux version is ok or i have some compatibility problem between an ARM processor and Labview (like Matlab)? I started to use labview 2 years ago and i want it on all informatic device! XD. Thank you very much
09-11-2017 02:25 AM - edited 09-11-2017 02:27 AM
Here's the steps to do that:
1) Kudo this thread LabVIEW for Raspberry Pi.
2) Wait until NI makes it possible (might never happen).
3) Follow the instructions.
In other words, it's not possible. LV (Windows nor Linux), won't run on ARM.
If you ever get this working (with QEMU, WINE, VM?) let us know. Eternal fame will be yours.
09-11-2017 02:29 AM
You can't install the LabVIEW development system on your Raspi. That device is highly underpowered for something like that and as you guessed can't work like that since it uses a different CPU architecture than the x86/64 CPU.
What you can do is installing Lynx 3.0 in your LabVIEW devlopment system on your PC and from there target your Raspi to create and run routines written in LabVIEW on the Raspi.
12-07-2017 05:56 PM
Can you elaborate more on the Linux 3 install, LabVIEW dev, and Raspi deploy/use?
Do you install the Linux 3 on your Windows machine, develop your LV drivers on the Linux side of your PC(?), build for Linux, create an .exe and then create an installer for Raspi?
I'm sure I have this wrong, but I'm willing to try if I can get a clear picture of how NI can make this happen.
IF LabVIEW can be deployed and run on a Raspi 3, it opens a whole new world for me and probably others.
12-07-2017 06:48 PM - edited 12-07-2017 06:48 PM
12-07-2017 07:33 PM
I did follow your link. Sorry, I must have mistyped.
To get back to my question, are there other steps (of which I'm sure there are) that I need to follow to dev my LV drivers on the Win side and then port this to the Raspberry PI 3?
Thanks
12-07-2017 11:42 PM - edited 12-07-2017 11:44 PM
@diverdown wrote:
I did follow your link. Sorry, I must have mistyped.
To get back to my question, are there other steps (of which I'm sure there are) that I need to follow to dev my LV drivers on the Win side and then port this to the Raspberry PI 3?
Thanks
Here you can read the tutorials for Linx: https://www.labviewmakerhub.com/doku.php?id=learn:tutorials:libraries:linx:3-0
This is not OS! This is not linux! 🙂 This is Linx: http://sine.ni.com/nips/cds/view/p/lang/en/nid/212478
I have also a Raspberry Pi3, and played a bit with ADCs for DAQ and also with some temperature sensors. Keep in mind, only LabVIEW 2014 supported by Linx for certain tasks, you can read the FAQ section of Makerhub: https://www.labviewmakerhub.com/doku.php?id=libraries:linx:faq#10
(so do not use newer version than LV2014 if you need to do local I/O)
Another option which I tried, I bought the Home edition of the "LabVIEW for Raspberry Pi" product from TSXperts: https://www.tsxperts.com/labviewforraspberrypi/
It supports lots of LabVIEW functions, and it compiles LV code to the RPi directly (you must use a special version of Raspbian from TSxperts on your RPi). I have found the options quite limited with this product, and the GUI does not look too nice (also limited what kind of Front Panel objects you can use). But it worked somewhat. I wanted to use the I2C functions from this product to interface my app running on the RPi board, to an ADC DAQ card (I2C comm protocol). I just could not make it work, and I got zero support from this company, and their dedicated user forum.
So in the end, I gave it up, I just used the Python code/library available for the ADC card, and broadcast the data via network to the LabVIEW client (PC side). So I would go on the Linx route if I was you....
12-08-2017 03:39 AM
It really very much depends on the hardware you access and the programming interface.
If you use a standard NI interface protocol like VISA you can develop on Windows and deploy to the Raspi without much difficulties.
If you use custom interfaces such as I2C or even your very specific hardware with their own shared library drivers (DLLs on Windows, SOs on Raspi) things get more complicated. Basically you need a DLL driver to develop it on Windows which at least exports the same functions as the shared library *.so you have for your Raspi. This is to allow developing the driver VIs at all on Windows. If you also want to be able to run the VIs on Windows to test their operation the exported function not only need to exist as an empty stub but actually implement the whole functionality too. Last but not least the *.so file for the Raspi side specifically needs to be compiled for the ARM CPU architecture used on the Raspi. The typical x86/x64 compiled *.so for your desktop Linux distribution won't work.
01-25-2018 08:58 AM
Does anybody know if this works?
https://tsxperts.softwarekey.com/solo/products/ProductOption.aspx?ProdOptionID=26545
https://www.tsxperts.com/labviewforraspberrypi/
01-25-2018 09:05 AM
Well there is a 7 day free trial. You can try it and let us know. I've never used it but yes it is a real product from a real company that has credibility in the LabVIEW community. It likely works but has limitations which might not become fully realized until you develop a full blown application with it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord