ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic formulation

Hi,

I am getting a list of channel information from MySQL table via LabView. The
last field is the scalling function fro example

Data=8*(OutputVolt-21451)/78415

The field that I am talking about is the right side of the equation. It
comes as a string. What I want to do is to use this function in a dynamic
formula VI. So I will input

1) The Volt
2) The formula

And get the scaled data..

Any idea?

TIA
0 Kudos
Message 1 of 2
(2,659 Views)
In all except the base version of LabVIEW, you've got the Eval Formula Node (Analyze>Mathematics>Formula palette) and the functions under the Analyze>Mathematics>Formula>Advanced Forumla Parsing palette. The formulas have to adhere to a certain syntax or you modify the strings match the acceptable syntax in LabVIEW but I think these are what you're looking for.
Message 2 of 2
(2,659 Views)