DIAdem Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JuliaDawkins

Keep assignment channel designation for result channel in ChnEventCreateFilteredTrueChn

Status: Under Consideration

Hi Julia,

 

Thank you for your feedback. This can be part of general improvements for Assignment channels. I change the status to “Under consideration”.

 

Greetings

Walter

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)

 

 

1 Comment
Walter_Rick
NI Employee (retired)
Status changed to: Under Consideration

Hi Julia,

 

Thank you for your feedback. This can be part of general improvements for Assignment channels. I change the status to “Under consideration”.

 

Greetings

Walter