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

AVEVA™ Plant SCADA

IProcessAnalyst​.CommandSystem [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets a reference to the Process Analyst's Command System object. With this object you can execute commands, query command information, and create your own custom commands.

Defined As

  • [VBA] Object CommandSystem

  • [Cicode] OBJECT CommandSystem

  • [C++] ICommandSystem* CommandSystem

Execution Result

If the property get succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument.

Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".

[VBA]

Sub Example()
Dim commandSystem As Object
`Retrieve command system
Set commandSystem = myPage_AN35.CommandSystem
End Sub

[Cicode]

FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
OBJECT hCommandSystem;
// Retrieve command system
hCommandSystem = _ObjectGetProperty(hProcessAnalyst, "CommandSystem");
END

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