LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating equation in formula node from a string or text file

Is it possible to have a calculation performed based on an equation stored in a string (read from a text file). I am guessing not because the equation would need be compiled but thought I would ask.
0 Kudos
Message 1 of 2
(1,436 Views)
Hi,
it depends on how complex the equation is.
Rather than using a formula node, you could use the eval formula node vi instead. (Functions->Analyze->Mathematics->Formula), but you may needs to re-organise the text formula a little.
Assuming you're using not the base package, and atleast LabVIEW version 6.1 that shouldn't be a problem.

Hope that helps.

Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer Smiley Wink
Message 2 of 2
(1,436 Views)