LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Formula Node - Embedded If statements

Yeah I was thinking of using that particular VI and reading in the output to the formula node. I figure at least that way I can make sure the criteria is true or not. I plan on giving that a shot.

Can I read in Boolean values to a formula node?

0 Kudos
Message 11 of 17
(1,512 Views)
I'm not sure, but worst case scenario you can "bool->0,1"
0 Kudos
Message 12 of 17
(1,508 Views)
I don't understand what that means. Could you please expand?
0 Kudos
Message 13 of 17
(1,501 Views)
It's on the boolean pallette.
Jim

LV 2020
0 Kudos
Message 14 of 17
(1,497 Views)

So it looks like this coverts whatever boolean value is read in to an interger value, correct?

Sorry, I am not next to my computer with LV on it right now.

0 Kudos
Message 15 of 17
(1,490 Views)
Yes, you get an I16 interger. FALSE->0, TRUE->1.
0 Kudos
Message 16 of 17
(1,488 Views)
Well, I implemented the in range VI and the boolean to integer VI and my code worked! Now I am running my program over night to collect data and make sure it runs properly. I am developed a data collection and climate control program. It takes temperatures read from  thermocouples and stores those values and uses those values ot make a series of decisions. Hopefully, with the code I changed today I can be done with this project. THanks for all of the help!
0 Kudos
Message 17 of 17
(1,455 Views)