Chapter 4
Measurement Studio Integrated Tools and Features
Measurement Studio User Manual
4-12
ni.com
Using the Instrument Driver Wizard
To use an IVI or VXI
plug&play
instrument driver with a C DLL in a
Measurement Studio .NET application, use the Measurement Studio .NET
Instrument Driver wizard to create .NET entry points to the C DLL
functions you need to call from your application. Use the Add New Item
wizard to select the .NET Instrument Driver Wizard.
The Measurement Studio .NET Instrument Driver wizard, as shown in
Figure 4-7, generates a .NET wrapper class for calling into IVI, VXI
plug&play
, and legacy instrument drivers based on the instrument driver
function panel, header file, and an optional
.sub
file for IVI drivers. The
wizard can generate both Visual C# and Visual Basic .NET source code.
After completing the wizard, a new instrument driver wrapper class is
added to your project and opened in the source code editor.
Figure 4-7.
Launching the Measurement Studio .NET Instrument Driver Wizard from
the Add New Item Wizard
Tip
For information about the .NET instrument driver wizard, refer to the
Using
Instrument Drivers in Measurement Studio Applications
section in the
NI Measurement
Studio Help
.