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

AVEVA™ Plant SCADA

GrpInsert

  • Last UpdatedJul 18, 2023
  • 1 minute read

Adds an element (or another group) to a group.

Syntax

GrpInsert(hGrp, Value)

hGrp:

The group handle, returned from the GrpOpen() function. The group handle identifies the table where all data on the associated group is stored.

Value:

The element to add to the group, from 0 to 16375.

• Set Value to -1 to add all elements (0 to 16375) to the group.

• Set Value to a group handle to insert another group into the group.

Return Value

0 (zero) if successful, otherwise an error is returned.

GrpOpen, GrpDelete, GrpIn

Example

! Add 10 and 14 to a group.

GrpInsert(hGrp,10);

GrpInsert(hGrp,14);

See Also

Group Functions

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