Difference between revisions of "MotoHawk:Blocks:Serial I/O Definition"
From MotoHawk
Jump to navigationJump to search (Created page with "=Serial Definition= This MotoHawk™ block defines and initializes the serial port. ==Block ID== motohawk_serial_def ==Library== MotoHawk_lib/Serial I/O Blocks ==Descrip...") |
(→Serial Definition) |
||
| Line 1: | Line 1: | ||
=Serial Definition= | =Serial Definition= | ||
| − | This MotoHawk™ block defines and initializes the serial port. | + | This MotoHawk™ block defines and initializes the serial port. The Serial Definition Block must be placed in the model in order to use the serial blocks. |
==Block ID== | ==Block ID== | ||
Latest revision as of 14:39, 27 September 2012
Serial Definition
This MotoHawk™ block defines and initializes the serial port. The Serial Definition Block must be placed in the model in order to use the serial blocks.
Block ID
motohawk_serial_def
Library
MotoHawk_lib/Serial I/O Blocks
Description
This block defines and initializes the serial port. Only one of these blocks is allowed for use per model. Each direction, Transmit and Receive, may have a queue attached. Specify a queue size or 0 if no queue is desired. This block must be placed in the model to use MotoTune via serial.
Block Parameters
| Parameter Field | Values | Comments/Description |
|---|---|---|
| ResourceName | Alpha-numeric text, single-quote enclosed | Give custome name to be used in application. Leaving [] has it use Resource. |
| Resource | Drop-down list | Specify module specific resource. |
| Use MotoTune | Check Box | Check if this is going to be used to talk with MotoTune. |
| Baudrate | Drop-down list | Specify baud rate for transmission. |
| Transmit Queue Size | Numeric | Specify message queue size, or 0 for no queue. |
| Receive Queue Size | Numeric | Specify message queue size, or 0 for no queue. |