Automotive and Embedded Networks

Showing results for 
Search instead for 
Did you mean: 
Reply

C# Wrapper for NI CAN

C# Wrapper for NI CAN

Hi everybody, 

 

I'm begining to write a C# .NET wrapper for NI CAN ( basic function for now).

 

Is anybody have already done something like that or someone want to collaborate with me ?

 

Regards.

 

B.W.

 

 

 

Message 1 of 5 (5,426 Views)

Re : C# Wrapper for NI CAN

Hi bw-dijon,

 

Thanks for posting on National Instruments forum. 

 

You can find here some wrapper example for Modular Instruments driver and toolkit which can give you some ideas how to implement your own wrapper for NI-CAN. When you have installed NI-CAN you have access to the .h file where you can find all function prototype you need. 

 

Feel free if you have any questions and good luck!

 

 

Benjamin R.
R&D Group Manager, Software Development
http://www.fluigent.com/

Message 2 of 5 (5,377 Views)
Highlighted

Re : C# Wrapper for NI CAN

Hi bw-dijon,

 

Please find in attachment the C#.NET wrapper for NI-CAN. You need Measurement Studio for the moment but I will try to do it without MS. 

 

Let me know if this helps and feel free if you have any questions. 

Benjamin R.
R&D Group Manager, Software Development
http://www.fluigent.com/

Message 3 of 5 (5,362 Views)

Re : C# Wrapper for NI CAN

Bonjour BenjaminR.

 

Merci pour votre réponse et désolé pour ce fedback tardif.

 

CAN_Input wrap le chanel API alors que j'ai besoin du Frame API.

 

J'ai bien avancé de mon coté sur un wrapper C#, une bonne partie du frame API est fonctionelle ainsi que l'ISOTP normal et extended mode et le début d'implémentation du protocl KWP2000.

 

Si quelqu'un est interressé par ce wrapper, je le tiens a disposition ( dans l'état Smiley Happy ).

 

B.W.

Message 4 of 5 (5,254 Views)

Re: Re : C# Wrapper for NI CAN

Attached zip contain not C# but Visual Basic wrapper of only few Channel API functions using Measurement Studio elements for Visual Studio,

so if you need C#, or need Frame API, or have no Measurement Studio, no use of it

0 Kudos
Message 5 of 5 (3,738 Views)
Reply
0 Kudos