MotoHawk:Blocks:CAN Send Message Block
From MotoHawk
Jump to navigationJump to search
Send CAN Messages
This MotoHawk™ block will pack and transmit one or more CAN messages on the selected CAN channel.
Block ID
Send CAN Messages
Library
MotoHawk_lib/CAN Blocks
Description
Can Message block content and input stypes are determined by the Message definition file.
Block Parameters
| Parameter Field | Values | Comments/Description |
| Name | Alpha-numeric text, single-quote enclosed | Specify physical channel on which to send, matching "Name" entry in CAN Definition block. No special characters, such as spaces, dashes, commas (underscore allowed) |
| Message Definition | Identify message definition file. See motohawk_can_example.m | A structure or a cell array of structures describing all of the details of 1 or more CAN messages. |
| Pacing Interval [ms] | Numeric | Insert time to delay between transmitting messages for a multiple message group. The pacing interval will insert the selected amount of time between each message if an array of messages has been specified. The group of messages will be transmitted at the interval defined in the message structure but will have an inter-message delay of the Pacing Interval. If the number of messages multiplied by the pacing interval is longer than the message interval, the latter messages will be dropped, the cycle restarted with the first message in the group. |
| Label Wires with Field Names | Check Box (enable) | Select this checkbox to cause the field names to be applied to the wires leading into the block. |