Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Dynamically Instantiate a Genie at Runtime

  • Last UpdatedJul 13, 2023
  • 1 minute read

Use the DspSym Cicode function with a Genie to dynamically display content that is only generated at runtime. DspSym can be used with or without an expression.

At runtime when the page is refreshed or the operator clicks away from the page the instantiated Genie is deleted.

Note: ActiveX objects and controls (such as Process Analyst, Database Exchange Control and Scheduler) are not supported. If used and the "I want to use this Genie with Cicode Function DspSym" is selected, then on saving the page the following error message will be displayed:
Genie cannot be saved.
Genies cannot contain ActiveX controls when configured to be used with the cicode function DspSym.
You must remove all ActiveX controls to continue.
To save the page, deselect the checkbox or remove or delete the ActiveX controls used in the Genie.

To edit the properties of the Genie:

  1. Open Graphics Builder.

  2. Click the Open button on the toolbar, or select Open from File menu.

  3. Select the Genie tab.

  4. Select the Project and Library in which the Genie is stored.

  5. Select the Genie.

  6. Click OK.

  7. Right click on the page and select Page Properties

  8. Select the option "I want to use this Genie with Cicode Function DspSym"

  9. Click OK

  10. If the Genie or an object within the genie uses substitution '%%' syntax in the expression, replace the substitution with the full expression so it can be used at runtime. If you do not edit the substitution a compile error message may be displayed.

    Note: You can define Metadata instead of using the full expression.

See Also

Configure a Genie

Related Links
TitleResults for “How to create a CRG?”Also Available in