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

8 views (last 30 days)
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?

Answers (1)

Brahmadev
Brahmadev on 17 May 2024
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!

Categories

Find more on Simultaneous and Synchronized Operations in Help Center and File Exchange

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!