Dear Friends,
Now I am programming a DAQ system basically using a while loop. I used the "i" in the loop to count and the TDMS technique to record data(1D array). When I pressed the "stop" button, the number of data arrays were always one larger than the count. I guess when the count stopped, the one more data array were writen into the file, I don't know why? And how can the precise synchronization be realized ? Here I show a picture of framwork of the main VI ,maybe it help to understand what i mean. I am sorry that the source code cannot be issued.
So ,please help me if you have any idea.
Thank you