LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check a Application/Process Running using Labwindows

Solved!
Go to solution

Hi,

 

How can I check whether a Process or an Application is running or not using CVI?

 

I used to try this in Labview, and for check App, this is a VI in NI's website. But I have no idear about using CVI to do this.

 

And also, how can I check whether a folder is open or using? Because I want to rename foder in my code, if it's open(maybe some file in the folder are open), the rename action will go wrong.

 

 

Thanks in advance

0 Kudos
Message 1 of 3
(4,613 Views)
Solution
Accepted by topic author gavin.gqchen

Hi,

 

using the forum search I found the following thread discussing your topic:

 

http://forums.ni.com/t5/LabWindows-CVI/How-to-know-exe-is-running-and-close-the-exe/m-p/1040673

0 Kudos
Message 2 of 3
(4,611 Views)

Maybe you can use some command in windows (provided by Microsoft) to get the tasks in task mgr.

I have searched for you and think the task list command can meet your requirement. Have a try...

 

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/tasklist.mspx?mfr=tru...

无惧边界
0 Kudos
Message 3 of 3
(4,563 Views)