07-18-2021 12:06 AM
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
07-18-2021 12:21 AM - edited 07-18-2021 12:22 AM
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!
07-18-2021 12:37 AM
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
07-18-2021 12:50 AM
Using Windows! Sorry.
07-18-2021 05:51 AM
@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
07-18-2021 06:23 AM
Thanks for the links, that's disappointing that it doesn't support the popular and affordable NI-USB-6008
Steven
07-18-2021 06:36 AM - edited 07-18-2021 06:36 AM
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.
07-19-2021 03:26 AM
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
07-19-2021 05:29 AM - edited 07-19-2021 05:31 AM
@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! 😀