Property: ChannelGroups for Root <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Properties > Property: ChannelGroups for Root <Data>
Property: ChannelGroups for Root <Data>
Contains the ChannelGroups collection associated with a Root object in the script interface for internal data.
Set oChannelGroups = Object.ChannelGroups
Object | Root <Data> Object with this property |
oChannelGroups | ChannelGroups <Data> Returned object |
The following example searches in the channels of the first channel group for the Test_Status property and changes the value of this property:
VBScript | Python |
Dim oMyChn, oMyProp For Each oMyChn in Data.Root.ChannelGroups(1).Channels Set oMyProp = oMyChn.Properties If oMyProp.Exists("Test_Status") Then oMyProp("Test_Status").Value = "failed" End If Next