How to acquire data and generate signals at the same time using ni-daq on session-based interface

8 ビュー (過去 30 日間)
Hi all,
I've tried search how can I use input and output simultaneously using ni-daq.
But I don't have any background knowledge about device and daq toolbox, Only can do analog input and output separately.
I have used session-based interface and my ni-daq model is usb-6356.
I want to make my system,whenever ni-daq get external trigger signal, transmit signal and acquire signal simultaneously.
Is there any function acquire data and generate signals at the same time on session based interface?
And how can I make the system do analog input and analog output whenever daq get external trigger?

回答 (1 件)

Brahmadev
Brahmadev 2024 年 5 月 17 日
You can use the "readwrite" function to simultaneously read and write device channel data
Refer to the following documentation for more information:
Also, you can refer to the following example to start a multi-trigger acquisition based on an external trigger:
Hope this helps!

カテゴリ

Help Center および File ExchangeSimultaneous and Synchronized Operations についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by