Frequency Input Trigger

This MotoHawk™ block is used in conjunction with the corresponding Frequency In block in the Advanced Digital I/O library.

Block ID

motohawk_freq_in_trigger

Library

MotoHawk_lib/Advanced Digital I/O

Description

 

This block triggers whenever the selected edge of the Frequency In block is detected on the pin selected here. When using this block, be sure Alias Protection is not selected in the Frequency Input block.

Block Parameters

Parameter Field Values Comments/Description
Name Alpha-numeric text, single-quote enclosed Set the text that will be appended to code generated function name. This is useful when using a difference tool to compare the difference from one build to another. If this is left as an empty cell the appended value will be generated at build time, and can change from build to build.
Reference Name Alpha-numeric text, single-quote enclosed The 'Name' of the Frequency Input Definition block that this trigger applies to.
Execution Order within Task (lower executes first) Numeric (Integer) More than one trigger may be placed in a model that is driven by the same event. Use the Execution Order within Task attribute to define the execution order of these triggers relative to one another. The triggers will execute from the lowest Execution Order within Task value to the highest.
Specify task that trigger executes within by name Check Box Check to specify the task by name rather than specify via the Trigger Tasking Priority dropdown.

Only visible if the block is used by a model whose target supports this feature.
Reference Task Name Alpha-numeric text, single quote enclosed The name of the task that this trigger will be executed within.

Only visible when the option to Specify task that trigger executes within by name has been checked and is supported by a model whose target supports this feature.
Trigger Tasking Priority ApplicationInteruptTask
BGNDTask
FGNDTask
Selects which task priority this trigger will execute in.

Only visible when the option to Specify task that trigger executes within by name has not been checked and is supported by a model whose target supports this feature.
This trigger is inside another triggered subsystem Check Box (enable) Enable to allow placement inside another triggered subsystem.
Trigger even when containing subsystem is disabled Check Box (enable) Only visible when trigger is inside another triggered subsystem is checked. When this attribute is checked the trigger will execute even if the subsystem that contains this trigger has been disabled. If not checked then disabling the containing sub-system will disable the execution of this trigger. This functionality won't simulate, but will execute as intended on the target.