Nodes counter dialog
You can check the size and complexity of a specific object at runtime by using a
Nodes Counter Dialog
provided by FactoryTalk®
Optix™
in the Library
manager.The
Nodes Counter Dialog
is a diagnostic tool that can be used to
count the number of nodes of a project portion. It is very useful when you want to
understand why a specific page takes a long time to load or to understand if some
elements require optimization.
TIP:
No general node
limit of notes per screen exists. You should monitor node count and assess
complexity for your specific device.
- Go to and move theNodes Counter Dialogto any subfolder of the UI node, in theProject viewpane.
- In any page, add aButtonand configure theMouse Click Eventto runUI CommandsandOpenDialogmethod.
- Create aCreate a DynamicLinkfrom theDialogparameter to theCreate a DynamicLinktype.
- Create aCreate a DynamicLinkfrom theAliasNodeparameter to the element that you want to inspect at runtime.
- At Runtime, click the button to display theNodes Counter Dialog, the nodes count will appear.
TIP:
If the
AliasNode
property of
the button is linked to a PanelLoader
or
NavigationPanel
, the counter will automatically update every
time a new page is loaded.Provide Feedback