From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(6,641 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
(6,639 Views)