Hi everyone,
I have problem finding the suitable function to save data into txt or TDMS like queue or stack. Could anybody show me some sample to save data like that?
The data is generated in a while loop and the data is saved outside of the loop. In the past, I used "build table" VI to add data generated in each loop into the table and save them all in the file after the while loop is over. However, the "build table" VI is time consuming and it is executed for every loop thus slowing down the speed of the program.
To increase the efficiency of the program, I am now using a shift register and stack structure to add all the data into a stack and save them all in the file after the while loop is over. This method is still consuming some time.
I hope I can use a function to save file in a way like stack so that it can save data generated from each loop outside the while loop, and it can add the new data to the end of former data without overwriting the former data. Is there such function to do so?
Thanks
best