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 comentarios

Azzi Abdelmalek
Azzi Abdelmalek el 9 de Nov. de 2012
Editada: Azzi Abdelmalek el 9 de Nov. de 2012
Which toolbox are you using to get your data?
DATA ACQUISITION TOOL;
set (ai,........) get(ai,......) (not session based )

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Centro de ayuda y File Exchange.

Preguntada:

el 9 de Nov. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by