07-15-2013 11:27 PM
Hello,
I am currently logging files using a cRIO with file sizes between 50 and 100 MB. At times it may take upwards of two minutes to close the logging operation.
Is this normal? Is there anything that I can do to speed up this operation?
Thanks!
07-16-2013 06:09 PM
Hello Eric,
It does not look to be normal. Some file operations on cRIOs could be affected when there are several files in the folder (hundreds). Transferring the files via FTP and cleaning up the folder could help in the execution speed of this operation.
Please let me know if this is your case.
Regards,
MCOTO
07-16-2013 06:28 PM
07-16-2013 08:11 PM - edited 07-16-2013 08:11 PM
It doesn't look normal for me either, can you attach your program? So that we can have a look.
07-17-2013 07:19 AM
I've attached two files. LogModule.vi is the master logging module where I initialize the TDMS file, log the majority of data, close the file and move afterward. AuxLogModule.vi operates at a slower rate, where I log the performance of the cRIO to a separate page on the same TDMS file. When I call to close the logging operation, the LogModule.vi will wait until it receives a signal from AuxLogModule.vi that it is finished. The hangup happens in the "Close" state.
Let me know if something stands out.
Thanks!
07-17-2013 07:26 AM
Having troubles attaching...
07-17-2013 10:47 AM
Wouldn't removing the Defragmentation step speed up your operation? That can always be done later.
07-18-2013 07:58 PM
The TDMS Degragment function inside youe "close" state is time consuming. You can skip it in your logging process and do it seperately if necessary.