LabVIEW Idea Exchange

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

Implement a "wire-through" option on Structures

Status: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.

This is an extension of the "linked input tunnel" idea, where tunnels (in Case statements) wire themselves for all the cases.  Suppose you have an existing structure with a lot a variables in shift registers (see "Before" figure), and want to add a Case, While, For, Event structure that uses those wires.  What you do is lay down the structure, which ends up "on top of" the wires, then having to manually break each wire and wire it into/through your structure.  I'd like an option to convert "on-top-of" wiring to "wired-through".  The pictures should explain what I mean.

                                     Before                                                                                   Current, structure "on top" of wires                                             New idea, "wire-through" option

Wire-through Idea.png

7 Comments
JackDunaway
Trusted Enthusiast

How about putting all those wires in a "conduit"? Consider a "State Data Conduit" approach, and access your data through Bundle by Name/Unbundle by Name. It's hard to see exactly what datatypes you have, but it looks like several Booleans and Numerics - not many "large" datatypes. These would be perfect candidates for bundling.

 

It appears you are very neat and particular with your code, and like myself I think you will like the neatness of the conduit bundle.

Knight of NI

I agree with the comment regarding the code style for the example, although I understand the reason for the screenshot is for demonstration. Plus, if you use a cluster, you're less likely to wire to the wrong wire.

 

As for the idea itself, I think perhaps this might be better suited for the JKI Right-Click Framework?

RavensFan
Knight of NI

While combining wires into clusters would be helpful in the images shown above, I think what Bob is looking for is pretty much was is described in Include existing items in flat sequence.  Where that idea only mentioned sequence structures, this idea would be more inclusive to include case structures, and possible could inlude some other structures as well such as an event structure.

Manzolli
Active Participant
Agree with Ravens Fan. I like the concept for any "box" structure as an option or a context menu command in it's border. Now how can I vote for it without being repetitive (creating a new thread) nor vote for something that doesn't represents properly the idea.
André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
Bob_Schor
Knight of NI

I agree that my idea is an extension of Include existing items in flat sequence (though I almost never use frames).  And yes, I do know about "bundling wires into clusters" (five of those wires were, indeed, clusters).  While clustering keeps the number of wires down, bundling/unbundling can also get ugly/messy.  I've opted for a mixed style, particularly in a top-level State Machine.  But the point remains, one often wants to add something from the "structures" palette "on top of" existing wires and may want the option of having the wires included inside the structure (rather than being "covered" by the structure, and having to re-wire each wire "by hand" into the new structure).

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.

jqu
Member
Member

Wanted to give kudos to the idea, since it is still a valid idea in 2022. Instead I feel like giving negative kudos to Darren's comment now 😞