01-29-2008 04:07 PM
01-29-2008 04:36 PM
You did nomention what kind of operating system, size of your data, the amount of memory. In any case, I am using windows xp sp2 512 MB, I write data out ever 5 seconds and the machine has run for 3 weeks. I keep have to reboot the machine because all of the patches required on the operating system. The data is written out to a new file every hour. Each file is roughly 240K for each file. On top of that, I have another logging process that operates only when I have an active process. It collects data every minute and can take up to 10 days to complete.
I think you have leaky process in your VI. I suggest that you simulate the process with writing data out only to see if it crashes, increase your memory, etc.
Check your process status. See if you are swapping data out or you are near your memory limits.
01-29-2008 04:52 PM
01-29-2008 05:40 PM
01-29-2008 05:53 PM
01-30-2008 02:26 AM - edited 01-30-2008 02:28 AM
Hi DGU
yes, to move the close.vi into the loop should solve the problem unless there is an other problem.
How often do you write data into this file? If you write very often data into it, then its not a good solution to open and close the file every time. I think there should be a better solution for it.
Mike