Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to close the command prompt when using LABVIEW?

Status
Not open for further replies.

kingmakerbull

Junior Member level 1
Joined
Apr 19, 2007
Messages
15
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,412
Hi,

Can anyone tell me how to close the command prompt using LABVIEW

Thanks
 

pid problem labview

Hi,
Use the tasklist.exe to get the PID of cmd.exe. Then kill the PID using taskkill.exe. These two you need to run from the systemexec function available from LabVIEW.
 

labview how do i get process id external program

Generally if you are running command prompt from VI, you can configure to close it once the task is finished. If it is an external program, call the tasklist.exe from another command prompt using System Exec.vi. It will list the running process in spread sheet format. Search for cmd.exe and get the PID (Process ID) for the cmd.exe. Then once the PID is known, use the taskkill.exe and pass both exe name and PID name to kill the running process. http://www.windowsnetworking.com/kb...sklistPUlistlistsactivetasksandprocesses.html and http://www.computerhope.com/taskkill.htm explains the output.

..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top