Is there a possible method to reduce time latency in DAQ data acquisition in GUIDE app designer?
조회 수: 2(최근 30일)
표시 이전 댓글
Ajai Singh 2021년 12월 7일
We are trying to acquire data in loops using the current DAQ syntax for data acquisiton while using the GUIDE app designer. However, when looping data acquisition there is latency in the collection. I understand that there is no way of completely reducing this latency to zero, but is there any common practice to help reduce this to a reasonable ammount? Also, this DAQ acquisition has already been tried in the new app designer, but there is even more latency that occurs in that format due to background operations. Here is a copy of the code we are using:
trialNum=20; % User edits
AvailableDevice = daqlist;
Ch1=addinput(d,AvailableDevice.DeviceID,'ai10','Voltage'); % Input config options here
d.ScansAvailableFcnCount = 14000;
d.ScansAvailableFcn = @(obj,evt)plotMyData(i);
lagtime(i) = toc;
댓글 수: 0
Find more on Data Acquisition Toolbox Supported Hardware 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!