Wednesday, July 1, 2015

Source Control for Wonderware InTouch Machine Edition Projects

Occasionally it’s necessary to add source control to a Wonderware InTouch Machine Edition project in order to begin workgroup collaboration and version tracking for that project. Here are some benefits and how to do this using Team Foundation Server:
  • Native revision control
  • Multi-user collaboration
  • Traceability (history of changes)
  • Security System (access control)
  • Multi-version comparison and merging options



To perform this task, you must be connected to your collaboration server.                                                                                                                  
After you add a project, there are two changes to how the individual project files are handled. First, when you insert a new screen or task worksheet into your project, the worksheet file is automatically added to source control. Second, when you open a screen or task worksheet for editing, the worksheet is automatically checked out of source control.
You can add a new project to source control when you actually create the project, assuming you are connected to the collaboration server at that moment.
Otherwise, to add a project to source control:
1. Save and close all open worksheets.
2. Right-click the project root (e.g., Project: projectname.APP) in the Project Explorer, and then click Add Project to Collaboration Server on the shortcut menu.
Files added to source control are marked with a green “add” badge.
Figure 1. “Add to Source Control” badge
source
Added files are considered to be checked out for editing, and they still need to be checked in to make any changes permanent.
Also, remember that if you added your entire project to source control, then each time you insert a new screen or task worksheet, it will be automatically added to source control with the rest of your HMI or SCADA project.