11-06-2006 06:43 AM
11-07-2006 09:35 AM
11-07-2006 10:21 AM
Hi Phillip,
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.
Regards,
Risotto
11-08-2006 02:53 AM
11-08-2006 03:09 AM
11-08-2006 03:37 AM
11-08-2006 04:43 AM
Dear Philipp,
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....
11-08-2006 07:44 AM
01-15-2007 12:10 PM
01-25-2007 07:53 AM
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!!!!!!