PSP End Trigger

This MotoHawk™ block passes execution control to the application when the selected resource completes a pulse.

Block ID

MotoHawk PSP End Trigger

Library

MotoHawk_lib/Advanced Digital I/O

Description

This MotoHawk™ block passes execution control to the application when the selected resource completes a pulse.

This block, when referencing a resource defined via a Injector Sequence definition, is only supported only when selecting the standard injection sequence type setting.

This block, when referencing a resource defined via a Spark Sequence definition, is only supported when selecting standard and batch sequence types.

The functionality of this block is also available, along with some enhancements, via the PSP Trigger block. This trigger block supports the ability to gate the execution based upon the occurrence of a specific pulse (versus all pulses) and also provides an option to trigger on the start of a PSP instead of the End. However Classic targets do not support this block.

Block Parameters

Parameter Field Values Comments/Description
Trigger 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.
Resource Drop-down list The resource that this trigger will be associated with
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.
Allow placement of trigger inside another triggered subsystem Check box (enable) Allows Simulink to simulate this trigger when it is inside another triggered subsystem.