Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69028

Spawning processes from an executable

$
0
0

I have a LV2012 program that needs to run a number of subVIs as separate, standone processes in the background. The "Start Asyncronous Call" function works great for this.

 

However, I need to build an executable that has the same functionality, to be run on a machine that just has the RunTime Engine.  How do I do this?

 

The Start Asyncronous Call function is expecting a VI, so that that can't be used in the executable. If I build the subVIs as DLLs and call them with Call Library Function Node, it's not clear to me how to run the DLLs as a separate processes. If I build the subVIs as EXEs and call them with System Exec, the subVI front panel pops up; I have many of these so it gets ugly.

 

Do I need to build the subVI as a dll, then put that dll in a vi wrapper, build the wrapper as an EXE, then call that with System Exec? Surely there is a cleaner way to do this.

 

Thank you in advance for any advice you can offer.

 


Viewing all articles
Browse latest Browse all 69028

Trending Articles



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