Hi Sharonoff,
So I have the basic answer to your question. The MAX database files on RT controllers are written to in various situations, but these are the two main times:
1) When creating DAQmx tasks or virtual channels through MAX.
2) When deploying and undeploying shared variables.
Currently we are looking into how to prevent this problem. Since the two situations do not typically occur in a finished program (normally tasks and deploying occur in development) you should not expect to see the problem in a finished product. If you have finished your application, and are concerned about corruption, I would suggest creating an image of your controller using the
System Replication VIs. The example program is typically good enough to do what you need. This can save you countless hours, and is a great way to ensure that someone later down the road doesn't need to relearn you program to get the system back up and running.
Brian K.