10-19-2017 08:37 AM
I would like to use the NI USB-8452 with Microsoft C# and Visual Studios 2013.
I found the NI Knowledge Base paper: "How Can I Access USB-845x API Function from a C/C++ Program?"
http://digital.ni.com/public.nsf/allkb/F997E364CFAA63F6862573540064C028
Although This was very helpful, I am still having trouble converting it to C#.
Does anyone have any examples, specific to C#, that they can share with me?
Thanks,
Ken
10-20-2017 01:46 PM
Hey,
That document describes the location of ni845x.dll, which contains the functions. I believe you can access them using C#.
02-09-2022 04:23 PM
NI Package Manager indicates NI-845x v21.3.0 is installed.
Ni845x.dll is in C:\Windows\System32.
Visual Studio 2019 does NOT offer anything with NI845x as a Reference for adding to a C# project.
Attempts to browse and install either ni845x.dll or ni845x.lib result in "A reference [...] could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.".
Examples and instructions for use instruct to "add to project"... as if it were actually possible, with no explanation (including what name to look for).
Please advise known reasons for not finding a Reference, when installation software indicates the driver was installed successfully.
Thank you!
This site uses cookies to offer you a better browsing experience. Learn more about our privacy statement and cookie policy.