Skip to content

Compatibility with WinCC OA 3.21 #118

@cbuecheler

Description

@cbuecheler

Describe the bug
We have identified two pieces of code in CtrppCheck that conflict with WinCC OA 3.21.

  1. The getFileNamesRecursive function is now included in 3.21\scripts\libs\fileSystem.ctl. This results in the following error message:
    WCCOAui (2), 2026.01.08 12:58:19.578, CTRL, WARNING, 7/ctrl, Mehrfache Definition der Funktion "getFileNamesRecursive" in "C:\Data\Ritop\3.2\Ritop\WinCCOA_QualityCheck\scripts\libs\fileSys.ctl" und "C:\Siemens\Automation\WinCC_OA\3.21\scripts\libs\fileSystem.ctl"
  2. When CtrlppCheck is active, the panel for CTRL Script performance analysis can no longer be used because a struct ScriptData is also defined in panels\gedi\perfVisu\perfVisu.pnl. This results in the following error message:
WCCOAui      (2), 2025.11.17 12:48:13.976, CTRL, WARNING,    81, Syntax error, class ScriptData already defined @line: 35 in C:\Data\Ritop\3.2\Ritop\WinCCOA_QualityCheck\scripts\libs\classes\QualityGates\QgStaticCheck\CtrlCode\ScriptData.ctl, 
    Module: PerfVisu
    Panel: C:\Siemens\Automation\WinCC_OA\3.20\panels\gedi\perfVisu\perfVisu.pnl [perfVisu]
    Script: ScopeLib
,   Line: 18

The second conflict also occurs with WinCC OA 3.20.

To Reproduce
Steps to reproduce the behavior:

  1. Include WinCCOA_QualityCheck as subproject
  2. Start a project with Gedi
  3. Open CTRL Script performance analysis panel under Tools
  4. See LogViewer

Expected behavior
CtrlppCheck should be able to be used with WinCC OA 3.21 without these conflicts.

Software version and environment (please complete the following information):

  • OS: Windows 11 23H2
  • WinCC OA Version: 3.21
  • Version: 1.0.1?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions