Enable Disable
The TwinCAT Analytics Workbench offers the functionality to switch individual algorithms or even complex networks on or off in a data analysis. This document explains the use and advantages of this function.
The function allows users to specifically optimize or even deactivate individual parts of an analysis in order to influence the behavior of the analysis as a whole.
Advantages and application examples for the deactivation of modules in an analysis:
- Improved precision:
The ability to turn algorithms and networks on or off in the data analysis allows users to improve the accuracy of the analysis. If an algorithm is not working optimally or a certain network area is not relevant, it can be disabled to improve the overall precision of the analysis. - Optimizing resource use:
Turning algorithms or networks on or off can also help optimize resource use. For example, if an algorithm requires high computational power, it can be turned off as needed to focus resources on other areas of analysis. - Flexibility:
The ability to turn algorithms and networks on or off in data analysis provides users with flexibility and control over analysis. Users can customize the analysis to meet the specific needs of their data. - Debugging:
The function also allows users to debug problems in the analysis. If a particular part of the analysis is faulty, the affected algorithm or network can be disabled to isolate and fix the problem.
Switching modules on or off is controlled by the control elements in the upper left corner of the respective module.
Alignment | Color | Status |
---|---|---|
Right | Green | Enabled |
Left | Red | Disabled |
For linked modules, the chain of links is passed through and inputs linked to a disabled module are indicated by a red X at the input.
Disabled Link between two analysis algorithms:
If a network is deactivated, the processing of all algorithms below the network and its subnetworks (recursive) is also deactivated.
Deactivated network elements with their subelements:
If you use a Referenced Scope (see Interaction with Scope), linked elements of the Scope are also affected by the deactivation.
Deactivating the algorithm also deactivates the associated Scope acquisition: