01-26-2014 02:44 PM
Hi could you please let me know how is the best way of using LabVIEW code in c#. I see there are 2 options , making a dll or ,NET interop. Could you please let me know which one is better
I also have another question. when I want to make a dll or .NET I need to add my source VIs. I haev used many SubVIs to my main vi. Do I need to add all the SubVIs to Exported VIs or I need add my SubVIs to Always Included?
Thanks
01-26-2014 06:16 PM
01-27-2014 12:33 PM
I can add the interop Assembly to the c# program and I can see the LabVIEWExport but I don't have access to the VIs I added to the LabVIEWExport . Could you please let me know how can I use a LabVIEW assembly in c#?
Thanks
01-27-2014 01:07 PM
I use teh following code in c# to call the exported VIs
using NationalInstruments.LabVIEW.Interop;
using InteropAssembly;
and then
InteropAssembly.LabVIEWExports.
but there is no function to ahev access to the exported VIs. I followed all the steps and then built the .NET assembly in LabVIEW but I don't have access to any of the exported VIs
Could you please help me