Search This Blog

Tuesday, February 21, 2012

Create a DLL in VB.NET and USE it in LABVIEW

How to use a DLL in labview, created in VB.net?

Create a Com DLL in VB.NET.

In Labview open empty VI file

Add  :   Connectivity ->  NET  ->   Constructor Node
             Double Click on Constructor Node and select DLL file
Add  :   Connectivity ->  NET  ->   Invoke Node or Property Node
             Take Ref out from Constructor Node as the input for Invoke Node or Property Node.
              This will show functions/properties available.
             Select function/property, use its input/output parameters.


Invoke Node is to call a method/function
Property Node is to use a property