LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
cancel
Showing results for 
Search instead for 
Did you mean: 
SteveP

Replacing Arithmetic or Boolean operator with Compound Arithmetic should automatically set Mode to match replaced operation

Status: Completed
Available in LabVIEW 2012
Replacing a Boolean AND, OR, or XOR with Compound Arithmetic results in its Mode being pre-selected to OR no matter which boolean operation is being replaced.  It would be convenient if the replace operation would recognize from where it is coming and set the mode accordingly.  Similarily, replacing an Addition or Multiplication with Compound Arithmetic results in its Mode being pre-selected to Add.   A multiply operation should be replaced with a multiply operation (not an addition).
19 Comments
altenbach
Knight of NI

I would go a step further and suggest that we don't even need to use "replace..."!

 

How about of we could just right-click on a simple node (multiply, add, AND, XOR, ...) and select "add input" and it would turn into a compund node of the same flavor? 🙂

 

Even easier: How about adding "resize handles" so we can simply resize down or up to get more inputs?

 

Best would be to have both: (1) right-click add input and (2) resize handles. Nothing new to learn. 🙂

 


LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
somebody_that_i_used_to_k
Trusted Enthusiast

So, altenbach, let me simplify even further... nix the triangles, only have the compound operators. Is that "New Idea" worthy? Would anyone agree? (I don't even know that I agree or not)

 

You could even get rid of the 1/x and the -x primitives... just use a 1-level compound with the input inverted. Would this fly? Having a SINGLE block that basically handled all numeric and Boolean operations?

Message Edited by mechelecengr on 08-17-2009 01:42 PM
Wirebird Labs: Expert Toolkits for LabVIEWDeploy, by Wirebird Labs: Expert Toolkits for LabVIEW
tst
Knight of NI Knight of NI
Knight of NI

I don't have objections to getting rid of the triangles for some primitives, although I wouldn't do the inverting you suggested, as it's not the most intuitive thing in the world (I wasn't even aware that you could invert when using numeric values).

 

Changing old code from the old primitives to the new version would be easy for NI.

 

However, one problem with this is that the compound node doesn't play very nice with the auto-tool - the action selection area and output are too close and a mouse twitch coupled with an inattentive user could result in the nuclear reactor blowing up due to someone using a multiply instead of an add! 😄

 

I also like Altenbach's suggestion.


___________________
Try to take over the world!
somebody_that_i_used_to_k
Trusted Enthusiast

tst, I was not aware you could invert numerics either until the Idea Exchange came along!

 

I almost made a post two months ago saying "Wouldn't it be cool if you could invert the input on an Add compound arithmetic, and it would add the negative value (subtract)?" But as I was creating the images for the post, I right clicked on the compound arithmetic... lo and behold, it was there.

 

The same thing happened to me on my "Swap Inputs" idea. It's nice when you're feature is added instantaneously.

Message Edited by mechelecengr on 08-18-2009 12:54 PM
Wirebird Labs: Expert Toolkits for LabVIEWDeploy, by Wirebird Labs: Expert Toolkits for LabVIEW
RavensFan
Knight of NI
Remember that you can also invert the output of the compound arithmetic node.
AristosQueue
Proven Zealot

I floated the idea of replacing the Numeric operations in the palettes with the Compound Arithmetic node preset to the appropriate operations. The very viceral response from those who sit near me in R&D was decidedly negative. One reply was, "It would be like removing 'the' from the English language." I think that resistence to any change that affects the Add primitive will be very high -- that's the LV logo, it's home base, it's the first bit of functionality, and the one item you can count on to not be broken on a random day during development.

 

I try to keep an open mind about some of the crazy suggestions I've gotten from customers over the years, and I actually think I like this suggestion, but even I found myself twitching a bit at mucking with Add. 

 

You can kudos the idea, but I think it will be an uphill fight. (And, yes, I did add my kudos to the specific suggestion about how Replace should work.)
Message Edited by Aristos Queue on 08-18-2009 06:23 PM
altenbach
Knight of NI
I am against getting rid of the triangular functions and there is no reason the drop those. They are so pretty. 🙂 All we need is the ability to seamlessly add/remove inputs. once we are back down to 2 inputs (and there is no inversion!), it can switch back to the triangle automatically. 🙂

LabVIEW Champion. It all comes together in GCentral GCentral
What does "Engineering Redefined" mean??
Jim_Kring
Active Participant
Oops.  I just accidentally posted a duplicate of this idea, here: Replacing a Boolean operator with a Compound Arithemetic node should not change the operator
JKI Blog
Darren
Proven Zealot

This functionality is now present in LabVIEW 2010 when performing a replace with Quick Drop.  See here for more information.

 

-D

DNatt, NI
tst
Knight of NI Knight of NI
Knight of NI

And just to make it clear, that does not mean the request was completed.


___________________
Try to take over the world!