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

AVEVA™ Plant SCADA

ObjectByName

  • Last UpdatedFeb 28, 2024
  • 1 minute read

Retrieves an ActiveX object. This is useful when you know the object by name only (this will often be the case for objects created during configuration, rather than those created at runtime using a Cicode function).

Syntax

OBJECT ObjectByName(STRING Name)

Name:

The name used to access the object, as specified when creating it in Cicode. For objects created in the Graphics Builder, the object name is set in the Access (Identification) tab, and defaults to "AN" followed by its AN number, for example, "AN35". The Name argument should be enclosed in quotes:

"<Name> ".

Return Value

The requested object, if successful, otherwise an error is generated.

DspAnCreateControlObject, CreateObject, CreateControlObject

Example

See CreateControlObject.

See Also

ActiveX Functions

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