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?
0 个评论
回答(1 个)
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simultaneous and Synchronized Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!