08-29-2011 08:02 PM
Hey,
I try to make NI-USB CAN 8473 work in my program. My program is written in C# (VS2010) with .net4.0.
I try the VC sample code first which NI provided. These samples looks old, but it compile ok after conversion by VS2010.
When i run the code to "nctInitStart", it will always show the error -1074388723 (Error description: Your application uses a feature that your NI CAN or LIN hardware does not support.Solutions: Contact NI to upgrade your CAN hardware; consult the programmer referenceto avoid the new feature (typically related to RTSI or SJA1000); do not use the Channel APIon USB-847x hardware.)
Then i check some of the old post, my question is if the current NI-CAN really support .net or not. If yes, can you provide some c# samples code for that?
Thanks!
Kevin
08-30-2011 08:45 AM
The NI USB-8473 only supports the Frame I/O API of NI-CAN. Try to run an example that doesn't use the Channel API. It should work for you.
08-30-2011 07:17 PM
Thank you for you reply. I haven't made the real test, but It looks like work because it returns me a positive status code. I have a feeling that NI does not pay much attention to this product any more. The example code is still very old VB6 or VC6, even no .net code...Some posts have the similiar question few years ago, but looks like no improvement till now...Maybe the usage is too narrow for this product. 😞
How do you think?
Kevin