Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NIDAQmx.h path #23

Closed
GoogleCodeExporter opened this issue Apr 13, 2015 · 1 comment
Closed

NIDAQmx.h path #23

GoogleCodeExporter opened this issue Apr 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author



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

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant