07-23-2012 05:16 AM
I am trying to write a program that will interact with my NI-8451 device using C# but I am having problems establishing the interaction.
Solved! Go to Solution.
07-24-2012 01:25 PM
Hey WHIZ_KID,
Have you seen the 845x Hardware and Software manual? It has pretty detailed descriptions for all the calls needed to interface with the 8451 for both LabVIEW and C. Below is a link to that manual.
http://www.ni.com/pdf/manuals/371746c.pdf
Hope This Helps,
Doug B
08-01-2012 01:44 PM
08-01-2012 02:15 PM
@WHIZ_KID wrote:
Will the funnctions for C work for C#?
http://digital.ni.com/public.nsf/allkb/0BE230A7DA6E655A8625707A0059E20B
08-02-2012 05:54 PM
Hey guys,
There is not a specific C# API for the 845x driver. Also, I would suspect the C code API won't directly translate to C# as that API is designed for C.
Regards,
Doug B
08-22-2012 12:42 PM
08-23-2012 05:06 PM
Hey WHIZ_KID,
If you have Measurement Studio, then you can follow the instructions in this article to program with the 845x driver in C#
http://www.ni.com/white-paper/4562/en
What is the error you are getting when trying to call the 845x dll?
Regards,
Doug B
08-24-2012 06:49 AM
The error is saying that the dll is not accessible and that it is not a valid assembly or COM component
08-24-2012 06:56 AM
and also ... for the dll solution, i don't have the plug in of measurement studio for visual studio... it is not working without the plugin... and it i cannot find the site to download the plugin
08-24-2012 08:21 AM - edited 08-24-2012 08:27 AM
delete