andresmeh / pylibnidaqmx

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

Tried to use this with PCI-6229 and NIDAQmx9.6 #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Enthought Python EPD 2.7.2
2. Install NI DAQmx 9.6 with NI PCI-6229 Multifunction DAQ
3. Install pylibnidaqmx. No message about failure to install
4. Try to run the AnalogOutputTask

What is the expected output? What do you see instead?
AOTask import throws up error and asks to upload nidaqmx_h_9_6.py to this page

What version of the product are you using? On what operating system?
EPD Python 2.7.3 on Windows 7 x86 (32bit). NI-DAQmx 9.6

Original issue reported on code.google.com by swaroop....@gmail.com on 13 Jul 2013 at 6:22

Attachments:

GoogleCodeExporter commented 9 years ago
I have added the nidaqmx_h_9_6.py to svn repository, please do svn update and 
reinstall the pylibnidaqmx package.

However, since the package was able to create the file, the library should be 
functional. Could you post also the complete error message after you have 
updated
the package?

Original comment by pearu.peterson on 13 Jul 2013 at 8:57

GoogleCodeExporter commented 9 years ago
This is the output of the install:
________________________________________________________________________________
_____
Appending nidaqmx configuration to
Ignoring attempt to set 'name' (from '' to 'nidaqmx')
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler
options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler options
running build_py
creating build
creating build\lib
creating build\lib\nidaqmx
copying nidaqmx\libnidaqmx.py -> build\lib\nidaqmx
copying nidaqmx\nidaqmx_h_8_0.py -> build\lib\nidaqmx
copying nidaqmx\nidaqmx_h_8_9.py -> build\lib\nidaqmx
copying nidaqmx\nidaqmx_h_9_0.py -> build\lib\nidaqmx
copying nidaqmx\nidaqmx_h_9_1.py -> build\lib\nidaqmx
copying nidaqmx\nidaqmx_h_9_3.py -> build\lib\nidaqmx
copying nidaqmx\nidaqmx_h_9_6.py -> build\lib\nidaqmx
copying nidaqmx\optparse_options.py -> build\lib\nidaqmx
copying nidaqmx\setup.py -> build\lib\nidaqmx
copying nidaqmx\version.py -> build\lib\nidaqmx
copying nidaqmx\wxagg_plot.py -> build\lib\nidaqmx
copying nidaqmx\__init__.py -> build\lib\nidaqmx
running build_scripts
creating build\scripts.win32-2.7
Creating 'build\\scripts.win32-2.7\\nidaqmx.ai'
Creating 'build\\scripts.win32-2.7\\nidaqmx.ao'
Creating 'build\\scripts.win32-2.7\\nidaqmx.di'
Creating 'build\\scripts.win32-2.7\\nidaqmx.do'
running install_lib
copying build\lib\nidaqmx\libnidaqmx.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\nidaqmx_h_8_0.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\nidaqmx_h_8_9.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\nidaqmx_h_9_0.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\nidaqmx_h_9_1.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\nidaqmx_h_9_3.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\nidaqmx_h_9_6.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\optparse_options.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\setup.py -> C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\version.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\wxagg_plot.py ->
C:\Python27\Lib\site-packages\nidaqmx
copying build\lib\nidaqmx\__init__.py ->
C:\Python27\Lib\site-packages\nidaqmx
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\libnidaqmx.py to
libnidaqmx.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\nidaqmx_h_8_0.py to
nidaqmx_h_8_0.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\nidaqmx_h_8_9.py to
nidaqmx_h_8_9.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\nidaqmx_h_9_0.py to
nidaqmx_h_9_0.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\nidaqmx_h_9_1.py to
nidaqmx_h_9_1.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\nidaqmx_h_9_3.py to
nidaqmx_h_9_3.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\nidaqmx_h_9_6.py to
nidaqmx_h_9_6.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\optparse_options.py to
optparse_options.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\setup.py to setup.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\version.py to
version.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\wxagg_plot.py to
wxagg_plot.pyc
byte-compiling C:\Python27\Lib\site-packages\nidaqmx\__init__.py to
__init__.pyc
running install_egg_info
Removing C:\Python27\Lib\site-packages\PyLibNIDAQmx-0.2.0.dev-py2.7.egg-info
Writing C:\Python27\Lib\site-packages\PyLibNIDAQmx-0.2.0.dev-py2.7.egg-info
running install_clib
No module named msvccompiler in numpy.distutils; trying from distutils
customize MSVCCompiler

Original comment by swaroop....@gmail.com on 13 Jul 2013 at 9:13

GoogleCodeExporter commented 9 years ago
The install output looks ok.

When you try to use the library, do you get any errors?

Original comment by pearu.peterson on 13 Jul 2013 at 9:20

GoogleCodeExporter commented 9 years ago
Thank you very much! I tried the AO example and it works flawlessly.

Original comment by swaroop....@gmail.com on 13 Jul 2013 at 9:43

GoogleCodeExporter commented 9 years ago

Original comment by pearu.peterson on 9 May 2014 at 3:55