When trying to use DAQmxSetCISemiPeriodTerm(...) in a python3 application, there is an exception with ctypes TypeError, saying that the third argument has the wrong type.
The signature of this function is
int32 __CFUNC DAQmxSetCISemiPeriodTerm(TaskHandle taskHandle, const char channel[], const char data);
and const char data gets assigned the type c_char_p.
With the attached diff, this gets assigned CtypesString(), which then works.
When trying to use DAQmxSetCISemiPeriodTerm(...) in a python3 application, there is an exception with ctypes TypeError, saying that the third argument has the wrong type.
The signature of this function is int32 __CFUNC DAQmxSetCISemiPeriodTerm(TaskHandle taskHandle, const char channel[], const char data); and const char data gets assigned the type c_char_p. With the attached diff, this gets assigned CtypesString(), which then works.