I was using an “assignment” channel as the “ChnEventTrueChn” for “ChnEventCreateFilteredTrueChn” and was really hoping the result channel would also be an assignment channel, but no, it’s not.
My original assignment channel is matched up nicely with some text values, so it would be really helpful to have those values “carry” if I execute a function or calculation on the numeric channel.
FYI, Brad Turpin provided a workaround until this is implemented that works just fine for me:
Clone your assignment channel and use the clone for the ResultChannel channel in the “ChnEventCreateFilteredTrueChn” function.
Set OldGroup = Data.Root.ChannelGroups(1)
Set NewGroup = Data.Root.ChannelGroups(2)
Set OldAssignChannel = OldGroup.Channels(1)
Set NewAssignChannel = NewGroup.Channels.AddChannel(OldAssignChannel)
Call ChnEventCreateFilteredTrueChn(NewAssignChannel, ChnEventList, OldAssignChannel, ChnEventFalseValue)