RHJAX3 / pylibnidaqmx

Automatically exported from code.google.com/p/pylibnidaqmx
Other
0 stars 0 forks source link

NIDAQmx.h path #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import nidaqmx

What is the expected output? What do you see instead?
I expect that the module nidaqmx gets loaded.
Instead, I get an error message indicating that NIDAQmx.h was not found

What version of the product are you using? On what operating system?
SVN revision 42
Win7 64bit
NIDAQmx 9.1.1
NI-USB-6259

Please provide any additional information below.

The following change in libnidaqmx.py fixes the problem for me. However, I do 
not know whether this fix also works for other NIDAQmx version or operating 
systems.

# A. Schlatter, 17.4.2012:
include_nidaqmx_h = os.path.join(nidaqmx_install, 
                            r'DAQmx ANSI C Dev\include\NIDAQmx.h')
ansi_c_dev = os.path.join(nidaqmx_install, r'DAQmx ANSI C Dev')
regkey.Close()

Original issue reported on code.google.com by schlat...@phys.ethz.ch on 17 Apr 2012 at 9:46

GoogleCodeExporter commented 9 years ago

Thanks for the info. I have applied the following patch:

http://code.google.com/p/pylibnidaqmx/source/detail?r=43

This issue is related to Issue 21.

Original comment by pearu.peterson on 19 Apr 2012 at 9:46