LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"How can I call Sub VI from C#? "

I am new to the LabView.

 

"How can I call Sub VI from C#? " I am able to access the VI and its exported functinos from C# using  for eg, 

 

[
DllImport("SharedLib.dll")]

unsafe static extern void Add(double Numeric2, double Numeric, double* answer);

1. Would like to know the method of accessing Sub VIs and its exported functions from C# or VB.

2. Please let me know how can i use the global variable data in multiple VIs, Any samples would be very helpful 

 

Sajan

0 Kudos
Message 1 of 2
(2,691 Views)

Have you seen this: How Do I Use a LabVIEW DLL in Microsoft Visual Studio.NET?

There is this example: Simple Example Using VB.NET to Call LabVIEW DLLs. C# would work in a similar way.

0 Kudos
Message 2 of 2
(2,682 Views)