DIAdem Help

Property: Channels for ChannelGroup <Data>

  • Updated2024-09-12
  • 1 minute(s) read

Property: Channels for ChannelGroup <Data>

Contains the Channels collection associated with a ChannelGroup object in the script interface for internal data.

Set oChannels = Object.Channels
ObjectChannelGroup <Data>
Object with this property
oChannelsChannels <Data>
Returned object

The following example creates the channel property Sensor_Type for each channel in the first channel group:

VBScriptPython

 

Dim oMyChn
For Each oMyChn in Data.Root.ChannelGroups(1).Channels
  Call oMyChn.Properties.Add("Sensor_Type","TC-N")
Next

Log in to get a better experience