Digital Multimeters (DMMs) and Precision DC Sources

cancel
Showing results for 
Search instead for 
Did you mean: 

Which function panel is best for DMM programming in .NET?

Hi,

I am using C# to do my development and I have found that Measurement Studio does not have any .Net support for DMMs. However, you can use the .Net Instrument Driver Wrapper to get around this. My question then is: Which function panel should I use? Should I use the IviDmm function panel (iviDmm.fp found in ../Program Files/IVI/Drivers/ividmm/) or the NiDmm function panel (nidmm.fp)? Is one better or easier to use than the other? Does anyone have any past experience with either?

I suppose the other options I have are to:

1. Break the task up in Teststand and use Labview, LabWindows or C++ to do the data acquisition before using C# .Net to do the analysis.

2. Import NI's C/C++ functions into .Net and then use them. If I choose this path then which set of functions should I import? The functions found in the CNiDmm class or functions found in the CNiIviDmm class.


I suppose the other thing that everyone may want to know is what am I doing? I am writing the software to test an auto re-closer during manufacturing. This is going to involve a number of tests that the auto re-closer has to pass before it can proceed to the next level of production. During each step thousands of measurements need to be taken over multiple channels simultaneously and then analyse the data. Lots and lots of fun to be had!!

Anyway, I would really appreciate some advise as I am very new to this and have no experience in how to go about doing this.

Thanks

Elnaz


// Hardware and software that I'm using
Hardware: SCXI-1127, PXI-4070
Software: NI Developer Suite (includes Measurement Studio and TestStand), Microsoft Visual Studio .Net
0 Kudos
Message 1 of 2
(6,760 Views)
Hey Elnaz,
We already have our NI-DMM driver wrapped for you. You will use it by creating a instance and then performing functions on that instantiated object (of course using the appropriate namespace). Check out the drivers attached to this Knowledgebase: http://digital.ni.com/public.nsf/websearch/52D289F65941474A86256E8A0057D72E?OpenDocument In my personal experience, I used the NI-Scope wrapper to do a Scope example in C#, and it was fairly trivial. Remember that we as a company do not support these wrappers, but they will get you going on your application.

Good luck and thank you for choosing National Instruments!

Sincerely,
Gavin Goodrich
Applications Engineer (MI/PXI)
National Instruments
0 Kudos
Message 2 of 2
(6,752 Views)