Hello,
Does anybody know if it is possible to load a VI and run it asynchronously from within C#.
It needs to run asynchronously since the VI will run for a long time and it will also have to accept input / give output from / to the C# application.
The C# application is the master of this and many other similar VIs.
It should also be possible to let the VI show it's front panel to the user if the C# application instructs it to do so. (not at startup)
I tried using LabVIEW as an ActiveX server but was only able to call a vi synchronously with the vi.Call method.
The vi.Run method did not seem to work.
I would also prefer using the vi.Run method since I need to pass some parameters into the vi including the this pointer of the C# application. (to call some methods from the C# application from within my vi).
All help is greatly appreciated.
Thanks,
noxus