09-08-2015 02:22 PM
I am developing an application logging 9 different analog inputs and 4 digital inputs. I am using the cRIO-9067 to write this data to two different hard drives with one of them acting as a backup for the other. The test sequence is ran every 2s for 1 million cycles. A total of 2500 samples is collected for each of the inputs making a total of 32,500 values every 2s. Each cycle a new TDMS file is create. The VIs are attached that make up the data logging function.
The problem that I am seeing is that as the test progress the time required to open the TDMS increases greatly.
Any help with this problem would be greatly appreciated.
09-09-2015 04:34 PM
Is there are particular reason why you would want to create a new file in every iteration? It would be far more efficient to create a single file, and adding the data to it in each iteration, instead of having to open a new reference in every cycle.
09-09-2015 09:17 PM
The zip file contails 4 VIs and I couldn't open all of them. For the first 3 VIs, they miss some subVIs and for the "TDMS Config.vi", it doens't contain TDMS Open funciton.