How Can I Create a .NET Wrapper for My Instrument Driver?Primary Software: Measurement Studio>>Enterprise Edition (Full Development System)Primary Software Version: 7.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I downloaded an instrument driver DLL from the instrument driver network or another location, but I need to use it with my .NET code. Is there a way to automate the process of wrapping the functions of the DLL so that they are usable in .NET code? Solution: You can easily create .NET wrappers for instrument drivers using the Measurement Studio .NET Instrument Driver Wizard. The tool generates a .NET wrapper class for calling into IVI, VXI, plug & play, and legacy instrument drivers. The tool uses the following three files to generate the wrapper:
Measurement Studio Version 7.1 and later:
![]() Measurement Studio Versions 7.0 and Previous:
Note: National Instruments Provides .NET wrappers for all of it's Modular Instruments drivers which can be obtained here: KnowledgeBase 3939UN5B: Microsoft Visual C# and Visual Basic .NET Wrappers for National Instruments Modular Instruments Drivers Related Links: KnowledgeBase 3939UN5B: Microsoft Visual C# and Visual Basic .NET Wrappers for National Instruments Modular Instruments Drivers KnowledgeBase 33C9JM1P: How Do I Use an IVI Driver with Measurement Studio 7.1? Download: Measurement Studio .NET Instrument Driver Wizard NI Instrument Driver Network Attachments:
Report Date: 09/26/2007 Last Updated: 03/18/2010 Document ID: 4DPDIEXU |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

