LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert a LabView driver into a C# DLL

Hello

 

I need to communicate with the WT5000 power analyser from Yokogawa in C#.

For this instrument is only a LabView driver available. Now i want to convert this LabView driver into a C# dll (interopt Assembly).

I have managed to convert a single vi into a dll and use it in C# but i don't know how to convert a compleet LabView driver with al its Vi's and dependencies into a DLL (interop Assmebly) for C#

Does anyone know how this works ?

 

Thanks in advance

0 Kudos
Message 1 of 3
(1,712 Views)

Hi Tonnie,

 

check this out

Generate a DLL from a LabVIEW Project

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHxICAW&l=de-DE

 

 

Next, navigate to the Source Files category to select what VIs you want to export to your DLL as functions.

 

 

Regards,

FrankenChino

0 Kudos
Message 2 of 3
(1,702 Views)

Hello

 

Thanks for the quick reply

 

I have managed to generate the interop assembly now. In the first attempt i didn't install the driver in LabView, i just copied the vi's. 

But when i want to use the labview vi i need the assembly "Nationalinstruments.LabView.RefnumTypes". Does anyone know where i can find this assembly ?

 

 

0 Kudos
Message 3 of 3
(1,672 Views)