Azzera filtri
Azzera filtri

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

4 visualizzazioni (ultimi 30 giorni)
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?

Risposte (0)

Categorie

Scopri di più su Data Acquisition Toolbox Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by