Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the CAN write buffer size

I need to write a 12 CAN messages of size 64 bits in CAN port for every 250 milliseconds. After executing the application crashes, asking to increase the buffer size. How to fix this ?
0 Kudos
Message 1 of 3
(6,427 Views)
Could you please put more light on the application you have developed.
0 Kudos
Message 2 of 3
(6,383 Views)

two cards wrote:
I need to write a 12 CAN messages of size 64 bits in CAN port for every 250 milliseconds. After executing the application crashes, asking to increase the buffer size. How to fix this ?
You should be able to achieve this by initializing the whole 12 messages in a single task (use channel API)with sampling rate as 4 (4 times\sec). Try with init Start VI and feed the channels of all this messages (Approxly 12*8 channels - Depends on your database). 

 





0 Kudos
Message 3 of 3
(6,378 Views)