@Dmitry wrote:
Bob, do you know of a way to programmatically create a Channel Wire connection at runtime ?
I'm unsure I understand what you want to do (I underlined "what" because sometimes I'm asked a "how do I" question when the real question is "Is that what you want to do?").
Here's an example. Suppose you have a CMH (Channel Messenger Handler) where the "Message" is a Cluster of two elements that I'll call "State" (an Enum, though it could also be a String) and a Variant called "Data" in case the State needs to chew on a parameter or three.
Anyway, I made a little demo, throwing in (for free) a Producer/Consumer design that uses the Stream Channel Wire, showing some nice "extra features" of the Stream Channel. I generated this in LabVIEW 2019, the "oldest" version I currently have installed, even though there's a somewhat-flawed version of the Messenger Channel (called "Messenger2") in that year. I believe it was fixed in LabVIEW 2020 (becoming, again, a Messenger Channel), and is definitely fixed in LabVIEW 2021. I'll try to also post a LabVIEW 2021 version in about 10-15 minutes.
Bob Schor