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

AVEVA™ Plant SCADA

AnByName

  • Last UpdatedFeb 28, 2024
  • 1 minute read

Retrieves the animation point number of an ActiveX object.

Syntax

LONG AnByName(sName)

sName:

The name given to the ActiveX object. This name is visible in the "Identification" tab of the ActiveX control in the Graphics Builder and is used to access the object.

If the animation number for an object is 35 and you renamed the object to "Fred", use AnByName("Fred"); which will return 35.

If you left the name of the object as the default use AnByName("AN35"); which will return 35.

Return Value

The animation point number of the object - if successful, otherwise an error code is returned.

CreateControlObject

See Also

ActiveX Functions

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