06-29-2016 08:10 AM
Hi
I want to get all channels from an given channelgroup.
But I only get the first and the last channels in from the channelgroup.
ChannelsStr1=Data.Root.ChannelGroups(1).Channels.GetReference(eRefTypeOnlyName)
Call MsgBox("ChannelsStr:" + ChannelsStr1)
06-29-2016 08:34 AM
Hi Reol
Data.Root.ChannelGroups(1).Channels is a collection of channels. So you can run a loop to get information of each element of this collection:
Dim oMyChannel, oMyGroup Set oMyGroup = Data.Root.ActiveChannelGroup For Each oMyChannel in oMyGroup.Channels Call MsgBoxDisp(oMyChannel.Name) Next
Hope this helps!
Winfried
07-07-2016 01:10 AM
Thanks
Working now