From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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
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.