09-08-2022 02:18 AM
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
09-08-2022 02:43 AM
Hi Tonnie,
check this out
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
09-08-2022 08:30 AM
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 ?