Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

Calling a DLL asynchronously

$
0
0

Actually, I am using a constructor node for loading a DLL which passes me a reference. 

I use that reference with invoke node to access the initialization function and process function.

Since, I have to process a lot of files, I want to make use of parallel processing here so that multiple input files may be processed in parallel.

The intricate requirement here is that user may stop the processing in middle of process by calling stop function using invoke node.

Please, suggest me potential possible ways to fulfill above requirements.

 

 

P.S. I tried but when LabVIEW enters in process function, it goes irresponsive till the time process is complete because control has gone to DLL.

So how to create multiple instances and control them in parallel or say asynchronously.


Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>