LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW UI on a Raspberry Pi display

Hello NI community ,

 

I’m currently using an NI USB-6009/6008 for data acquisition, and I’ve developed a custom UI in LabVIEW. I’m considering using a Raspberry Pi with a connected display for monitoring the data. Is it possible to run my LabVIEW UI on a Raspberry Pi display while using the NI USB-6009/6008 for data acquisition? If not, are there any recommended approaches or alternatives to achieve this setup?

0 Kudos
Message 1 of 15
(999 Views)

Hi

 

Using a newer Raspberry Pi is not low cost once you include all the requires add on's, like an enclosure or a power supply and what else.

 

On YouTube you can find several discussions comparing an RP kit with a miniature low cost complete Intel NUC computer running Windows 7, 10 or even 11. The price difference can be less than a factor two.

 

Regards

 

Message 2 of 15
(964 Views)

While you can sort of run LabVIEW on a Raspberry PI using the Hobbyist Toolkit (Lynx)

 

I do not believe there is a DAQmx equivalent to run your NI USB-6009/6008 on a Raspberry Pi.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 15
(939 Views)

Hi again

 

The RP functionality supported ( when it works at all ) by LINX or in the rebranded Hobbyist toolkit is nothing more than exposing the hardware features like PWM on the RP. Like an instrument would do. Send command and get response. So no UI directly from the RP to a display. Nor USB control.

 

There was once an ambitious project to implement LabVIEW VI's on the RP. A company called TSXperts created such a compiler. The compiler is dead since long and now on Github. See :

 

https://github.com/labviewforRaspi/LabVIEWforRasPi/wiki

 

Regards

 

PS : If the main objective is getting some low power computer to display the signals from the USB DAQ device then look for a cheap refurbished notebook like the Lenovo MIIX-310. It draws no more than 5 Watts. With 4 GB RAM and 64 GB disk it even runs Windows 11.

0 Kudos
Message 4 of 15
(904 Views)

It’s doomed for two reason:

 

1) A LabVIEW program on the RPi does not have a GUI. The LabVIEW runtime on it has no GUI support and is running inside its own chroot on a minimalistic Debian distribution with no installed X-Windows support. Adding X-Windows would not help since the chroot has no access to the display hardware and even if you would manage to enable it anyhow, the LabVIEW runtime on there lacks any capability for using it.

2) NI DAQmx does.not run on this.

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 15
(892 Views)

Look into a Radxa X2L

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
Message 6 of 15
(868 Views)

If you really want a DAQ with RPi, get one of the DAQ Hats - https://digilent.com/shop/mcc-daq/data-acquisition/mcc-daq-hats-for-raspberry-pi/

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 7 of 15
(861 Views)

DAQ hat still doesn't give you the ability to have a LV GUI running locally.

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
0 Kudos
Message 8 of 15
(850 Views)

Re: DAQ-Hats

 

Aside from the missing GUI, you need to compile the MCC C source code for their driver into a shared library for for the LabVIEW chroot and call that through Call Library Nodes. This is not rocket science but still a significant amount of work.

Rolf Kalbermatter
My Blog
0 Kudos
Message 9 of 15
(836 Views)

@IlluminatedG wrote:

DAQ hat still doesn't give you the ability to have a LV GUI running locally.


I meant DAQ Hat as an alternative, and yeah, not in LV; it has to be another language with GUI support in Linux.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 10 of 15
(827 Views)