Creating TGML graphic pop-ups

You can add a pop-up to a TGML graphic. When a user selects on a device in a TGML graphics page that has a configured pop-up, a pop-up is displayed. This topic lists the steps to add a pop-up to a device and includes an example to illustrate how to create a TGML graphic pop-up.

To create a TGML graphic pop-up:

  1. Open the Graphics Editor: Go to Start > Power Monitoring Expert > Graphics Editor.
  2. Go to File > New > Graphic.
  3. Design the graphics based on the PME user requirement.
  4. NOTE: Newly created TGML graphic pop-ups can be used for all the devices. When the user selects on a breaker in the PME Web Applications, the pop-up displays the same for all the components, but the values will be different based on the breaker.

Example

The following steps demonstrate how to create a rectangle box and bind it:

  1. From the top menu bar select Rectangle, draw on the workspace, and then select the Objects tab.
  2. Go to the TGML, right-click on Rectangle, select New, and then select Bind.
  3. The following screen is displayed:

  4. Select Bind > press F2 or go to the Properties pane, and then set the value of Format to Presentation and Attribute to Stroke.
  5. Right-clickon Bind, select New, and then select ConvertText.
  6. Select ConvertText > press F2 or go to the Properties pane, select the appropriate stroke color, and then set SignalEqualTo to FALSE.
  7. NOTE: To configure other signal values, repeat step 5. For example: TRUE or DISCONNECTED.

  8. Right-click the component and select Configure.

  9. Select the configuration for the component:
    1. Select the Sources.
    2. Select the Managers.
    3. Select the Modules.
    4. Select the Registers.
  10. NOTE: If the bind name is used without component, rename the bind to: Device Name$$Measurement Name$$Handle Number. For a EWS source, rename the bind to: Device Name$$Measurement Name.

  11. Select Apply after you make the changes to the bind.

  12. Save the TGML file.
  13. Log in to the PME Web Applications.
  14. Select on the created TGML file in the Diagram Library menu.

Rendering error conditions in pop-up using presentation value

In the bind properties, the Presentation values are Format = Presentation, Attribute = Content:

The following table explains the error rendering with the respective place holder that appears in the output Pop-Up as shown in the previous image:

Comm Loss
NA Value -INF
Quality is good Show Value returned by API
PME not running Default Comm Loss
Unknown

For example, when PME is shut down, the default comm loss is shown below: