Hello everyone,
I'm quite new in labview, but already have lernt something. I'm aquiring data with NI-DAQ6009. In simplest words my programm is doing scanning. I move a stage into desired position and then want to take few samples of detector signal at that point. After that and some computation I make a move to next point and do the same. I've already written a programm, but I set Timing properties of DAQ to aquire continously data. Then I just need to read data from buffer in while loop after movement. But problem is, if stage is fast enough, then I can read some data from previous point. So my question is, how I can do this, that everything, like number of samples and all parameters and task can be set outside at the beginning, before scanning. After then, during the scanning, after each step just tell DAQ to get thiese few samples, read them and process. I would like to reduce time as much as possible. I searched up this forum and google, as well as demonstrating VI's and I found no sollution to this problem - either continous aquisition or one finite. I could use that one, but then I would have to set all parameters in each step, what would take a lot of time. I appreciate any help. 
Thank You.