does wait statment in data acquicition help to speed up the execution

1 次查看(过去 30 天)
hi
i am using adata acquisition card to extract the voltage valoues from a sensor , the problem wat i am facing is, the tme taken to getdata from all the pixels is more , its taking around 77 seconds .
on an around i have 1024 pixels , i am using for loop to address them .
does any one have any idea how to reduce the time.....
DAQ CARD :NI USB 6255
[Information from duplicate question]
i am using NI DAQ USB 6255 for data acquisition from a sensor , i need to acquire the voltages from 1024 pixels so i am using for loop to address the pixels and the problem is , its taking way much time( 36sec) .
using wait statement will stop matlab execution and jus acquire data and store in DAQ card but writing wait syntax for 2 seconds is not working , its taking around 19 second .
plz any one help to counter this problem

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by