DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: ChannelGroups for Root <DataPlugin>

Property: ChannelGroups for Root <DataPlugin>

Contains the ChannelGroups collection associated with a Root object.

ChannelGroups object with read access.

Set oChannelGroups = Object.ChannelGroups
ObjectRoot <DataPlugin>
Object with this property
oChannelGroupsChannelGroups <DataPlugin>
Returned object

The following example searches in all channel groups for the Test_Status property and changes the value of this property:

Dim i, j, oMyProp
For j = 1 to Root.ChannelGroups.Count
  Set oMyProp = Root.ChannelGroups(j).Properties
  For i = 1 to oMyProp.Count
    If oMyProp(i).Name = "Test_Status" Then
      oMyProp(i).Value = "failed"
    End If
  Next
Next
In This Section
Was this information helpful?