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

DAQmxFunctions.array_type requires 'WRITABLE' flag even for const float * #34

Open
eric-wieser opened this issue Aug 1, 2016 · 1 comment

Comments

@eric-wieser
Copy link
Contributor

the pointer_type_array regex should be split in two, into pointer_type_const_array and pointer_type_array

@clade
Copy link
Owner

clade commented Sep 26, 2016

Thanks for this issue.

I have implemented this distinctions on the dev2 branch (https://github.com/clade/PyDAQmx/tree/dev2). There is a new parser for the NIDAQmx.h file. For const array, I have also implemented to possibility to use a list or a tuple instead of a numpy array (see https://github.com/clade/PyDAQmx/blob/dev2/pydaqmx/native/ctypes_array.py).

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

No branches or pull requests

2 participants