Suppose i use the DAQmx Read.vi before starting a task will the vi read from the buffer already stored data or do i have to start the task again to read the data in the buffer if so then will the acquisition will be triggered when i start the task?
Please clarify this doubt of mine.
Elaborating with an Example
I Have created a virtual channel with continuous sampling with sampling rate of 1000Samples/ S my signal frequency is say only 1Hz, the buffer size is 4000 Samples i do this all using DAQmx vi's to get a newly created task. Now I aquire for 2 seconds assuming my acquisition starts as soon as i start the task inside the while loop i do the reading of samples from the buffer at a slower rate say 100 samples/sec. So in turn i must run the while loop at least for 10 times to acquire all the samples assuming now that the while loop executes at 100ms so by 10 iteration it would have run for 1 second in this case my acquisition will acquire the new data samples an throw it in the buffer. If the execution of while loop is improper or does not execute at 100ms then i might end up losing data or acquiring more data.
All i want to know is
1. Does the start task mean starting acquistion.
2. Do we have to start a task to read samples from the buffer.
Thanks
Bye
K.Narayanan