06-30-2020 09:27 PM
Hi All, is there a possibility to run a exe file multiple times, after the execution is completed once. Right now, once the execution is completed, I exit the file and reopen it again to use the file. Instead I need to use the same exe file multiple times without exiting the file.
Also, my program accepts some user input before each execution. Is it possible to do this programmatically?
06-30-2020 09:35 PM
I don't know what you mean by "I exit the file and reopen it again to use the file".
You could create a batch file that will execute your EXE multiple times in a row.
What does your EXE actually do?
06-30-2020 09:52 PM
Hi,
The exe is used for a test system to test our product. Every time I test a new piece, I close the exe file, re open again, enter few details and test it. Instead, once I finish testing one piece, I would like to test the other one continuously without exiting the file.
06-30-2020 10:28 PM
Hi chaitra,
@chaitra05 wrote:
Every time I test a new piece, I close the exe file, re open again, enter few details and test it. Instead, once I finish testing one piece, I would like to test the other one continuously without exiting the file.
To repeat some part of your code you usually use a loop.
(This applies to every programming language, not just LabVIEW…)
06-30-2020 10:37 PM
Was the exe built in LabVIEW?
It sounds like the executable wasn't designed for your use case. It should be rewritten to work the way you want it to.