Serial Receive
When this MotoHawk™ block executes, the Trigger output port fires once for each character in the receive queue (if attached).
Block ID
motohawk_serial_rx
Library
MotoHawk_lib/Serial I/O Blocks
Description
The Character output port is set to the corresponding read character.
If no characters are available to be read, the trigger will not fire. The trigger will execute a connected subsystem once for each character in the serial receive queue. This block must exist within another execution context in order for the application to output received serial data from the character port, and to execute a subsystem connected to the trigger port.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Reference Name | Alpha-numeric text, single-quote enclosed | The name of the Serial Definition Block that this block is to reference. |