C Code Examples with NI-XNET Devices

Updated Dec 6, 2023

Reported In

Hardware

  • CAN Interface Device

Programming Language

  • C

Issue Details

I have a NI-XNET CAN device that I want to program in C. Are there any C examples for CAN communication with these devices?

Solution

The C code examples for CAN communication can be found in the path below.
C:\Users\Public\Documents\National Instruments\NI-XNET\Examples\MS Visual C\CAN

These examples are available once you have installed the NI-XNET driver.