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.
  1. Go to
    Library
    Widgets
    and move the
    Nodes Counter Dialog
    to any subfolder of the UI node, in the
    Project view
    pane.
  2. In any page, add a
    Button
    and configure the
    Mouse Click Event
    to run
    UI Commands
    and
    OpenDialog
    method.
  3. Create a
    Create a DynamicLink
    from the
    Dialog
    parameter to the
    Create a DynamicLink
    type.
  4. Create a
    Create a DynamicLink
    from the
    AliasNode
    parameter to the element that you want to inspect at runtime.
  5. At Runtime, click the button to display the
    Nodes 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
Have questions or feedback about this documentation? Please submit your feedback here.
Normal