DAQ Toolbox: Multiple trigger with ScansAvailableFcn Callback

3 ビュー (過去 30 日間)
Tugrul Öztürk
Tugrul Öztürk 2021 年 12 月 7 日
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 !

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by