LabVIEW Idea Exchange

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

Commutative inputs should be able to be switched/rotated as part of cleanup to remove wire bends or crossings.

Status: Declined

Scalar multiplication is commutative.  (demo)

It is axiom that "a * b = b * a" if "a" and "b" are scalars.

 

Scalar addition is commutative too.

It is axiom that "a + b = b + a" if "a" and "b" are scalars.

 

If the diagram cleanup recognized such a thing, then it could switch leads on a multiply icon to undo a crossed wire, without changing anything in the function.  I tried it, and to my poor ability to tell, it seems to not be undoing the wire-crossings that it could clean up.  There are plenty of things that do commutate, and if re-arranging inputs was enabled for them, then cleaner diagrams could be  made.

 

3 Comments
RavensFan
Knight of NI

I'd prefer this not to happen.

 

Block diagram cleanup is great at cleaning up really messing diagrams, or straightening out small areas of code.  But it is far from perfect.  When I use BDC, I often tweak things around from what its final result is.

 

If a crossed wire left behind is the worst thing remaining from BDC after using it, I'll gladly clean that up myself.  But I really don't want it getting down into the fine details of the order of wiring on operators even if they are commutative and functionally equivalent.

Jeff-P
NI Employee (retired)
Status changed to: Declined
 
Jeff-P
NI Employee (retired)
Any idea that has received less than 10 kudos within 3 years after posting will be automatically declined.