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

cancel
Showing results for 
Search instead for 
Did you mean: 

Mass Setting Expression Nodes

I am currently working on a student project to develop my own method of solving Runge Kutta 2nd Order Diff Eq using labview. I've worked out a majority of the solution, but have a question for the community. 

More information about the method: http://en.wikipedia.org/wiki/Runge%E2%80%93Kutta_methods

 

As of right now, I have a ton of expression nodes to help calculate the values needed and was wondering if there is any way to mass configure expression nodes such that I could have something like a string control on the front pannel in which I type my equation and then it would be distributed to all connected expression nodes to mass update them. Its really just an ease of user thing, but was wondering if it is at all possible.

 

Thanks, Anthony 

0 Kudos
Message 1 of 3
(2,070 Views)

Hi Anthony,

 

Since the expressions in the expression node need to be entered manually I don't think you can mass update expression nodes using a string control. I tried to see if you could do it via a  property node but there was none.

 

I would recommed looking at this forum post for an alternate approach.

 

Regards 

Arham H
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,034 Views)

If you have scripting enabled, there is a property node called "Formula Expression" that is part of the Formula class you can write the expression to.

 

0 Kudos
Message 3 of 3
(2,027 Views)