03-23-2016 03:09 PM
Hi everyone,
I am new to the Labview and its community. I was asked to aquire data on pressure measurement using Labview. I was able to build me code and have it working, but when I look at my data that was collected, it has not stopping point. I just spent large amount of time looking at the data at where it starts and where it ends. The question I am asking is how do I create a code to read the pressure, storage that into memory until it finish collect data and then write that to an .csv file.
I am using the NI USB-6009 and hook up at ai0 and ai4. See the attached code if not sure.
I want to record 100 data points and have the system stop after those collection.
Thanks,
John H.
Solved! Go to Solution.
03-23-2016 03:20 PM
You have a while loop which means your VI will keep running until you press your stop button.
The DAQ Assistant is already set to collect 100 samples.
Just delete the while loop!
03-23-2016 03:20 PM
Well, you already have your DAQ Assistant set up to read 100 samples. So all you really have to do is eliminate the loop.