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

NIDAQmx Base and continuous callback issue #63

Open
iPsych opened this issue Aug 28, 2021 · 0 comments
Open

NIDAQmx Base and continuous callback issue #63

iPsych opened this issue Aug 28, 2021 · 0 comments

Comments

@iPsych
Copy link

iPsych commented Aug 28, 2021

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?

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

1 participant