TGML snippet examples

This section provides examples that demonstrate how to use snippets in TGML graphics. Follow these examples to create TGML graphic snippet behavior.

Prerequisites

To follow the TGML snippet examples, you need to have a graphic file with a binded component in the workspace.

To create a TGML graphic file with a binded component in the workspace:

  1. Open the Graphics Editor from the following location: ..\Users\Public\Desktop\Power Monitoring Expert, or by clicking on the Graphics Editor Icon.
  2. The following screen is displayed.

  3. Click File > New > Graphic:
  4. Add the components to the workspace:
    1. At the bottom left corner, click Components.
    2. Select any component and then drag and drop it onto the workspace.
  5. Bind the components:
  6. NOTE: If you dragged a Component onto the workspace, the below steps are required.

    1. At the bottom right corner, click Binding.
    2. Select a component to bind to the selected output register/topic name/standard measurement. For example: