PyDAQmx
PyDAQmx copied to clipboard
DAQmxFunctions.array_type requires 'WRITABLE' flag even for `const float *`
the pointer_type_array regex should be split in two, into pointer_type_const_array and pointer_type_array
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).