DIAdem Help

Method: Add for ChannelGroups <DataPlugin>

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

Method: Add for ChannelGroups <DataPlugin>

Adds an object to the ChannelGroups collection and returns a ChannelGroup object.

Set oChannelGroup = Object.Add(sName)
ObjectChannelGroups <DataPlugin>
Object with this method
sNameString
Specifies the name of the channel group.
oChannelGroupChannelGroup <DataPlugin>
Returned object
Note  The name of the channel group must be unique and must not include special characters.

The following example first deletes all channel groups and then generates the MyChnGroup channel group:

Call Root.ChannelGroups.RemoveAll()
Call Root.ChannelGroups.Add("MyChnGroup")

Log in to get a better experience