LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i use a c# dll in labwindows

Can a C# (.net) created DLL be used in Labwindows, If yes how.
 
 
0 Kudos
Message 1 of 2
(4,346 Views)

Howdy MrDude,

LabWindows/CVI 8.0 and greater provide several options for working with .NET assemblies.  You can use the .NET Library to invoke methods and set/get properties from Microsoft .NET assemblies.  Additionally, LabWindows/CVI also provides the Create LabWindows/CVI .NET Controller feature, which you can use to generate a LabWindows/CVI wrapper for a .NET assembly which is the in form of an instrument driver, source file, and header file.  You also can use the .NET Library functions in conjunction with the generated wrapper.

Refer to the LabWindows/CVI shipping examples located in the
<CVI>\samples\dotnet\ directory for some examples. Also check out the .NET Library help (Open the LabWindows/CVI Help, switch to the Contents tab and expand Library Reference >> .NET Library. These sections go into great detail on working with .NET assemblies.)

Hope this helps!

Best Regards,

Jonathan N.
National Instruments
Message 2 of 2
(4,341 Views)