From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

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

LV2010 Merge Errors Improvement

Status: Completed

Available in LabVIEW NXG. The output of the Merge Error (or Retain First Error) node is always on the top right corner of the node.

Unlike the other growable functions (eg Build Array, Concatenate Strings), the output of the really appreciated new Merge Errors function shouldn't be centered to avoid a bend in the error wire.

21768i5CB00D8CCFE3352A

10 Comments
tst
Knight of NI Knight of NI
Knight of NI

If you don't want a bend in the wire, then place the node in such a way that there will not be a bend in the wire.

 

All growable nodes have the single I/O in the center and I don't see why this should be different.


___________________
Try to take over the world!
crossrulz
Knight of NI

I would actually love to see this and the build array have the output terminal on the top.  It always annoys me having that bend in the wire with my while loops w\ shift register.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
tst
Knight of NI Knight of NI
Knight of NI

I agree about the SR bend annoyance. The same happens when you build an array inside a case structure.

 

I might agree to a more generic idea, which would be to add a right click option to some (all?) of the growable nodes to allow their single input/output to be at the top, center or bottom. This will also help eliminate the bends you get when you enlarge bundle/unbundle nodes. I still don't like the non-standard behavior, but it certainly has merit.


___________________
Try to take over the world!
elset191
Active Participant

Why not just put the bend behind the node?

--
Tim Elsey
Certified LabVIEW Architect
jlokanis
Active Participant

elset191: because that would be bad style.  And VI Analyzer would ding you on that.

-John
------------------------
Certified LabVIEW Architect
JB
Trusted Enthusiast
Trusted Enthusiast

 


tst a écrit :

If you don't want a bend in the wire, then place the node in such a way that there will not be a bend in the wire.

 

All growable nodes have the single I/O in the center and I don't see why this should be different.


In most of my code, I align the VIs on the error wire. The alignement would be easier if the output was on the top --> aligned with the first input. Cleaner code, less time to align the VIs...

 

elset191
Active Participant

elset191: because that would be bad style.  And VI Analyzer would ding you on that.

 

Meh.  Such a minor infraction doesn't bother me.  When the style guidelines make my block diagram look worse, I tend to not follow them.  Especially for something like this case.  And I don't have the VI Analyzer to yell at me, so...double win.

--
Tim Elsey
Certified LabVIEW Architect
Darren
Proven Zealot

 


@jlokanis wrote:
because that would be bad style.  And VI Analyzer would ding you on that.

 

The only two VI Analyzer tests I can think of where this would apply are the Wire Bends test and the Backwards Wires test, both of which have an option (which is selected by default) to ignore wire segments that are under their own source/sink terminals.

Darren
Proven Zealot
Status changed to: Completed

Available in LabVIEW NXG. The output of the Merge Error (or Retain First Error) node is always on the top right corner of the node.

JB
Trusted Enthusiast
Trusted Enthusiast

Many thanks.