Filter löschen
Filter löschen

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

4 Ansichten (letzte 30 Tage)
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?

Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by