Re: Getting Started With Channel Wires


@jkodosky wrote:

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. 

--Jeff


Too late!

 

The cat is out of the bag. (hopefully it is not Shroedinger's cat and it is killed now that the box is open).

 

I will not pester you about the details but I suspect there is a technique that could be useful... but I have no idea where when and how.

 

Hopefully curiosity will not kill this cat (smiley-wink)

 

Ben

0 Kudos
(1,803 Views)