ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Frame logging using NI-XNET hardware

Hi all, I am using NI-XNET hardware (PXI-8513 board) to send diagnostic messages to electronic control unit devices.

I am logging transmitted and received CAN messages. Now I would also to log error frames messages.

How can I perform this?

 

Regards,

 

Claudio

0 Kudos
Message 1 of 2
(7,296 Views)

just set the interface property

 

Interface:Bus Error Frames to Input Stream? = TRUE

 

The Bus Error Frames to Input Stream? property configures the hardware to place a CAN or
LIN bus error frame into the Stream Input queue after it is generated. A bus error frame is
generated when the hardware detects a bus error. For more information about the bus error
frame, refer to Special Frames in the NI-XNET Hardware and Software Manual

 

btw this feature was introduced in NI-XNET 1.7

Message 2 of 2
(7,294 Views)