LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you implement "if...else" statements in LabView?

I have not had the opportunity to take a LabView course and I am going through a self education process. I need to know how to implement an "if...else" statement. I found the structure of the statement in the online reference, but it does not say what function to nest it in.
0 Kudos
Message 1 of 4
(4,328 Views)
Use the Case Structure.
0 Kudos
Message 2 of 4
(4,328 Views)
Use a case structure, see functions>>structures>>case.

paul_e_a wrote:

> I have not had the opportunity to take a LabView course and I am going
> through a self education process. I need to know how to implement an
> "if...else" statement. I found the structure of the statement in the
> online reference, but it does not say what function to nest it in.
Message 3 of 4
(4,328 Views)
Hi Paul,
also you can use formula node,
in some case it's more suitable.
Put formula node on diagram and call Show Context Help.
You can find formula node in Structures palette.
Mike


paul_e_a wrote:

> I have not had the opportunity to take a LabView course and I am going
> through a self education process. I need to know how to implement an
> "if...else" statement. I found the structure of the statement in the
> online reference, but it does not say what function to nest it in.
0 Kudos
Message 4 of 4
(4,328 Views)