10-13-2020 07:12 AM
Hi,
I am trying to compare two elements for specified time.
The condition is that if the output is true all the time, program should go to next step if not it should reset the timer and repeat the process.
Please have a look at attached VI.
Thank you.
Regards,
Pikachuuuuuuuuuu
10-13-2020 07:40 AM
Hi Pika,
@Pikachuuuuuuuuuuuu wrote:
I am trying to compare two elements for specified time.
The condition is that if the output is true all the time, program should go to next step if not it should reset the timer and repeat the process.
None of your requirements is found in your VI…
There is no "specified time".
There is no "true all the time".
There is no first step or next step…
There is no "reset the timer"…
There is no "repeat the process"…
To repeat something you should place it in a loop.
The ElapsedTime function has a Reset input, maybe you want to use it?
When your requirements describe "steps" you should think of states in a statemachine!