02-21-2025 04:11 AM
Hello I'm developing a C# .Net console application in order to send and receive LIN messages and I think I need the NationalInstruments.Xnet.dll library in order to do so. but I just can't find it.
Any help would be greatly appreciated!
02-23-2025 08:23 PM
At the moment, we cant really use NI-XNET in .NET environment. What you could do is to write a wrapper around the C API and use it in C#. You can find the location of the C API in the path below.
C:\Users\Public\Documents\National Instruments\NI-XNET\Examples\MS Visual C
There are some available example on Github link below which you can use it as a reference point.
https://github.com/seqzap/ni-xnet-dot-net
https://forums.ni.com/t5/Example-Code/NI-XNET-dotNET-API-for-CAN/ta-p/4060712