03-06-2014 03:41 AM - edited 03-06-2014 03:44 AM
Hi,
I have a question reguarding writting data to tdms file. I have a data from a generator measurement, i have to write to tdms file at 10hz, 100hz and 1000hz. What's the best way of wrtting the data without loosing any data during writting? i'm using a normal pc in which a labview program is running and also the test will run upto 10 hours.
03-06-2014 06:53 AM
Look into the Producer/Consumer design pattern. What you want to do here is do your acquisition in one loop and your saving of the TDMS data in another loop. You send the data from the acquisition loop (producer) to the file saving loop (consumer) using a queue.