DAQ Toolbox: Multiple trigger with ScansAvailableFcn Callback

3 vues (au cours des 30 derniers jours)
Tugrul Öztürk
Tugrul Öztürk le 7 Déc 2021
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 !

Réponses (0)

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by