LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compare condition help?

hi i want to make conditions:

if the input greater from 0  then simulation works or on

but when input less from 0 then simulation dont works or off.

can you help me to make this conditions?

tanx

0 Kudos
Message 1 of 8
(3,164 Views)

Your question is not clear, and I don't know what that VI is supposed to show.

 

Are you looking for a simple case structure?

0 Kudos
Message 2 of 8
(3,153 Views)

Excuse me for saying it, but your question is pretty silly. The only real input you have is the Boolean and if you don't want to do the simulation, all you have to do is put the function inside a case structure and wire the Boolean up to that.

 

It also strikes me as pretty strange that you have been using LabVIEW for over a year and have not grasped some of the basics.

0 Kudos
Message 3 of 8
(3,152 Views)

how about this conditions:

if value between 10 - 11 then simulation running

but 

if value not between 10 - 11 then simulation not running?

 

0 Kudos
Message 4 of 8
(3,129 Views)

Then use In Range and Coerce on the comparison palette.  The boolean output of that would be wired up to your case structure.

 

You will just need to define whether the limits of the range (10 and 11) are included in the range or excluded from the rang.

0 Kudos
Message 5 of 8
(3,126 Views)

can you help me fix my vi?

please

0 Kudos
Message 6 of 8
(3,123 Views)

See attached.

 

As Dennis said, you really do seem to struggle with some basic LabVIEW concepts for someone who has been on the forums for over a year with numerous posts and questions.

 

Have you taken LabVIEW Basics course?  Have you gone through the free online tutorials? I would recommend you learn more about LabVIEW from here. How to Learn LV

Message Edited by Ravens Fan on 07-29-2009 11:34 PM
0 Kudos
Message 7 of 8
(3,116 Views)
Fixed VI Smiley Wink
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 8 of 8
(3,115 Views)