02-18-2015 06:00 AM
Hello,
I connected a pressure sensor to my NI DAQ. I measures the voltage values and multipy those with a coefficient to obtain pressure values. I have no problem about these steps.
Now I set my sample ead value to 10 with continous sample.
When i start the program, it collects 10 last data of the tests and placed it inside the array but i want to collect all data from the beginning to the end of the test. How can i provide all these datas inside an array ?
02-18-2015 06:45 AM
You can use a shift register and Build Array to keep adding data to an array. This generally isn't a good idea since you will be constantly causing memory allocations. And if you run for any decent amound of time, you will run out of memory.
I would recommend using the logging to TDMS function in the DAQ assistant to stream your data to a TDMS file. You can later read that file to get all of your data.