I read the link about memory management you sent me. This is really interesting, but I am not sure, this is exactly my problem. I try to explain: in my application I use a tdms file to save my acquired data. The acquisition and the saving of the data are all called from the same while loop. This means I can only use the deallocate memory VI after I am out the while loop. But this is too late and anyway I close the tdms-file after the while loop is finished and then my application stops. No, my problem is that during the acquisition and because of the saving of the data in the tdms, my memory is increasing and after some hours, my RAM is full and Labview crashes.
I sent a example VI so that you can see what appens. Please run the VI and look in the task manager at the labview.exe process. You will see, that the memory will slowly but surely increase.
I suppose the tdms saving was not disabled.
To disable the saving in tdms file, you have to rigth click on the Diagram Disable Structure (showing the tdms VIs) and choose "Disable this subdiagram". Then select the subdiagram without tdms vis, rigth click again ans choose "Enable this subdiagram". Now, you should have the tdms vis in the "disable" subdiagram and no vis in the "enable" subdiagram.
Our PC is a 3 Ghz with 1 GB. Some tests may run one week and the file at the end may reach several gigabytes....
UFFFFF!!!!! National Instruments Engineers...We need to Know these details!!! If we don't know that, we can't program!!!!!!!!!IIf we don't know something like that, programing in LabVIEW can turn in putting blocks in a trash!!!!!!