11-03-2006 04:08 AM
11-03-2006 09:06 AM
11-03-2006 09:34 AM
Thanks - found it.
I am also trying SystemExec.vi and calling the taskkill.exe directly -seems I can make it work both ways.
Now comes the trick - make it robust! - Cheers........
11-03-2006 09:41 AM
11-07-2006 11:28 AM
Surprise, surprise, I'd recommend using .NET - much easier to work with in LabVIEW than Win32 - as long as you have LabVIEW 7.1 or later.
If you don't have it already, install .NET 2.0 or .NET 3.0 (just released).
Go to examples\comm\dotnet\SimpleTaskMonitor.llb and take a look. It's a large example, so don't get overwhelmed - but you should be able to pull out the basics on how to get the list of running processes via .NET. Then the Process object has a Kill() method you can use.