Does anyone know if it is possible to copy "windows" from a corrupt wonderware windowmaker project and save it into a new project.
i.e what files will I need to copy for it to be a usable window in the new project so that I dont have to redraw the graphics again
Depends on how badly your app is corrupted and what part (windows, scripts, database, etc.) is corrupted. Create a new application and try importing the screens in. If you succeed, check all the links and make sure the scripts are not corrupted.
Wonderware has a tech note with a step-by-step procedure for recovering a corrupt application. If you have access to the tech support area on their website, you can download it yourself. If not, ask your distributer if they can get the document for you.
Copying files to/from a Wonderware application is a well documented way to make your application corrupt, don't expect it to fix it.
There are a few things to try before you get to the point where you have to make a new application and start importing database, screens, scripts, etc. You will want to try these steps first. If you have to rebuild the application, it is not a trivial task. There will be many placeholder tags to resolve.
It’s not too bad as long as you have the Tag Database file (the csv file created by running DB Dump) for the corrupt application. I have tried Wonderware’s recovery applications and never had any luck with them. I have found that it takes less time to do it manually, as long as you have the Tag Database file.
Create a new application.
Use DB Load and import the Tag Database file.
Import all the windows and scripts from the corrupt application.
Open a window, press F2, press Ctrl-E, click on Convert, click on Local. This will change the place holder tags to local tags.
Open the window scripts and convert the place holder tags in the scripts to local tags.
Save window.
Once you are done with all the windows do the same on the scripts.
When you have completed converting the tags in the windows and scripts, create a folder called Backup and copy the application to it