05-17-2013 01:04 PM
Hi, I would like to trigger a signal if a bit is 1 for 3 sec. Could you please help me to do it in LabVIEW. So 2 conditions should met
1- the input boolean value is True
2- it is continuously YTrue for 3 sec
Then if both are true set condition terminal of a case structure to be True, otherwise the case structure condition terminal is False
05-17-2013 01:37 PM
You can modify this for your application.
05-17-2013 01:46 PM
Hi SumTomWong,
many thanks for your help. It can do the job but I would also like to reset the timer to 0 when both condtions are true. I don't know how can I reset the timer using your method. This is the reason that I thought to use Elapsed Time function
05-17-2013 01:50 PM
You can try this.
05-17-2013 02:18 PM
I am also unclear about your requirements, whether you want to reset the output too. This example show how to reset the output every 3 seconds when the input is true. The top is an example without using the elapsed timer and the bottom is an example using the elapsed timer.