11-27-2008 02:28 PM
I am running an executable file of a code that I wrote on CVI . During this running a certain process is disturbing my program to be executed.
How can I add a line to my code that will end the process automaticlly each time the program is runninng. My program opens CMD and run PLINK from it with a shell script, and I want to terminate the PLINK process after I finish running the script. It can't be terminated from the script because the system I'm connect to by IP is plotting to the a window all kind of messages. Terminating Plink will solve my problem for sure how can I do it ?.
12-01-2008 06:18 PM
Hello Zofe,
I would recommend "LaunchExecutable", "LaunchExecutableEx", and "TerminateExecutable" for CVI functions or if you prefer "CreateProcess", "ExitProcess", or "TerminateProcess" using the Windows SDK.
12-02-2008 01:46 AM - edited 12-02-2008 01:47 AM
Hello Zofe,
At first read I thought you were in the CVI environment, I did not realize you are working with TestStand.
Here is a discussion forum which describes what you would like to do if I am understanding you correctly.