DIAdem Help

Object: ChannelGroup <Data>

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

Object: ChannelGroup <Data>

The ChannelGroup object provides a channel group and the associated channels and Properties in the script interface for internal data. The ChannelGroup object is an element of the ChannelGroups collection.

The following example creates a new channel group, inserts a channel into the channel group, and fills this channel with values:

VBScriptPython

 

Dim oMyGrp, oMyChn, i
Set oMyGrp = Data.Root.ChannelGroups.Add("MyChannelGroup")
Set oMyChn = oMyGrp.Channels.Add("MyChannel",DataTypeFloat64)
For i = 1 to 100
  oMyChn.Values(i) = CDbl(i/100000)
Next

Properties

Channels | IsActive | Name | Properties | Root

Methods

Activate | IsKindOf

Log in to get a better experience