Closed deveshks closed 6 years ago
I was able to rectify this issue by replacing line #62 in https://github.com/clade/PyDAQmx/blob/master/PyDAQmx/DAQmxConfig.py
from ctypes.CDLL('/usr/local/lib/liblvrtdark.so', mode=ctypes.RTLD_GLOBAL) to ctypes.CDLL(find_library('lvrtdark'), mode=ctypes.RTLD_GLOBAL)
I also verified this by running the last example on https://pythonhosted.org/PyDAQmx/usage.html using a USB-6210 NI DAQ. Let me know if you want me to make those changes in the library.
Best, Devesh
Thanks for your fix : commit 6f8d3a0
Hi,
I tried installing PyDAQmx 1.3.2 on my Centos 7.4.1708 running on an 64bit Intel mini-PC. I am using NI-DAQmx Base 15.0 for Linux, and I am running a 64-bit Python 3.6.3. I am able to successfully install PyDAQmx using pip, but I get the following error when I import it.
Python 3.6.3 (default, Oct 11 2017, 18:17:37) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux Type "help", "copyright", "credits" or "license" for more information.
Has this problem been seen before, and if yes, is there a way to resolve this.
Best, Devesh