IO672 - Bus Controller Send
IO672 - Bus Controller Send — This block sends a
list of messages to the specified channel on the board
Library
Simulink Real-Time - Speedgoat

Description
This block sends a list of messages to the specified channel on the board.
Before you construct the list of messages:
Allocate space for the list with the Create BC Message List
block.
Fill in information about each message with Encode BC Message
blocks.
Each instance of an Encode BC Message block fills in information for
a single message on the list. Daisy chain the Encode BC Message block L
signals so that the Encode BC blocks execute before the Bus Controller
Send block.
The Bus Controller Send block allocates a list for the reception of messages. This
block can:
In other words, for time step N, the output of the Send block is either the
response to time step N-1 or the response to time step N, chosen from the Response
mode parameter.
Ports
Inputs
- MSG List
BC Message List to be send.
Outputs
- MSG List
Received BC Message List.
Parameters
-
Channel
From the list of available channels on the board, choose channel 1, 2,
3 or 4. This channel is initialized for this command stream.
-
Response mode
Options:
Send new message then wait and read response — Transmit
new message, and then wait for response before
continuing.
Use the Maximum wait time (microseconds) parameter to set
the amount of time the block must wait for a
response.
-
Maximum wait time (microseconds)
The maximum time that this block waits for the message stream to be
sent by the board. If the Response mode parameter is set to Send new
message then wait and read response, use this parameter. A reasonable
maximum wait time is 1000 microseconds (1 millisecond). This value must
not exceed the sample time as exceeding the sample time triggers an
execution overload.
-
Sample Time
Defines the base sample time at which this driver block gets its sample hit. This
parameter can also be set to -1 for inherited
sample time. The units are in seconds.