LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to hold output%3F

Solved!
Go to solution

hi

i need to hold my output for sometime e.g. 10sec. My output is boolean. I have attached a VI to perceive my problem. When X or Z is true than it has to hold for 10sec. It is not applicable for Y. Please give me an idea how to do that.

 

Rgrds-

Taslim.

0 Kudos
Message 1 of 5
(2,619 Views)

Look at the Elasped Time Express VI.  Feed it with a boolean to reset it.  The output will tell you whether your designated time has passed or not.

 

(Note:  for your Y boolean, you can simplify that code by using the In Range and Coerce function.)

Message 2 of 5
(2,604 Views)

Thanks Ravens. I tried, but could not be able to develop the algorithm. Would you please give me a quick VI so that I can understand how to use this "Elapsed Time Express VI"? And thanks for the suggestion regarding the simplification of Y. I overlooked that range and coerced function. 🙂

 

 

Taslim

0 Kudos
Message 3 of 5
(2,598 Views)
Solution
Accepted by topic author taslim.reza

Hi taslim,

 

the attachment shows the quick&dirty solution...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(2,588 Views)

Thanks... It works 😄 :D:

0 Kudos
Message 5 of 5
(2,579 Views)