Metronome (VI)

FPGA Timekeeper API

Metronome (VI)

Installed With: FPGA Timekeeper

Synchronizes execution rate of a loop.

Metronome

cbool.gif

initialize initializes the metronome to start from the given start time.

cu32.gif

loop period (ns) sets the loop control rate.

cu64.gif

start time (ns) sets the start time for the first iteration of the calling loop structure. If the start time is zero, the first iteration will begin on the next loop rate boundary. For example, with a start time of zero and a loop rate of one second (1,000,000,000 ns), the metronome will begin on the next second's boundary.

ibool.gif

finished late? is TRUE if the previous loop iteration finished late.

ibool.gif

time snapped event is TRUE if a discontinuity in time has occurred. Provide a new start time and set the initialize terminal to TRUE.