Raptor:LIN Rx Message
Jump to navigation
Jump to search
Return to the main Raptor page
Description
The LIN Rx Message block uses a frame definition from the LDF file associated with the LIN Bus definition block to receive and interpret the frame on the specified bus. The reception is scheduled according to the LIN frame schedule. One Simulink Function can be triggered directly from this block, as if a LIN Trigger block had been used. The Simulink function should be placed somewhere along the calling block's path to model root.
Outputs
Output | Type | Description |
---|---|---|
Signal(s) | uint32 | Any signals from the .ldf for this message. |
Parameters
Parameter | Type | Description |
---|---|---|
LIN Bus Name | Provides the logic LIN bus name on which to receive. | |
Frame | Identifies the frame that block will be configured to receive, the frames are defined in the LDF file associated with the named LIN Bus. | |
Label wires with channel names | Checkbox | Enable this to automatically name the wires on the input ports with the names of the signals |
Include Raw Outputs | Checkbox | Adds a port for each output signal providing the raw, unscaled bit value of the field. |
Show Age Output | Checkbox | Adds a port indicating the age of the last receive message, count of subsystem executions. |
Use Simulink Function Callback | checkbox | Whether to use a Simulink Function callback with this block's frame.
This works the same as using a LIN Trigger block with a priority of 0. |
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 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. |