in data acquisition start and extract data should be inside the loop or outside

2 views (last 30 days)
i have ni DAQ card , time consumed by triggering(start(Ai)) and extracting(getdata(ai)) is too much , how can i reduce it ??
whether data acquisition will consider all the existing pixels if i write those codes outside the for loop which is used for addressing the pixels ?
in case i write those code outside the loop the time taken to execute is very less , so which among(inside or outside the loop)is the wright choice .

Accepted Answer

Sachin Ganjare
Sachin Ganjare on 31 Oct 2012

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!