Project Comparison dialog
- compare two projects via Compare projects
- load a file with saved comparison results via Load saved comparison results
Select the desired option via the radio button.
Compare two projects
Hint: The difference can be shown in %. It is mandatory to activate the property Create all differences on initial loading (may cause loading time) to use this functionality. To evaluate the difference, the lines with differences are compared with the total number of lines.
Example for % calculation: If 15 lines are different and the total numer of lines is 20, you will get a 75% difference rate (15/20).
Defines the settings to compare two projects:
- Go to the menu bar entry Tools and Compare projects or select the two projects which should be compared in the tree view and click on the right mouse button.
The context menu will be opened. - Click on Compare projects to open the dialog.
- Select the settings.
- Confirm the selected settings via a click on OK.
The comparison view will be opened. - Select the desired settings and click on OK to start the comparison.
The following settings are similar for Project 1 and Project 2:
Option |
Description |
Project |
Settings for the first/second project which should be compared. Select the way how the project will be opened. This is possible via:
|
From Disk |
Click on the arrow symbol to select the project path. A click on ... opens the dialog to select the folder which contains the projects. |
From Target |
A click on Edit... opens the dialog Communication Settings with the options:
Hint: Only possible, if the project files have been stored on the target. Open the download procedure settings in the menu bar entry Project, Settings..., Debugging. Double-click on Edit... opens the dialog Download where you can activate the checkbox Send source code for later project upload. |
From ZIP / XML |
A click on ... opens the dialog to select a backup of the project in *.ZIP or *.XML format. |
Options
Enable the checkbox of the choosen options via a click with the left mouse button.
Option |
Description |
Ignore case |
Case sensitive differences will be ignored. |
Ignore comments |
Comments will be ignored. |
Ignore white spaces |
White spaces will be ignored. |
Ignore diagram/chart presentation (logic only) |
Differences in diagrams/chart presentations will be ignored. |
Sort variables before comparison |
Sorts all variables via the name before starting the comparison. |
Format for variable description
Choose the format for the variable description.
Option |
Description |
IEC Syntax |
Description in IEC Syntax. |
XML |
Description in XML-format. |
CSV |
Description in CSV-format. |
Create all differences on initial loading (may cause loading time) |
Option to create all differences during the initial loading. |
Additional option
Option |
Description |
Create all differences on initial loading (may cause loading time) |
Option to create all differences during the initial loading. |
Load a file with comparison results
To open the *.K5D file:
- Select the radio button Load saved comparison results.
- Click on ... to open the dialog to select the folder which contains the file.
- Select the file and click on Open and Compare to open the file.
Navigation
Option |
Description |
Compare |
Starts the comparison of the two projects. |
Cancel |
Closes the dialog without changes. |
Help |
Opens the corresponding Help topic. |
Project Comparison dialog |
IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > Tools > Comparing 61131-3 projects > Project Comparison dialog |
Created with the Personal Edition of HelpNDoc: Effortlessly Spot and Fix Problems in Your Documentation with HelpNDoc's Project Analyzer