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: 

formula node

Hi.
 
Question concerning formula node:
 
I need to perform the following pseudo code, but I did not quite understand the formula node syntax. I have two inputs, finish and tab, with output n_tab.
 
if (finish=1 and tab=1)
n_tab=4;
elsif(finish=1 and tab=4)
n_tab=14;
elsif(finish=1 and tab=14)
n_tab=15;
elsif(finish=1 and tab=15)
n_tab=19;
else
n_tab=tab;
0 Kudos
Message 1 of 3
(2,730 Views)

Hi

Have a look at the attached vi.

Hope this helps.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 3
(2,726 Views)
Thanx. Should have known about the == and not only =   Smiley Wink
 
Easier to ask stupid questions than to read the manual....
0 Kudos
Message 3 of 3
(2,720 Views)