LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create a delay when a change occurs

Hallo ,

 

I would like to know how a delay can be created when i change the value of a pre defined control . The range control is a prefedined option that allows me to change the sensitivity . since it takes few seconds for the new sensitivity to be set i would like to create a delay when this value is changed . Kindly help me on this .

 

thanks and best regards,

 

0 Kudos
Message 1 of 5
(3,033 Views)

Store the control value in a feedback node.  Compare the current value with the previous value.  If not equal, then a wait function inside a case structure can delay your code.

Message 2 of 5
(3,029 Views)

Thanks a lot for your reply .I have implemented what you said.  Unfortunately my hardware is facing some issues and i cannot test it right now.

Hope it works .

 

Thanks once again .

 

Best regards

0 Kudos
Message 3 of 5
(2,960 Views)

Yes.  That is exactly what I was saying.

 

Good luck getting the hardware working again.

Message 4 of 5
(2,954 Views)

Thank you 🙂

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