DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

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
ObjectRoot <Data>
Object with this property
oChannelGroupsChannelGroups <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:

VBScriptPython

 

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
In This Section
Was this information helpful?