10-02-2018 09:01 AM - edited 10-02-2018 09:17 AM
I have a 3rd party .exe CLI that I'm using to program microcontroller based sensors. I'm in need of increasing productivity by flashing multiple sensors at one time. I'm also looking for a returned value from 0-6 from the .exe to identify the "Result".
Currently I cannot get the subVI with the system exec call to run multiple instances at the same time, it only opens one command line window, runs, closes, opens next instances (the .exe takes approx 30 seconds to complete).
The only way I can get multiple cmd lines to open at the same time is by telling the system exec to not wait for completion but then only get the default subVI enum output for the "Result" and the main VI closes before the cmd lines complete.
If I were to use a Batch file to run mutliple .exe calls, how would i get the results for each instances?
Solved! Go to Solution.
10-02-2018 09:45 AM - edited 10-02-2018 09:46 AM
Have you tried setting the subVI containing the System Exec as Preallocated clone reentrant execution and running each instance in parallel?
Edit: Leave the System Exec to wait for completion.
10-02-2018 09:51 AM
That did it! Thank you so much