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

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

2 Comments

Which toolbox are you using to get your data?
DATA ACQUISITION TOOL;
set (ai,........) get(ai,......) (not session based )

Sign in to comment.

Answers (0)

Categories

Asked:

on 9 Nov 2012

Community Treasure Hunt

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

Start Hunting!