LabVIEW Idea Exchange

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

Provide an option to disable auto-insert of shift registers

Status: New

Provide a way to either temporarily (via key press) or permanently (via a LabVIEW option) disable the automatic creation / insertion of shift registers when adding a loop around some existing code. Much like the auto insert feedback node in cycles option.

 

This feature generally gets it right when dealing with references or error clusters, but other times it'll connect irrelevant data together, requiring extra effort to undo and rewire. The auto-wiring also creates weird bends when connecting the shift registers. When an unwanted shift register is then changed back to a tunnel, the bent wires remain in place.

 

A typical use case:

auto_shift_register.png




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
11 Comments
MichaelBalzer
Active Participant

Thanks AQ for following this up with NI devs and for the token info, it's very much appreciated. I agree with the "less wrong" sentiment, and can appreciate the very diverse field of users LabVIEW needs to cater to. I'm sure the auto shift registers have seen a reduction in support requests.

 

Not to labour the point too much, but the reason for wanting the always tunnels style is knowing that I'll always get tunnels. For me it's less about what is more right or wrong, but knowing an action I take will produce an identical result every time, without the need to second guess myself or LabVIEW.

 

I'd settle for the 'W' approach too, it's worked its way into my muscle memory.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.