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

2 Ansichten (letzte 30 Tage)
MANJUNATH
MANJUNATH am 9 Nov. 2012
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 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 9 Nov. 2012
Bearbeitet: Azzi Abdelmalek am 9 Nov. 2012
Which toolbox are you using to get your data?
MANJUNATH
MANJUNATH am 14 Nov. 2012
DATA ACQUISITION TOOL;
set (ai,........) get(ai,......) (not session based )

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by