Discussion:
"How can I call Sub VI from C#? "
(too old to reply)
Sajan
2008-08-13 15:10:11 UTC
Permalink
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
smercurio_fc
2008-08-13 16:40:05 UTC
Permalink
Have you seen this: <a href="http://digital.ni.com/public.nsf/allkb/FA5837624BE5300B86256CBA00096E8C" target="_blank">How Do I Use a LabVIEW DLL in Microsoft Visual Studio.NET?</a> There is this example:

<a href="http://zone.ni.com/devzone/cda/epd/p/id/2737" target="_blank">Simple Example Using VB.NET to Call LabVIEW DLLs</a>. C# would work in a similar way.
Continue reading on narkive:
Search results for '&quot;How can I call Sub VI from C#? &quot;' (Questions and Answers)
9
replies
I'm looking for a short phrase to get tattooed onto my neck.. Help?
started 2008-07-31 16:06:23 UTC
tattoos
Loading...