Raptor:Serial Trigger

From NewEagleWiki
Jump to navigation Jump to search

Return to the main Raptor page

Return to Serial page

Raptor™ Serial Trigger

Description

The serial trigger block is used to execute code when a data byte is recieved on a serial port.

Outputs

Output Type Description
Port 1 FnCall Function call when triggered.

Parameters

Parameter Type Description
Serial Bus String The serial bus to trigger on.
Always enabled checkbox When checked the trigger block will continue to operate even if the subsystem in which it is contained is disabled.
Priority Number Positive number which determines the order in which multiple trigger blocks for the same mailbox are called. Triggers are executed from lowest to highest priority.
Use Simulink Function checkbox Whether to use a Simulink Function or a triggered subsystem.

If a Simulink Function is used, it should be placed somewhere along the calling block's path to model root.

Simulink Function Name String Name of the Simulink Function to call when this block is triggered.
Create button Create a Simulink Function to use with the LIN Trigger block.

Must first provide a valid function name.

Update button Update the listed Simulink Function's signature to 0 inputs & 0 outputs.

The Simulink Function listed in the box must already exist.