LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Pat O

Comments stick to case selector label in a case structure

It would be great if you could create a comment that would stick to the case selector label in a case structure.  If this were implemented, in the screenshot the "5PLL" comment wouldn't fly off to a random place when I cleaned up the diagram, but would stay with the case selector, making the code easier to read.

 

Screenshot.png

5 Comments
gsussman
Active Participant
I think this idea (Integrated Structure Labels) is a little more advanced form of the same idea.
Greg Sussman
Sr Business Manager A/D/G BU
Pat O
Member

Yup, you are right.  I missed it when I searched I guess.

JackDunaway
Trusted Enthusiast

This Idea seems distinct from the Integrated Structure Labels, because the other Idea does not account for each case having a distinct comment.

 

Spoiler

One comment on the example: rather than wiring a numeric into the case selector (which yields nondescript case labels), try wiring an enum instead. Then, your label 5PLL would be self-documented inside the case label. (And sparse enums would be handy for non-sequential mapping.)

gsussman
Active Participant

I was under the impression that the Integraded Structure Labels would allow multiple comments for each case in a case structure, similar to the multiple labels for each frame in a sequence structure.

 

 

Greg Sussman
Sr Business Manager A/D/G BU
Darren
Proven Zealot