Issue 23 in pylibnidaqmx: NIDAQmx.h path

0 views
Skip to first unread message

pylibn...@googlecode.com

unread,
Apr 17, 2012, 5:46:59 AM4/17/12
to pylibnida...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 23 by schlat...@phys.ethz.ch: NIDAQmx.h path
http://code.google.com/p/pylibnidaqmx/issues/detail?id=23

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()

pylibn...@googlecode.com

unread,
Apr 19, 2012, 5:46:21 AM4/19/12
to pylibnida...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 23 by pearu.peterson: NIDAQmx.h path
http://code.google.com/p/pylibnidaqmx/issues/detail?id=23

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.


Reply all
Reply to author
Forward
0 new messages