09-24-2008 05:07 AM
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
09-24-2008 07:09 AM
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
02-19-2009 05:25 AM
07-09-2010 10:21 AM - edited 07-09-2010 10:24 AM
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.
11-01-2010 01:50 PM
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