I am new to LV and I'm trying to figure out how to make LV stop taking data. I have used the DAQ assistant to take 10000 Voltage samples at 1KHz. This seems like it should take only 10 Seconds worth of data. However, LV continues to take data well after the 10 Second mark. In fact, only after stopping the VI can I see that it has taken much more. Can anyone help me to understand why this is? Do I need to tell the VI to stop after it collects the data I need?
If you have to stop the VI, then you wrote a program with a while loop and as long as that while loop is running, the DAQ Assistant is going to keep taking 10 seconds worth of data every time it is called. If you want something to run once, why would you put it in a while loop? Every programming language has a while loop and they all work the same way. This is nothing unique to LabVIEW.