Property: ChannelGroups for Root <DataPlugin>
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Properties > 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
Object | Root <DataPlugin> Object with this property |
oChannelGroups | ChannelGroups <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