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.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

X-NET C API not working with CAN FD

I've been porting my C libraries from NI-CAN to X-NET. I can send and receive classic CAN messages just fine, but I have not been able to send a CAN-FD message.

 

I am using a dual port PXI-8513 card.

 

I'm at the point where I took the working NI example "CAN Frame Stream Out" and added a :can_fd: database option. I can send classic CAN messages with the :memory: option, but not CAN-FD with the :can_fd: option. 

 

Has anyone else successfully implemented this? I need to send anywhere from 1 to 64 bytes in CAN-FD format.

 

0 Kudos
Message 1 of 1
(717 Views)