Comments (3)
Thanks! I have added a note to the main web page.
Original comment by pearu.peterson
on 26 Feb 2010 at 9:35
- Added labels: Type-Other
- Removed labels: Type-Defect
from pylibnidaqmx.
Hi,
Your scripts are really useful. I'm also trying to test pylibnidaqmx on windows
xp with DAQmx 8.8. However I keep running into runtime errors (see below for an
example). You say that:
"Also of note, I have a cython interface file to the raw DAQmx library which
works (at least on windows). It's possible to use this together with
pylibnidaqmx."
How did you set this up?
Cheers for any help!
Rob Sewell
Traceback (most recent call last):
File "C:\Documents and Settings\rsewell\Desktop\pylibnidaq examples\trunk\correlated_ao_dio.py", line 17, in <module>
atask.write(adata, auto_start=False)
File "C:\Python26\lib\site-packages\nidaqmx\libnidaqmx.py", line 2695, in write
float64 (timeout), layout_val, data.ctypes.data, ctypes.byref(samples_written), None)
File "C:\Python26\lib\site-packages\nidaqmx\libnidaqmx.py", line 187, in CALL
r = CHK(r, funcname, *new_args)
File "C:\Python26\lib\site-packages\nidaqmx\libnidaqmx.py", line 168, in CHK
raise RuntimeError('%s%s:%s' % (funcname,args, text))
RuntimeError: DAQmxWriteAnalogF64(AnalogOutputTask('_unnamedTask<0>'),
c_long(1000), c_ulong(0L), c_double(10.0), 1, 214652888, <cparam 'P'
(0CC0ECD8)>, None):
NI Platform Services: The specified resource is reserved. The operation could
not be completed as specified.
----------
Original comment by [email protected]
on 22 Oct 2010 at 2:04
from pylibnidaqmx.
@Rob Sewell
Your error looks like something that happens when your board either doesn't
have a resource or the last task is still active in some way. You might want to
try it again after reseting the board.
If you'd like to look at the cython implementation, I compile it on windows xp
with the pythonxy distribution. My bitbucket repo is
https://[email protected]/cleemesser/cydaqmx
The main advantage I've seen with it is for more complicated acquisitions. But
I haven't needed to do those recently. I haven't compiled it under linux.
Original comment by [email protected]
on 22 Oct 2010 at 3:47
from pylibnidaqmx.
Related Issues (20)
- nidaqmx.h not available when using the core runtime HOT 1
- Header file from NI-DAQmx 9.5 HOT 1
- Aded support for read properties: read_relative_to, read_overwrite, offset, HOT 1
- NIDAQmx.h missing on windows 7 64 bit HOT 3
- Could not access device more than one time
- Add ResetDevice command HOT 1
- Tried to use this with PCI-6229 and NIDAQmx9.6 HOT 5
- nidaqmx_h_9_8.py HOT 4
- Bug in create_channel_count_edges HOT 1
- msvccompiler in numpy.distutils HOT 3
- python 3 support HOT 7
- AnalogOutputTask link on front page is dead HOT 1
- Add AnalogOutput status calls HOT 4
- Problems Performing Digital Input and Output Tasks HOT 2
- DigitalInputTask HOT 1
- Status Code: -200479 During First Example HOT 2
- nidaqmx_h_14_1.py for NiDAQmx runtime Version 14.1
- Problem with DigitalOutputTask.write() when `grouping=for_all_lines`
- Trouble Finding download of the software HOT 2
- AttributeError by readig analog input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylibnidaqmx.