09-25-2010 07:37 AM
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
09-27-2010 05:16 AM
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
11-26-2010 10:30 AM
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?
11-26-2010 11:27 AM
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")