Periodic Trigger Definition

This MotoHawk™ block defines a periodic trigger application resource.

Block ID

motohawk_periodic_trigger_defn

Library

motohawk_tasking_lib/Trigger Blocks

Description

 

This MotoHawk™ block defines an application resource that allows functions to be called periodically independently of the RTI trigger.

Use the MotoHawk™ Periodic Trigger block to associate specific functions with this definition. The associated function will be called at the Trigger Interval (us) specified in this definition. One definition can be associated with multiple functions called in the same or different task(s).

The MotoHawk™ Periodic Trigger Overrun Status block can be used to read the overrun status, whose high state signals that the execution of functions associated with this trigger definition has not been completed before the next interrupt occurs. This may indicate that the execution time of the functions associated with this trigger is longer than the defined Trigger Interval (us), or that the other task(s) with higher priority have consumed the processor time.

Block Parameters

Parameter Field Values Comments/Description
Name Alpha-numeric text, single-quote enclosed Unique application resource name. For example this can be the name of the functionality that will be triggered. No special characters, such as spaces, dashes or commas (underscore allowed). A name will be constructed if left empty.
Resource Drop-down list The module resource that will be used to generate a periodic trigger.
Trigger Interval (us) Integer above 0 The interval at which functions associated with this periodic trigger will be called.