DAQ Toolbox: Multiple trigger with ScansAvailableFcn Callback

6 views (last 30 days)
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 !

Answers (0)

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!