startBackground timing (NI DAQ)

조회 수: 3 (최근 30일)
James McIntosh
James McIntosh 2014년 12월 18일
댓글: florian schertenleib 2016년 2월 16일
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
florian schertenleib 2016년 2월 16일
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