08-13-2008 10:01 AM
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
08-13-2008 11:10 AM
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.