Re: Getting Started With Channel Wires

Okay, that diagram is not something to study or worry about.  It is confusing and should have been hidden or had an explanatory note because it's a trick to get around the limitation of another trick we use to make Channels fast.  What looks like a regular subVI call is actually a fast version of a call-by-reference which uses the reference on the Channel wire at runtime.  The subVI has an input Channel and an output Channel, only one of which is used for any endpoint instance.  To speed up the call we arbitrarily connect up the calling VI's Channel (only one, either input or output) to the subVI input Channel.  In the future we should figure out how to avoid having to do this trick while still getting the performance we want. 


0 Kudos