Property: ChannelGroup for AssignmentChannel <Data>
- Updated2024-09-12
- 1 minute(s) read
Internal Data > Properties > 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
Object | AssignmentChannel <Data> Object with this property |
oChannelGroup | ChannelGroup <Data> Returned object |
The following example generates an assignment channel and displays the name of the channel group which contains this assignment channel:
VBScript | Python |
Dim oMyGrp, oMyChn Set oMyGrp = Data.Root.ChannelGroups(1) Set oMyChn = oMyGrp.Channels.AddAssignmentChannel("MyAssignmentChn", "Default Value") Call MsgBoxDisp(oMyChn.ChannelGroup.Name)