Timer Function Blocks

Owning Palette: Function Blocks

Requires: Real-Time Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Timer function blocks to implement counter and timing functionality in real-time applications.

Palette ObjectDescription
Count DownCounts down from the number you specify using the preset value input. The counter value output decrements on each rising edge of the count down input. When counter value reaches zero, done returns TRUE.
Count UpCounts up from zero. The counter value output increments on each rising edge of the count up input. The done output returns TRUE when counter value is greater than or equal to preset value.
Count Up DownCounts up to or down from a number you specify using the preset value input.
Elapsed TimerReports the elapsed time, in milliseconds, since the first call or previous reset of the function block.
Pulse TimerGenerates output pulses triggered by rising edges on the input signal.
Retentive Timer OnA timer that counts up to preset time (ms) while enable is TRUE. When enable is FALSE, this function block retains the accumulated time (ms) value. When accumulated time (ms) reaches preset time (ms), done returns TRUE until reset, but accumulated time (ms) continues to increment while enable is TRUE until reset.
Timer Off DelayGenerates an output signal with rising edges that align with the input signal, but with falling edges delayed by preset time (ms).
Timer On DelayGenerates an output signal with falling edges that align with those of the input signal, but with rising edges delayed by preset time (ms).

WAS THIS ARTICLE HELPFUL?

Not Helpful