October 14, 2013 | Bretislav Valek
Visualization project diagnostics is a tool intended for checking a visualization project and detecting issues that could hardly be found by the user during normal work. The Project Diagnostics Wizard is built in the Reliance Design development environment (both versions, Desktop and Enterprise) in the form of an intuitive wizard. If an issue has been found, the Diagnostics Results window is displayed listing the detected issues and inconsistencies in the visualization project. Further, this tool allows you to find and then remove unused objects, which will optimize the project. In case any tags have been removed, such optimization can affect the number of data points and thus the price of the license.
Watch the video that shows how to work with project diagnostics in Reliance SCADA.
The Project > Perform Diagnostics command is used to bring up the Project Diagnostics Wizard. The first step of the wizard allows you to choose which issues should be detected.
Project Diagnostics Wizard
The second step contains a list of project scopes to scan. It is useful for large-scale projects when the user wants to ignore some issues and doesn't want to wait until the entire project is checked.
Project Diagnostics Wizard > Project scopes
Note: If unused objects are to be detected (the Unused objects option in Step 1 must be active), the wizard does not allow you to choose project scopes because the entire project must be scanned.
In case any issues have been found, the Diagnostics Results window is displayed. On the left side of the window, there is
a tree view that corresponds to all project scopes. On the right side of the window, there is a list of issues that correspond to the scopes marked in the tree view. This allows you to easily filter the results. Each item in the list shows the full path to the object, error type, and description. Double-click the item to open the respective scope (e.g., a manager, component editor) and select the control that corresponds to the property for which the issue has been detected. This is how you can quickly get rid of the issue. For items of type Unused object, you can also use the Delete Unused Objects command to remove the objects directly from the Diagnostics Results window. Additionally, if a tag is detected as an unused object, you can disable using this tag by choosing the Disallow Use at Runtime command.
Project diagnostics can also be used to find out where a specific object (e.g., a tag) is used. To easily find object usages, select the object in the respective manager (e.g., a tag in the Device Manager) and choose the Find Object Usages command from the popup menu.
Device Manager > Find Object Usages
The first step of the Find Object Usages Wizard allows you to select project scopes to scan. When the wizard is completed, the Object Usage Search Results window is displayed. It is the same window as in the Project Diagnostics Wizard.