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.

Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6001 with 32bit Linux mint

Hello all,

I'm trying to down load the drivers to use this DAQ http://sine.ni.com/nips/cds/view/p/lang/en/nid/212383 within Linux mint on my 32bit computer. I'm a electro mechanical guy that programs (a lot) in basic C and doesn't know much about drivers and installing libraries. My end goal is to interface the DAQ with a C program. I have written C programs that talk to microprocessors successfully. Can anyone lay out the steps I need to take to get this to work (assuming it is possible). Thanks every one like I said I'm new to drivers and that kind of computer problems.

Effort so far:

I down loaded NI-DAQmx 8.0.2 - RedHat, SUSE http://www.ni.com/download/ni-daqmx-8.0.2/2322/en/

mounted it with: “sudo mount -t iso9660 -o loop DAQmx802f0.iso <mount location>”

then ran: “./INSTALL” like it says.

But I get this message:

*********************************** ERROR ***************

*       ERROR: 3.11 kernels are not supported!          *

*    Running a 2.6.x kernel is required to continue this installation.       *

*********************************** ERROR ***************

any ideas?

0 Kudos
Message 1 of 7
(6,379 Views)

Hello,

error message said you are running on kernel 3.11, but kernel 2.6.x is required.

Basicly, if you want to use NI-DAQmx 8.0.2 you should use RHEL/Scienfitific Linux or CentOS 6.x or some other old rpm based Linux distribution (Suse, Mandrake/Mandriva) or deb (with some complications).

There is an alternative driver NI-DAQmx Base, which you can use with rpm or deb (with some complications) based distribution with linux kernel up to 3.2 or 3.4 (I think): RHEL/Scientific Linux/CentOS 6.x (kernel 2.6.x) or OpenSuSe 13.2 or Mageia 2 (kernel 3.2-3.4).

Now, modern Linux distribution are not supported, only interprised based RHEL and it clones Scientific Linux, CentOS.

USB-6001 is not supported under Linux.

You can use NI-DAQmx Base 14.0

http://http://http://www.ni.com/download/ni-daqmx-base-14.0/5054/en/

with card from list in readme.

0 Kudos
Message 2 of 7
(5,292 Views)

Dear scootergarrett,

mig-31 is right. I nevertheless may try to help you.

I need two things:

1-The exact Linux distribution which you use.

2-The complete terminal output (one long line) for command    uname -a

Cheers

Yanqele

0 Kudos
Message 3 of 7
(5,292 Views)

Mig-31,

so your saying I'm using the wrong distribution of Linux, but maybe I could use 'NI-DAQmx Base 14.0'?

yanqle,

I got the exact Linux distribution with the command 'cat /etc/*-release' and got:

DISTRIB_ID=LinuxMint

DISTRIB_RELEASE=16

DISTRIB_CODENAME=petra

DISTRIB_DESCRIPTION="Linux Mint 16 Petra"

NAME="Ubuntu"

VERSION="13.10, Saucy Salamander"

ID=ubuntu

ID_LIKE=debian

PRETTY_NAME="Ubuntu 13.10"

VERSION_ID="13.10"

HOME_URL="http://www.ubuntu.com/"

SUPPORT_URL="http://help.ubuntu.com/"

BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

Then I ran 'uname -a' and got:

Linux garrett-pro135115 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux

Thanks everyone for your help

0 Kudos
Message 4 of 7
(5,292 Views)

Hi,

probably you can use NI-DAQmx Base 14.0 with your Linux Mint (Open SuSe 13.1 use kernel 3.11.x same as Linux Mint).

In case of USB DAQ card there is only one possibility NI-DAQmx Base 14.0

0 Kudos
Message 5 of 7
(5,292 Views)

The USB-6001 (and 6000, 6002, and 6003) are unfortunately not supported by NI-DAQmx Base.  If you need a low-cost USB DAQ device for use with Linux or Mac OS X, you will need to use the USB-6008 or USB-6009.

Tom W
National Instruments
0 Kudos
Message 6 of 7
(5,292 Views)

Except for really ancient and totally unsupported kernels, proprietary drivers for USB devices are illegal (IOW: you'll loose the license to use Linux at all) - the driver *must* be GPL. (unless you'll write your completely own USB stack and remove the built-in one).

 

But NI still insists in always unstable and hazardous (yes! expect data loss and maybe even hardware damage) proprietary drivers, so they just can't support any USB devices on not-ancient kernels.

 

By the way one of the reasons why my clients will *NOT* invest several mio in NI hardware. 

 

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 7 of 7
(3,795 Views)