Raptor:CAN Tx Raw: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
(Created page with 'Return to the main Raptor page Return to CAN page right|frame|Raptor CAN Tx Raw == Description == <p>This block is us…')
 
No edit summary
Line 6: Line 6:


== Description ==
== Description ==
<p>This block is used to transmit a message on the CAN bus. The message is transmitted whenever the block is executed. The Raptor CAN Tx Message block can be used to transmit periodic messages and when access to the raw CAN message frame is not necessary.</p>
<p>This block is used to transmit a message on the CAN bus. The message is transmitted whenever the block is executed. The Raptor™ CAN Tx Message block can be used to transmit periodic messages and when access to the raw CAN message frame is not necessary.</p>


<p>Each CAN raw tx block has a transmit queue. This queue is used to store messages if the transmit block is executed faster than the messages can be transmitted on the CAN bus. This will typically happen if the tx raw block is located in a for or while loop. If the queue is full when the block executes the oldest tx message will be overwritten.</p>
<p>Each CAN raw tx block has a transmit queue. This queue is used to store messages if the transmit block is executed faster than the messages can be transmitted on the CAN bus. This will typically happen if the tx raw block is located in a for or while loop. If the queue is full when the block executes the oldest tx message will be overwritten.</p>

Revision as of 14:59, 4 March 2014

Return to the main Raptor page

Return to CAN page

Raptor CAN Tx Raw

Description

This block is used to transmit a message on the CAN bus. The message is transmitted whenever the block is executed. The Raptor™ CAN Tx Message block can be used to transmit periodic messages and when access to the raw CAN message frame is not necessary.

Each CAN raw tx block has a transmit queue. This queue is used to store messages if the transmit block is executed faster than the messages can be transmitted on the CAN bus. This will typically happen if the tx raw block is located in a for or while loop. If the queue is full when the block executes the oldest tx message will be overwritten.

Inputs

Input Type Description
extended boolean Indicates if the message id is standard (0) or extended (1).
ID uint32 The message id to transmit.
Length uint8 The length of the message to transmit. Valid values are 0-8.
Data uint8[8] The raw data bytes of the message to transmit. This must be a vector of length 8. If the specified length is less than 8, the upper bytes are ignored.

Outputs

Output Type Description

Parameters

Parameter Type Description
CAN Bus Name String The CAN bus to transmit the message on.
Queue Size Number Specifies the size of the transmit queue.

Supported Versions