01-28-2013 02:34 PM
Does anyone have an example C# wrapper class for the NI-CAN they could share for use with the Measurement Studio libarary? We are converting our C++ code over to c# and was wondering if anyone had done this and would be willing to share it.
Tnx..
01-29-2013 08:22 AM
Hi, I found a similar thread here. I hope this helps
01-29-2013 09:13 AM
Tnx, but that didn't help much. I guess it's not possible to control the NI-CAN via C#.
01-29-2013 09:56 AM
Sorry, NI-CAN is fairly old so it comes with a couple limitations. I also found this but I'm not sure if it applies to your case (it depends on the hardware). The key point here is the Compatibility Layer. Perhaps GURO can provide more details.
02-14-2013 10:19 AM
Hi,
It's doable. I have a bunch of C# applications running NI-CAN.
Unfortunatly I'm not allowed to share any code though.
What I did was created a C++ DLL wrapper and used that in the C# application.
02-26-2013 11:55 PM
Thanks, that's a good start. I wished you could share the dll code, but understand.
Thanks again.