Raptor:CAN Receive Message: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
[[Raptor-Dev-CAN-Library|Return to CAN page]] | [[Raptor-Dev-CAN-Library|Return to CAN page]] | ||
[[File: | [[File:CANRX.png|right|thumb|Raptor CAN Receive Message|300px]] | ||
== Description == | == Description == |
Revision as of 19:33, 3 April 2018
Return to the main Raptor page
Description
This block is used to receive a CAN message. The Raptor™ CAN Rx Raw block can be used if the raw receive bytes are needed. This block accepts a standard DBC file which describes the messages and signals on a CAN bus. The DBC block will automatically decode and scale the signals defined in the DBC file.
Outputs
Output | Type | Description |
---|---|---|
Age | uint32 | The number of times this block has executed since a new message was received. Age is 0 when a new message is being output. |
Signals | All the signals defined and enabled in the dbc file. |
Parameters
Parameter | Type | Description |
---|---|---|
.dbc File | The dbc file being used. Click the Load button to select a new dbc file. | |
Message List | A list of messages defined in the dbc file, click on a message name to select a new message. | |
Signals List | A list of the signals defined in the message. Select a signal and press 'e' or 'd' to enable and disable signals within a message. | |
Labe wires with channel names | Enable this to automatically name the wires on the output ports with the names of the signals | |
ID | Number | The ID used in the receive message filter. This is automatically set from the dbc file. |
Mask | Number | The mask used in the receive message filter. |
Payload Mask Value | Vector | The value used with the payload filter for messages. This will be set automatically for messages with a mode signal. |
Payload Mask | Vector | The mask used with the payload filter. This value will be set automatically for messages with a mode signal. |
Msg Length | Number | The length of the message in bytes. This will be set automatically from the dbc file. |
CAN Bus Name | String | The CAN bus to transmit the message on. |
Queue Size | Number | Specifies the size of the receive queue. |
Mailbox | String | Identifies the mailbox trigger that is connected to this receive block. |