Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.
If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.
01-07-2020 09:35 AM
I want to take a countdown timer so that when the operator hits stop and then resumes it, it adds "X" amount of time to the timer and then continues counting down
Example: start time set to 120 seconds, when the timer is stopped at 80 seconds and resumed 60 seconds would get added and the timer would start counting down from 140 seconds.
I have a functioning countdown timer VI, im just not sure the best way to add this function. I also would like to add a reset to reset it to the initial set time.
Thoughts?
01-07-2020 09:42 AM
@THAKE626 wrote:
I want to take a countdown timer so that when the operator hits stop and then resumes it, it adds "X" amount of time to the timer and then continues counting down
Example: start time set to 120 seconds, when the timer is stopped at 80 seconds and resumed 60 seconds would get added and the timer would start counting down from 140 seconds.
Store your set time in a shift register. If the pause button is pressed, you can add 60 to it. You can do something similar with the reset button.