Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

error frame

hi:

    i am working with LabVIEW 8.2.1, using Vector CANCaseXL, i know that in Labview error frames could be detected and collected on the CAN bus. But how could i send an error frame onto the Bus?

An error frame is different from the normal data frames only on the "eof" bit flags, it consists of 6-12 recessive bits and 8 dominant bits. In LabVIEW as far as i know, only the 8 Bytes data field is accessible, and the rest of CAN frame(ie SOF,ARB Field CTRL Field, EOF) is automatically by LabVIEW generated.

Does anybody have some advice about the error frame? Thanks in advance

0 Kudos
Message 1 of 5
(9,765 Views)

Hi cranberrya,

 

As far as I know...error frames are generated internally by controller due to different problems like CAN cable connection problems, lack of pre-defined delay between two CAN messages etc...If we can generate error frames.....thats good to know...

 

Ravinder 

0 Kudos
Message 2 of 5
(9,762 Views)
Hi cranberryu,
I'm looking for exemple to read//write CAN frames on a CANCaseXL by Vectors in Labview 8.5 or earlier.
Could you help me ?
Best regards,
Vincent
V-F
0 Kudos
Message 3 of 5
(9,546 Views)

I am also interested in being able to send error frames.  I have been looking for a way to do this for quite sometime actually.  I am trying to test some embedded controllers, and testing the error frame handling would be very handy.

 

The real issue that I have been unable to circumvent, is bit stuffing.  Since the bit stuffing is done in hardware, I have not found anyway to get around it.

0 Kudos
Message 4 of 5
(8,738 Views)

Has anyone ever found a way to do this?  I know that error frames can be sent using CAPL scripts through CANalyzer, but I'd like to be able to send them using the XL Driver or a similar library

0 Kudos
Message 5 of 5
(8,385 Views)