DAQ Toolbox: Multiple trigger with ScansAvailableFcn Callback

Hello,
I need to periodically trigger a DAQ device from National Instruments which is capable of external hardware trigger (input: PFI0). For this, I want to use "ScanAvailableFcn" Callback which raises when the ScanAvailableFcnCount is reached. However, right now it the ScanAvailableFcnCount is just raised once, even I have configured the "NumDigitalTriggersPerRun" greater 1. Moreover, when I traced the "NumDigitalTriggersRemaining" I could determine that this property is decreasing everytime I generating the trigger signal but for somehome the ScanAvailableFcn is only raised single time at the first trigger only. I guess there is a property which blocks the ScanAvailableFcn being rasied more than one time.
Best regards !

Respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Centro de ayuda y File Exchange.

Preguntada:

el 7 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by