Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
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?

Respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by