LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formula Node Data Transfer

I wrote a program that uses several input variables in a series of formula nodes. For some reason I continuously get 0 once the formula node has executed, I'm not a programmer by trade and can't figure out why, any suggestions?? Thanks in Advance. Oh, I'm using LabView 6.1 if that helps.
LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 1 of 5
(3,197 Views)
You need to define the outputs in the formula nodes. (Unlike in the expression nodes, where there is only one input and output).

For example, in the topmost formula node, the formula should be "Pp = (Pe-Pb)*((Td-Tw)/1500);".

And so on... See if this helps!
Message 2 of 5
(3,192 Views)
Its always the smallest things...lol...thank for your help!!
LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 3 of 5
(3,183 Views)
Also remember that you could dramatically simplify your code by combining all your formula nodes into one (see picture).



You might also want to precalculate "Td+273.15", it occurs 4x in the formula node. There is definitely something wrong, either with the default values of your VI or with the formula. Air densities of 100000kg/m^3 seem a bit unrealistic. Are the units correct? ;).

Message Edited by altenbach on 06-23-2005 07:22 AM

Message 4 of 5
(3,180 Views)
Ok, thanks for the organization tip, it makes things a lot easier to follow. You were right about those equations I went back and re-evaluated my approach. Thanks for all your help.
LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 5 of 5
(3,136 Views)