Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

transmit CAN table

Solved!
Go to solution

Hi,

 

my ECU requires a special frame, which contains a batch of vehicle information. It is a cyclic frame, but at each transmit of the frame contains other payload. This is a kind of table i.e. a 2D array with 5x8 bytes.

At the first transmission, the first row is sent. At second transmit the second row, etc. At the 6. transmission the first row is sent again, and so the table will be transmitted cyclic.

 

How to do that with XNET?

0 Kudos
Message 1 of 2
(5,061 Views)
Solution
Accepted by topic author Madottati

Read up on the Frame Out Queued session type for XNET.  It allows you to define frames to go out, which go out at a specified rate from the database.  When the queue is empty the transmission stops.  Performing more writes will enqueue frames to go out one after another.

Message 2 of 2
(5,058 Views)