How to increase speed of startForeground() in data acquisition toolbox

1 回表示 (過去 30 日間)
Chaitanya Jha
Chaitanya Jha 2019 年 8 月 29 日
Hi everyone,
I am working on a project where I am using NI DAQ board NI-USB 6221 for data acquisition. If I try to acquire a 50 ms data using startForeground() function the total time consumed by this function is around 250 ms. I was wondering if there is any way that I can decrease the time required from 250 ms to something around 100 ms? My idea is that maybe I can use a different function instead of startForeground() but the only other function mentioned on Matlab website that can do this job is startBackground() which requires me to setup listeners and given the data processing that I am doing this will not be a good idea. So I am hoping that there might be an internal Matlab function which is not mentioned on Matlab website that I can use to decrease my acquisition time or I am even ready to make my own function but I am not sure where to start.

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimultaneous and Synchronized Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by