Serial Definition

This MotoHawk™ block defines and initializes the serial port.

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 Allows a custom name to be used in the application. A value of [] will result in a unique name auto-generated by the block.
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.