Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

APIs in C# to communicate with NI CAN

Hello I am using NI-USB 8473. I am developing Application in C# to interact with the NI interface. Please provide APIs in .net library to interact with this H/W. Thanks in advance
0 Kudos
Message 1 of 2
(3,534 Views)

Hi sse24,

There is currently not a C# API for the NI-CAN Driver. Page 5-1 of the NI-CAN hardware and software manuals covers the supported APIs for programming the USB-8473 using the NI-CAN driver.
http://www.ni.com/pdf/manuals/370289k.pdf#page=96

That being said, you should be able to work with the driver since it does support C/C++ coding through a DLL. You may have to write some extra code to interface or possibly wrap that functionality for C#. People have done this successfully in the past, and it looks like in one case specifically for the USB-8473.
https://decibel.ni.com/content/docs/DOC-20307
https://forums.ni.com/t5/Automotive-and-Embedded-Networks/Does-NI-CAN-USB-8473-support-programming-i...

Charlie J.
National Instruments
0 Kudos
Message 2 of 2
(3,481 Views)