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.

UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to enter math expression from the front panel and visualize the formula?

I recently need to allow user to enter math expression from the front panel and programmatically make the formula to let them create new signal accordingly. It is the first challenge.

 

The other challenge (in related to UI), is there a way to visualize the equation on the front panel based on the entered math expression? (like the following bellow)

 

VisualizeEquation.gif

 

 

0 Kudos
Message 1 of 4
(2,207 Views)

LabVIEW has formula parser tools (details). See also the links in this article . There is also the gpower toolkit and others such as this one. and this one.

 

This old thread has some interesting links..

Message 2 of 4
(2,142 Views)

@altenbach wrote:

LabVIEW has formula parser tools (details). See also the links in this article . There is also the gpower toolkit and others such as this one. and this one.

 

This old thread has some interesting links..


Thank you for the formula parser tools. It's awesome. 

 

My concern in this post is how to visualize the math expression entered by user, to be shown as mathEquation/formula on Front Panel. (Programmatically, works in runtime)

 


 

0 Kudos
Message 3 of 4
(2,096 Views)

@altenbach wrote:

This old thread has some interesting links..


I found Darin's Math Node there. looks interesting.

 

Now I'm thinking how to make it work vise-versa.

user enter the math expression (e.g. Gpower) and programmatically display the equation (math formula) under labview run time.

 

Some body have any Idea?

0 Kudos
Message 4 of 4
(2,032 Views)