Is there any way when I use "startbackground(s)" get data from AI port all the time and suddenly use "OutputSingleScan(s,data)" output sigle voltage? (DAQ6212)(2015b 64bit)
4 views (last 30 days)
Show older comments
I'd like to use only one DAQ 6212 card.
---------------------------------------hopefully method
1. Add AI and AO channel.
2. ""startbackground(s)"" get data all time behind Matlab !!!! Without Using AO Output!!!!
(Is there any posible ?)
3. Use ""OutputSingleScan(s,data)"" and put this ""OutputSingleScan(s,data)"" into a "for" circle.
---------------------------------------------------------------
For now before "startbackground()" I have to put "queueOutputData(s,data)" for AO.
But after queueData output "data" finish, DAQ will be stop. DAQ no longer getting data from AI.
---------------------------------------------------------------
Is there any way for DAQ and Matlab get data in background, and let me change output single voltage to output port?
(what if I can use "queueOutputData(s,Data)" continuous getting data and changing output "Data" will be ok for me!!)
0 Comments
Answers (0)
See Also
Categories
Find more on Digital Input and Output in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!