LabVIEW Idea Exchange

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

Allow simple arithmetical operations on Numerics like embedded Formula String

Status: New

Many of us using graphical programming for scientific applications, where we dealing with numbers, measurements, etc.

How often we grab to Windows Calculator to compute simple equations?

What about ability to enter something like 3,75*2,8 into any constant or control (in principle everywhere where we can put numbers) and then get computation result in this place:

Screenshot 2024-03-06 09.16.22.png

In the past I've worked in desktop publishing industry and using the software called "Macromedia Freehand MX", and that was really "killer feature", which saves huge amount of time.

 

This is how it works:

resize.gif

Or for example, 5 rotated copies:

rotate.gif

Even in Color mixer simple computations are allowed:

mixer.gif

Everywhere where I can put some numbers, in any dialog:

guides.gif

So, my suggestion to have the same in every numeric control or constant.

 

This is what I mean:

numeric1.gif

So, it should be allowed to enter here something like "3*5" or "42+3*5" 

As MVP suggested to have the only (at least) base operations *, /, +, -, also combined as shown above, but may be "advanced" support (like fully offered by Formula String) is also not so bad, why not:

numeric2.gif

Anyway it should work everywhere, including constants on the Block Diagrams:

numeric3.gif

Also, for example, on Resize Objects Dialog:

Screenshot 2024-03-06 11.20.04.png

Or even in the Settings (in general everywhere for any numeric field across whole LabVIEW):

options.png

 

And also in Run-Time, of course, not only in Development Environment.

 

If you think that "always enabled" feature will be annoying, then I can suggest to make this optionally per Control/Constant Option:

Screenshot 2024-03-06 11.31.54.png

Or may be as global setting in the Options.

5 Comments
crossrulz
Knight of NI

Duplicate: https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Enter-Equation-In-Numeric/idi-p/1681978 


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
Andrey_Dmitriev
Trusted Enthusiast

Duplicate: https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Enter-Equation-In-Numeric/idi-p/1681978 

 

Thank you, haven't seen this, now kudoed. Well, my proposal a little bit more "generic" and propagated also to any numeric (also in every dialog), but as far as I can see - this obvious Idea is 13 years old and still not implemented, so will stay with my self-made solution. It is a really convenient to have this feature "out of the box".


crossrulz
Knight of NI

>Thank you, haven't seen this...

Yes you have.  Look at the last comment (from 2016).


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
Andrey_Dmitriev
Trusted Enthusiast

Yes you have.  Look at the last comment (from 2016).

 

😂 Oh, no, no, no, I'm too old... Really forgot about this. But now remember, yes, already have seen.

Mads
Active Participant

A nice advertisement for an old but not yet implemented idea 😊