Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the largest data frame that I can send over the CAN bus at one time?

I am using a PCI-CAN 2-port device and I need to send over 128 bytes of data in binary. So far, every time I try to increase the data frame size to 128, the program locks up.

AttrIdList(1) = NC_ATTR_CAN_DATA_LENGTH
AttrValueList(1) = 128

It works fine at 8 bytes, so my first question is whether it is possible to have a data length of 128 bytes? I am using VB 6.0 on Win95. I will E-mail you my program if you need it, thanks.

Marty
0 Kudos
Message 1 of 2
(4,847 Views)
Sorry, I forgot that a CAN message can only be 8 bytes long. dismiss the above question.
0 Kudos
Message 2 of 2
(4,847 Views)