NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

kill a *.exe from teststand

Hello,
is it possible to kill (close) a running *.exe from teststand?

regards samuel
0 Kudos
Message 1 of 4
(3,368 Views)
Basically, I think you have to do it from somewhere else. Find a DLL that can kill your app (User32.dll maybe?) and then try accessing from TS or maybe write a VI to access it. If you just want to throw money at it, Cyth makes a cute test stand step that has a pretty interface so you can just type in the window title, hit save and when the step runs it closes the desired program.
CLED (2016)
0 Kudos
Message 2 of 4
(3,361 Views)

Or is it possible to write a LabWindows programm compiled as *.dll with which I can kill the *.exe? If Yes, Can anyone tell me the command or send me a code example?

regards samuel

0 Kudos
Message 3 of 4
(3,354 Views)

Hi,

see response to http://forums.ni.com/ni/board/message?board.id=180&message.id=25882#M25882

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,344 Views)