trigger daq ( session based interface)

Hello,
I have a National Instruments USB-DAQ and I'm using the session based interface. My experiment has two AO channels, one AI channels, and two trigger sources (PFI0 and PFI1), both HwDigital trigger types. The voltage on the AO channels should be incremented every 0.1 ms, from 0V to 10V with steps of 1V. After waiting 0.05ms, the AI data should be read and stored.
I have two external trigger source for both AO and AI.
The examples I have seen about triggering only have one simple action such as reading an analog input channel. But in my system I need several trigger events and in each of them I need to set a different action, because I want to drive the voltage from 0V to 10V. How can I implement this?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Hardware Discovery and Setup에 대해 자세히 알아보기

제품

질문:

2016년 1월 12일

편집:

2016년 1월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by