I have a problem with the function myPanelName().
It does return the path of the panel and not the node name from the PanelToplogy.
If have set up the PanelToplogy and the panel does exists. I even tried to remake the topology but this did not help.
My problem is that I want to use the function pt_panelOn() with the parameter iDirection set to 1 or 2, to navigate through the topology. But the function expects the node name and not the panel path.
I'm probalby missing something stupid. What is required for myPanelName() to return the node name from the topology?
pt_panelOn(myPanelName(), myModuleName(), 1);
pt_panelOn(myPanelName(), myModuleName(), 2);
WinCC OA 3.18 P009DebugN(myPanelName());
=> ["vision/area_a/panel_a1.xml"]
I expected something like this:
=> ["System1 AreaA1"]
(it is a multilanguage project if this matters)