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

AVEVA™ Plant SCADA

ICommandSystem​.Count [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the number of commands in the command system.

Defined As

  • [VBA] Long Count

  • [Cicode] INT Count

  • [C++] int Count

Execution Result

If the property get succeeds, the return value will be Success.

Calling Syntax

This example assumes there is a valid CommandSystem object as retrieved from a Process Analyst. (for example, VBA: ProcessAnalyst.CommandSystem).

[VBA]

Function Example(CommandSystem As Object)
Dim count As Long
`Getting Property value
count = CommandSystem.Count
End Function

[Cicode]

FUNCTION Example(OBJECT hCommandSystem)
// Getting property value
INT nCount = _ObjectGetProperty(hCommandSystem, "Count");
END

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