LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Ability to see what User Application programs are active in Windows.

Have a need to be able to read which user applications that may be running in Windows. Basically the same info as would see in Task Manager >> Applications window.
Is there a function or method using SDK in CVI to retrieve this info. Assuming it
would return the application name as you would view in windows Task Manager.
cvier
0 Kudos
Message 1 of 5
(3,510 Views)
Hi cvier.

You can use Windows SDK PSAPI functions. Click here for a relevant forum post.

Regards,
Colin.
0 Kudos
Message 2 of 5
(3,495 Views)
I did find from labview forum one VI which does this. (Complete credit goes to Labview author)
Do you have labview? If not I can make dll and you can use it.

Sheetal
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 3 of 5
(3,483 Views)
Here is link. It was NI example code.

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EF4556A4E034080020E74861

Sheetal
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 4 of 5
(3,480 Views)
Was able to get psapi function code snippett on MSDN site to work. Verified its operation about 20 minutes ago. Works well, can retrieve all names of the processes
running on a WIN2000 computer. It was needed to confirm if a process was runing, if not,
then it woudl be launched.
cvier
0 Kudos
Message 5 of 5
(3,476 Views)