Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

My NI rep claims that I

can use a tool in Measurement Studio (Full Dev System) to convert LabWindowsCVI instrument drivers into DLLs that can be accessed from Visual Basic. Is this true? Has anyone out there actually done this? Any pitfalls or limitations I should be aware of?

Any assistance is much appreciated!
0 Kudos
Message 1 of 2
(3,204 Views)
can use a tool in Measurement Studio (Full Dev System) to convert LabWindowsCVI instrument drivers into DLLs that can be accessed from Visual Basic. Is this true? Has anyone out there actually done this? Any pitfalls or limitations I should be aware of?Yes you can convert an instrument driver for which you have the source file (.c) into a dll that you can use in Visual Basic (or any other IDE that can load external modules).

The tool used to do this is called the ComponentWorks Instrument Driver Factory. With it you simply point to a specific instrument driver stored on your hard drive and it will use CVI to compile the source file into a dll automatically for you, complete with a Winhelp file that explains how to use it. After you've created it with the Driver Factory, you can then make a reference to it in your VB project so that you can access the dlls functionality. Don't worry about not knowing that much about creating a dll because it does it all for you, yet, you do have a chance to modify the source if y
ou want to as one of the steps. Pretty simple and very nice.

Jason F
Applications Engineer
National Instruments
www.ni.com/ask
Message 2 of 2
(3,204 Views)