Using CitectSCADA > Genies and Super Genies > Super Genies > Configuring a Super Genie as a Page

Configuring a Super Genie as a Page

You can configure and save a Super Genie as a normal graphics page. This means that when you use the Super Genie you do not need to define a Genie to call it, and instead can use any graphics object.

Note: If you configure a Super Genie in this way and name the page with an ! prefix to hide it, you need to select List System Pages from the Graphics Builder Options menu to show the page with the other pages, so you can then select it and edit the page.

To create a new Super Genie page:

  1. From the toolbar select New, or go to File | New
  2. Select Page
  3. Choose a Page template and click OK
  4. Define the page properties e.g. size of page
  5. Place an object on the page e.g. numeric expression
  6. Define the objects properties.
  7. Select the type of object
  8. In the expression field enter the association (placeholder) – don’t forget to enclose the name or number in question mark characters. E.g. ?Level?
  9. Note: When creating a Super Genie, if you reference an association that has not been defined on the Page Properties - Associations tab, it will be assumed to be an association type substitution with no Default, Value on error, or Description. You will need to define the Default, Value on error, and add a Description (if necessary) directly in the associations tab.

  10. Click OK to apply the changes
  11. Select File | Save
  12. In the Save dialog, select the project the page will belong to (be aware that tab options are unavailable)
  13. Name the Super Genie page and click OK

In the example above there are two numeric expressions on the Super Genie page. When configuring the Super Genie the association name Level was added directly to the page properties- associations tab. The other association name Position will be passed to it at runtime using an Ass() Cicode function.

See Also