Can listeners in the session based daq interface be notified by events other than "DataRequired" and "ErrorOccurred"?

4 次查看(过去 30 天)
I would like to queue data onto the national instruments card one time, and re-trigger it at arbitrary times. I can set up a listener to re-queue and re-start when the card runs out of data, but this leads to a continuous output. What I would like to do is use my code (like a software trigger in the legacy interface) to control the timing of this output signal, to have its timing depend on the value of another variable that is changing dynamically.
In legacy, I used trigger functions to accomplish this, but I can not find a way to make this work in the session interface. If I could define my own custom notification event that would fire the listener, this could work, but it seems that we are limited to just DataRequired and ErrorOccurred?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

产品


版本

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by