taskkill /f /im notepad.exe
The VI snippet below takes the task name as a string input on the front panel and appends that to the end of the taskkill command, then sends that to the command prompt using System Exec.vi, which will cause the named process to end. Task names must be entered as they appear in the task manager(e.g. calc.exe, excel.exe, explorer.exe).
The task can then be resumed at a later point with the command:
pssuspend -r insert_task_here.exe
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.