04-14-2015 07:29 AM
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,
04-14-2015 07:35 AM
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.
04-15-2015 06:28 AM - edited 04-15-2015 06:28 AM
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
04-15-2015 07:15 AM
Yes. That is exactly what I was saying.
Good luck getting the hardware working again.
04-15-2015 07:56 AM
Thank you 🙂