startBackground timing (NI DAQ)

3 次查看(过去 30 天)
I've noticed that after queuing a sizable amount of data, there is a noticeable delay (e.g. 1 or 2s) between initiating the startBackground function and it returning.
Doing some tests, it looks like the data output is actually starting nearer when the function is returning than when it is initiated.
Without modifying hardware, is there a way to get better control of exactly when the data output is initiating? Or, at least to get back a time of when it actually did initiate?
(I should add, maybe when startBackground returns is actually a good indication of when data output started - I just couldn't find this actually written anywhere)
Thanks
  1 个评论
florian schertenleib
Hello James, i have got the same issue! I queue data beforehand (1 second sinusoidal wave at rate = 10000. I found "prepare(s)" as a call to enhance the latency. Have you already tried this? Can anyone tell the reason why there is a latency after startBackground(s) resp. startForeground(s) ?
Thanks in advance!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simultaneous and Synchronized Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by