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

AVEVA™ Plant SCADA

AssWinReplace

  • Last UpdatedJul 18, 2023
  • 1 minute read

This function removes the associations on a specified Super Genie window and applies any pending associations. This may be a useful alternative to calling PageDisplay or WinNewAt to update associations, as a full page reload is not required.

You need to call this function once for every Super Genie substitution string in the specified window, otherwise the variable (substitution string) will remain uninitialized and will be displayed as #ASC.

Syntax

AssWinReplace(nTargetWindow)

nTargetWindow:

The number of the window where associations will be replaced.

Return Value

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

Example

Ass(-3, "Level", "MILK_LEVEL", 0);
AssWinReplace(2);

Ass, AssChain, AssMetadata, AssMetadataPage, AssMetadataPopUp, 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