Elapsed Time / Timer

Joe Simpson

Posted on 02.03.2011 14:49
Good morning. Frequently I perform timed testing of components such as Air Operated Valves or electronic trip strings. I have been able to use a trigger to start a timer, but have not been able to stop the timer based on a trigger. Any ideas or similar applications out there? Thank you.
DEWESoft Administrator
Latin America Regional Manager
Posted on 04.03.2011 16:31
Yes, of course, there are many applications like this. You can use the STOPWATCH function in Formula math which measures the time from start to stop event.
Joe Simpson

Posted on 27.05.2011 00:26
Is there a way to display the time as it is elapsing? For a basic test, I wanted to count the time that my voltage was greater than 2V. I set up my syntax to read as follows, where 'AI 1' is my voltage. STOPWATCH('AI 1' >2, 'AI 1' <2) When I setup the OVERVIEW screen to look at my Math channel, I cannot figure out how to see the time accumlate when I meet the conditions above. If I increase my voltage to 5V, then lower back below 2V the timer will display the elapsed time that has passed. I just can't see it real time.
DEWESoft Administrator
Latin America Regional Manager
Posted on 27.05.2011 04:08
Sure, you can do it like this. Create a channel for the criteria: 'Trig'='AI 1'>2 Then create a counter time channel: 'Elapsed'=prev+'trig'/sr It will accumulate the time that the channel is above the limit. If you want to reset the time it goes up, you can latch the 'Elapsed' value at the time when trig goes to 1 and subtract this from 'Elapsed' time in another channel.
Login to reply to this topic. If you don't have account yet, you can signup for free account .