LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

.net dll labwindows 9.0

Hello!

 

I want to use a .net dll in Labwindows/CVI 9.0. Is that possible? (I only have the .dll file. No .lib or .h)

 

Thanks

0 Kudos
Message 1 of 5
(4,232 Views)

See here

0 Kudos
Message 2 of 5
(4,228 Views)

Most likely, you have a .NET assembly - not just a DLL. To call .NET assemblies, you should run the Tools >> Create .NET Controller tool in CVI. This creates a CVI instrument (.c, .h, .fp) that you can use to call your assembly. Click the Help button in the above tool to get more information about this. For examples of CVI programs that call .NET assemblies, see in the <cvi-install-path>/samples/dotnet folder. NOTE: if your assembly is not registered in the .NET Global Assembly Cache (GAC), then you need to call the CDotNetRegisterAssemblyPath CVI .NET library function in your program to indicate where your assembly is located.

0 Kudos
Message 3 of 5
(4,209 Views)

In fact I just have a .dll (no .fp, .h etc) . I managed to access it in Visual C++.NET but to do so I have to create an object defined from a class that is defined in the dll. My question now is: can I use this dll with Labwindows? If yes..how?

Thanks

0 Kudos
Message 4 of 5
(4,180 Views)

Is this a .NET DLL (assembly) or a C/C++ DLL? The procedure for using the DLL in CVI is different based on your answer.

0 Kudos
Message 5 of 5
(4,146 Views)