Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6008 which linux distribution

I'm looking to migrate a piece of hardware to use the 6008 multifunction DAQ. In the experience of other users, which Linux Distribution and Version is most compatible with the drivers?

 

Thanks,

 

Ben

0 Kudos
Message 1 of 4
(3,436 Views)

Hi Ben,

 

OpenSuSE, Mandriva or Red Hat Enterprise has shown to be the most compatible, although due to the closeness to RedHat CentOS has become quite a popular choice as well.

 

More information on supported Linux Distributions can be seen here

Applications Engineer
0 Kudos
Message 2 of 4
(3,418 Views)

Thanks for that, I went with OpenSuse 11.2 and the drivers installed with a few minor tweaks. The C examples compile and run fine however if I try and load the libnidaqmxbase.so library using ctypes in python, I always get the error "Unable to load libniCPUlib.so from /usr/local/lib/labview-2010/libniCPUlib.soAborted" (Ignore capitalisation)

 

If i try and load libniCPUlib.so directly (again ctypes in python) I get the error that _ZNSt15_List_node_base4hookEPS_ is an undefined symbol which "nm -o /usr/lib/* 2>/dev/null | grep _ZNSt15_List_node_base4hookEPS_" shows exists in /usr/local/lib/liblvrt.so

 

can you shed any light on what's happening here?

 

 

0 Kudos
Message 3 of 4
(3,317 Views)

To answer my own question, it seems that libniCPUlib.so needs "/usr/local/lib/liblvrtdark.so.10.0" loaded to work but ctypes wasn't loading this automatically, therefore to get the library to work in ctypes you have to do something like:

 

import ctypes

ctypes.CDLL("/usr/local/lib/liblvrtdark.so.10.0" , mode=ctypes.RTLD_GLOBAL)

ctypes.CDLL("/usr/local/lib/libnidaqmxbase.so")

 

 

Message 4 of 4
(3,312 Views)