PyDAQmx icon indicating copy to clipboard operation
PyDAQmx copied to clipboard

NIDAQmx Base and continuous callback issue

Open iPsych opened this issue 4 years ago • 0 comments

Dear all, PyDAQmx works well with not only DAQmx but also DAQmx-base.

The sampling example also works well, but the callback example doesn't work with DAQmx-base. (https://pythonhosted.org/PyDAQmx/callback.html)

The function AutoRegisterEveryNSamplesEvent and variable DAQmx_Val_Acquired_Into_Buffer are not exist in DAQmx-base.

https://github.com/sppmg/matlab-ni-daqmx/blob/master/DAQmxMidLib/NIDAQmx.h https://github.com/robotology-legacy/icub-nidaqmx/blob/master/.nidaqmx/usr/local/include/NIDAQmxBase.h

Based on the last answer of below, some (complicated) work-around might exists. https://forums.ni.com/t5/Multifunction-DAQ/Continuous-sampling-in-NI-Daqmx-Base/td-p/226973?profile.language=en

Any successful implimentation exist for continous sampling with DAQmx-base, not DAQmx?

iPsych avatar Aug 28 '21 03:08 iPsych