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

1 visualizzazione (ultimi 30 giorni)
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 Commenti
Azzi Abdelmalek
Azzi Abdelmalek il 9 Nov 2012
Modificato: Azzi Abdelmalek il 9 Nov 2012
Which toolbox are you using to get your data?
MANJUNATH
MANJUNATH il 14 Nov 2012
DATA ACQUISITION TOOL;
set (ai,........) get(ai,......) (not session based )

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Data Acquisition Toolbox Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by