Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't install NI-DAQmx on OpenSuse 11.1

Solved!
Go to solution

Hi,

 

I am using NI-PCI 6036E, NI-PCI 6602 and GPIB card to run my experiments. Beside NI cards I only use the drivers: all software is written in MFC. I would love to switch my data acquisition to a Linux system (I am currently using OpenSuse 11.1 64 bit), however I have a problem installing NIDAQmx (8.0.1) for Linux. Any help would be appreciated. I attached the log file from failed installation as well as one more file indicated by installer itself to help You diagnose the problem.

 

Best Regards

 

Stojan

 

PS (If I have to change the NI boards, that is not a problem, in fact we are using bunch of other newer models. Also I can use some other Linux distribution of necessary)

 

Stojan.Madzunkov@jpl.nasa.gov

(818)354-2480

 

Download All
0 Kudos
Message 1 of 29
(5,523 Views)

Hi,

 

I have the same problem with OpenSuse 11.1 and NI-DAQmx.

After run  INSTALL script, I try to run "updateNIDrivers" but I've the folling error :

 

/bin/cp nikal.c objects/nikal.c
/bin/cp nikal.h objects/nikal.h
make -C /lib/modules/2.6.27.7-9-pae/source SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.27.7-9 »
  CC [M]  /usr/local/natinst/nikal/src/objects/nikal.o
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_initDriver’:
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: ‘max_mapnr’ undeclared (first use in this function)
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: (Each undeclared identifier is reported only once
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: for each function it appears in.)
make[2]: *** [/usr/local/natinst/nikal/src/objects/nikal.o] Erreur 1
make[1]: *** [_module_/usr/local/natinst/nikal/src/objects] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.27.7-9 »
make: *** [objects/nikal.ko] Erreur 2

 

 The Kernel sources are insalled.

 

0 Kudos
Message 2 of 29
(5,501 Views)

Stojan wrote:

(I am currently using OpenSuse 11.1 64 bit)


 

Unfortunately NI-DAQmx 8.0.1 does not support 64-bit Linux.  Is it possible for you to use 32-bit Linux instead?  If not can you tell us a little bit about your use case?

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 3 of 29
(5,495 Views)

Rne wrote:

Hi,

 

I have the same problem with OpenSuse 11.1 and NI-DAQmx.

After run  INSTALL script, I try to run "updateNIDrivers" but I've the folling error :

 

/bin/cp nikal.c objects/nikal.c
/bin/cp nikal.h objects/nikal.h
make -C /lib/modules/2.6.27.7-9-pae/source SUBDIRS=/usr/local/natinst/nikal/src/objects modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.27.7-9 »
  CC [M]  /usr/local/natinst/nikal/src/objects/nikal.o
/usr/local/natinst/nikal/src/objects/nikal.c: In function ‘nNIKAL100_initDriver’:
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: ‘max_mapnr’ undeclared (first use in this function)
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: (Each undeclared identifier is reported only once
/usr/local/natinst/nikal/src/objects/nikal.c:875: error: for each function it appears in.)
make[2]: *** [/usr/local/natinst/nikal/src/objects/nikal.o] Erreur 1
make[1]: *** [_module_/usr/local/natinst/nikal/src/objects] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.27.7-9 »
make: *** [objects/nikal.ko] Erreur 2


It looks like you are not installing the latest version of NI-DAQmx for Linux.  Currently the latest version is NI-DAQmx 8.0.1.

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 4 of 29
(5,493 Views)
I already use 8.0.1. I downloaded it yesterday.
0 Kudos
Message 5 of 29
(5,489 Views)

Rne wrote:
I already use 8.0.1. I downloaded it yesterday.

As root can you run:

 

niSystemReport >  niSystemReport.out

gzip niSystemReport.out

 

Then attach the resulting niSystemReport.out.gz file.

 

Shawn Bohrer

National Instruments

Use NI products on Linux? Come join the NI Linux Users Community
0 Kudos
Message 6 of 29
(5,484 Views)
0 Kudos
Message 7 of 29
(5,469 Views)

Rne,

 

What hardware are you using with your Linux system? If you could give some more details it would help us try to identify the issue. 

Aaron W.
National Instruments
CLA, CTA and CPI
0 Kudos
Message 8 of 29
(5,464 Views)

Hi Shawn,

 

I can use 32 bit Linux, however, one of - if not most significant one - reasons to completely switch to the Linux is its 64 bit support. In my lab, we use at least 10-15 different types of lab view cards for controlling different experiments: time of flight measurements , channel plates data acquisition, etc. In addition, there are a lot of data analysis going on, and although I actively use MFC since version 4, I find that using STD library and QT in connection with Linux gives me enough benefits to switch over from Windows.

 

I believe that development of 64 bit set of drivers is something that NI should definitely consider as a support for data acquisition applications running on 64 bit processors.

 

I don't want to be boring so to demonstrate our work I will send you one application that I am using for experiment control. It can control 8 AI, 2 AO 8 Kepco powers supplies, 1 counter, 1 LakeShore temperature controller and 2  electrometers. To access any of the units just right click on the label and choose device # and Channel #.  F5 should start continuous reading and login of the data (be sure that Auto refresh option is on in the properties). This program (Oxygen) is graphical interface developed around NI drivers.

 

 PS: I will try 32 bit OpenSuse 11.1

 

Stojan

 

 

0 Kudos
Message 9 of 29
(5,451 Views)

I use PIC DAQ like PCI-6221.

But I don't think hardware is the problem here.

0 Kudos
Message 10 of 29
(5,441 Views)