LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to manage a case structure Untill a value is reached

Solved!
Go to solution

Dear all,

 

I am collecting data with DAQmx and after a value is reached i want to do smthg else, for this reason i created a case structure and i put to the case selector that if a value is smaller than "10" then it is true. If it is false it should stop and do what i say even if the value gets under "10 again". 

 

 So how can i make this: "once the value is reached then do what i say  even if  the case selector value is back to true state after a while"

 

Thanks.

Kind regards.

Download All
0 Kudos
Message 1 of 4
(2,134 Views)

You can use the shift register to make a condition so once it enters into the value greater than limit case then it will not go to the other case even if the value goes below.

 

False Case.png

 

True Case.png

 

 

 

-----

The best solution is the one you find it by yourself
Message 2 of 4
(2,121 Views)
Solution
Accepted by topic author Salander

Hi

 

Check the attached VI.
Capture.JPG 


Regards,
Nitz 

(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved:smileywink:) 

Message 3 of 4
(2,116 Views)

Thank you so much guys, you are the best!

0 Kudos
Message 4 of 4
(2,097 Views)