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

AVEVA™ Plant SCADA

AssMetadataPopUp

  • Last UpdatedJul 18, 2023
  • 2 minute read

Uses the metadata information from the current animation point for the associations for a new Super Genie page, and displays the new Super Genie in a pop up window.

Syntax

AssMetadataPopUp(sPage [,nAN])

sPage

The name of the Super Genie page to open.

nAN:

An animation number that uniquely identifies an object. This object contains the list of metadata definitions that will be used to perform the association operations.This parameter is optional with -2 being the default value. When -2 is specified, it is equivalent to DspGetAnCur() which returns the animation number of the current active command cursor, please refer DspGetAnCur() for usage and limitations.

UNINTENDED EQUIPMENT OPERATION

If called after other cicode functions in a command expression field, retrieve the animation number first, then pass it through the nAN parameter.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

Return Value

0 (zero) if successful, otherwise an error code is returned.

Example

/* Example of calling AssMetadataPopup after other cicode functions */

An = DspGetAnCur();

SomeVal = TagRead("SomeTag"); // do additional work

AssMetadataPopup("!TestSG", An);

Ass, AssChain, AssMetadata, AssMetadataPage, AssMetadataWin, AssChainPage, AssChainPopUp, AssChainWin, AssChainWinFree, AssGetProperty, AssGetScale, AssInfo, AssInfoEx, AssPage, AssPopUp, AssScaleStr, AssTag, AssTitle, AssVarTags, AssWin

See Also

Super Genie Functions

In This Topic
TitleResults for “How to create a CRG?”Also Available in