Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 29 by
tolis...@gmail.com: nidaqmx.h not available when using the
core runtime
http://code.google.com/p/pylibnidaqmx/issues/detail?id=29
What steps will reproduce the problem?
1. install the nidaqmx core runtime
(
http://joule.ni.com/nidu/cds/view/p/id/2891/lang/en) rather than the full
installation (166MB rather than the 1.5GB or so for the full driver -- a
huge time saver!).
2. the nidaqmx.h file is not installed
3. attempts to use pylibnidaqmx fail
What is the expected output? What do you see instead?
import nidaqmx
File "C:\Python27\lib\site-packages\nidaqmx\__init__.py", line 83, in
<module>
from .libnidaqmx import AnalogInputTask, AnalogOutputTask,\
File "C:\Python27\lib\site-packages\nidaqmx\libnidaqmx.py", line 122, in
<modu
le>
assert os.path.isfile (include_nidaqmx_h), `include_nidaqmx_h`
AssertionError: u'C:\\Program Files (x86)\\National
Instruments\\NI-DAQ\\DAQmx A
NSI C Dev\\include\\NIDAQmx.h'
What version of the product are you using? On what operating system?
windows 7 64-bit
the latest pylibnidaqmx from source
nidaqmx 9.5.1 core runtime
Please provide any additional information below.
it would appear that pylibnidaqmx parses this header file to obtain what
is/isn't supported by the driver version - would it be possible for you to
include a default header file to use if one is not found in the NI
folders? (if their licensing permits). How likely is it to become
out-of-date?