DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: ChannelGroup for AssignmentChannel <Data>

Property: ChannelGroup for AssignmentChannel <Data>

Specifies the channel group, which contains a specific assignment channel, in the script interface for internal data.

Set oChannelGroup = Object.ChannelGroup
ObjectAssignmentChannel <Data>
Object with this property
oChannelGroupChannelGroup <Data>
Returned object

The following example generates an assignment channel and displays the name of the channel group which contains this assignment channel:

VBScriptPython

 

Dim oMyGrp, oMyChn
Set oMyGrp = Data.Root.ChannelGroups(1)
Set oMyChn = oMyGrp.Channels.AddAssignmentChannel("MyAssignmentChn", "Default Value")
Call MsgBoxDisp(oMyChn.ChannelGroup.Name)
In This Section
Was this information helpful?