pearu / pylibnidaqmx

a Python wrapper to libnidaqmx library
Other
10 stars 9 forks source link

AttributeError by readig analog input #48

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I want to read a analg input like the example
2.The failure occure after the line >>> task = AnalogInputTask()
3.

What is the expected output? What do you see instead?
I got the failure:  
File "C:\Python27\lib\site-packages\nidaqmx\libnidaqmx.py", line 178, in CALL 
func = getattr(libnidaqmx, funcname)
AttributeError: 'NoneType' object has no attribute 'DAQmxCreateTask'

What version of the product are you using? On what operating system?
Win7

Please provide any additional information below.

Original issue reported on code.google.com by Kemme....@gmail.com on 12 Mar 2015 at 11:03

hoechenberger commented 8 years ago

This most likely means that the NI-DAQmx library could not be found. Please check your installation of both NI-DAQmx and PyLibNIDAQmx.