10-22-2025 03:57 AM
want a motor runtime counter in LabVIEW that:
Starts counting seconds, minutes, and hours when a Boolean input (Motor_ON) is True.
Pauses counting when the Boolean is False.
Resumes from the paused value when Boolean becomes True again.
Works without using Wait(ms) or blocking delays, because delays could interfere with sensors or valve updates in your main program.
This is a non-blocking timer approach, which is ideal for real-time control.
thank you
10-22-2025 04:34 AM
Hi rajapalani,
@rajapalani wrote:
want a motor runtime counter in LabVIEW that:
Starts counting seconds, minutes, and hours when a Boolean input (
Motor_ON) is True.
This sometimes is called an "operative hour counter"…
Your request comes up from time to time in this forum, and I already answered such request in former times.
Did you search the board for related topics?
Generic answer:
10-22-2025 04:29 PM
The Elapsed Time Express VI should be able to do this.
Use the "Set Start Time (s)" input to load the previous run time to start counting from.