LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 2020 on Linux RHEL - CRASHING

Hi Guys, 

 

I have installed Labview on RedHat Linux Enterprise 2020 without much success, the program opens but crashes as soon as I add anything to the block diagram.

 

If I have understood correctly there is no DAQ Assistant in Linux, is that right?

 

With my NI-USB-6008 DAQ connected the program crashes as soon as I add a channel constant to the DAQmx channel in the block diagram.

 

i.e. I cant get past fist base.

 

What am I doing wrong?

 

Steven

 

Steven

0 Kudos
Message 1 of 9
(2,088 Views)

There is no DAQmx for Linux currently (never really has been). So using your USB-DAQ device under Linux is a dream. While I believe that it shouldn’t crash when placing a DAQ channel constant on the diagram, there also is nothing good that could come from this, so don’t do it!

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 9
(2,077 Views)

Rolf,

 

Thanks for quick reply...

 

Not sure if if it's a dream or a nightmare 😄

 

If not DAQmx then how do I obtain data from the DAQ?

 

Can you point me in the right direction?

 

Steven

0 Kudos
Message 3 of 9
(2,067 Views)

Using Windows! Sorry.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 9
(2,060 Views)

@rolfk wrote:

There is no DAQmx for Linux currently (never really has been).


Hi Rolf,

 

this https://www.ni.com/pdf/manuals/378353a.html states that DAQmx is avaible on Linux.

 

However, the readme of Linux DAQmx does not list a USB-6008 under supported systems.

 

Regards, Jens

 

 

Kudos are welcome...
0 Kudos
Message 5 of 9
(2,029 Views)

Thanks for the links, that's disappointing that it doesn't support the popular and affordable NI-USB-6008

 

Steven

0 Kudos
Message 6 of 9
(2,022 Views)

Wow thanks for the correction. I wasn’t aware that there is Linux support for anything else than NI-VISA, NI-488.2 and DAQmx base.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 7 of 9
(2,017 Views)

Hello Rolf,

 

I am speculating but since RT OS for PXI and cRIOs nowadays is Linux and since you can install DAQmx even on current cRIOs it might have been easy to release a DAQmx driver for Linux.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 8 of 9
(1,966 Views)

@JensG69 wrote:

Hello Rolf,

 

I am speculating but since RT OS for PXI and cRIOs nowadays is Linux and since you can install DAQmx even on current cRIOs it might have been easy to release a DAQmx driver for Linux.


Yes and no! NI Linux RT is a VERY controlled Linux environment. They know exactly the kernel versions they have to target and what extensions are installed by default, resp. what extensions they would like to include in the stock installation, simply because they can. A standard Linux installation is in comparison a chaos.

 

Depending on the distribution, version, and preferences and the hacking proficiency of the person doing the installation, you can get very different Linux installation. Writing a Linux driver is real work but no rocket science. Supporting more than one specific Linux distribution however is an exercise in dealing with frustrations.

 

But MacOS is almost as bad! 😀

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 9 of 9
(1,955 Views)