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

AVEVA™ Plant SCADA

DspSetMetadataFromNameRelative

  • Last UpdatedJul 18, 2023
  • 1 minute read

Name used to set the metadata of an object on the page relative to the given AN. Use the following syntax:

[RelativePath].[Group].[Group].Control

This will browse the group hierarchy to the given AN, and then drill down to other groups to find the named control or object.

See Referencing an Object Using a Name at Runtime for more information.

Syntax

DspSetMetadataFromNameRelative(hAN, sName, sMetaName, sValue)

hAN

AN used as the starting point for the search of the object name.

sName

The Name used as a reference for the object.

sMetaName

The Name of the metadata to be returned.

sValue

The Name of the metadata to be returned.

Return Value

The value of the metadata or error code

DspGetMetadataFromNameRelative

See Also

Display Functions

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