Creating TGML graphic pop-ups

You can add a pop-up to a TGML graphic. When a user clicks 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 clicks 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 click Rectangle, draw on the workspace, and then click the Objects tab.
  2. Go to the TGML, right-click on Rectangle, click New, and then select Bind.
  3. The following screen is displayed:

  4. Click Bind > press F2 or go to the Properties pane, and then set the value of Format to Presentation and Attribute to Stroke.
  5. Right-click on Bind, click New, and then select ConvertText.
  6. Click 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. Go to the Bindings tab, select the appropriate device measurements, and then copy the value.

  9. Go to the Objects tab, select Bind, and then paste the copied value.
  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. Save the TGML file.
  12. Log in to the PME Web Applications.
  13. Click 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: