LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get currently running application names on windows

Has anyone ever noted: If you change the "Front Panel Window: Title" programmaticly in a build LabView application, it doesn't reflect in the .Net Process MainWindowTitle.

Bummer! It would make it easier to tell different application instance apart.

Message 31 of 39
(2,574 Views)

@wiebe: Thanks for providing the List_of_applications VI! It took a while to figure out I needed to change the style value being checked in order for the VI to find my LabVIEW executables (I used 0x16CA0000, which works for most of my LV programs; but I also got good results using 0x10020000).

 

I have converted it into a VI that just identifies the topmost application, which has one use as a round-about way to have multiple programs access hardware (only allowing the topmost program to talk to the hardware that more than one program uses).

Message 32 of 39
(2,447 Views)

Razurbeam,

 

That is a nice usage of the code!

 

I guess if I had to make it today, I'd use .NET and LabVOOP, creating a much more powerful library. If only I had more time, and perhaps less ideas.

 

Regards,

 

Wiebe.

0 Kudos
Message 33 of 39
(2,431 Views)

How to get all the applications that are open in any user account from these vis. I have tried all posted vis and it seems all list the applications open under current useraccount only.

0 Kudos
Message 34 of 39
(2,358 Views)

Do you mean list all applications running on one computer, but started as different login? Or the "user" as in the task manager list, like SYSTEM, LOCAL SERVICE, etc?

 

Regards,

 

Wiebe.

0 Kudos
Message 35 of 39
(2,343 Views)

Not sure if it will list all users tasks, but from the command line:

 

tasklist

 

will give a list of processes and services.

 

Regards,

 

Wiebe.

Message 36 of 39
(2,335 Views)

the given attachment processes_vi can not open on my windows....plz ckeck it.

i really need it..

 

0 Kudos
Message 37 of 39
(1,939 Views)

@kbp1 wrote:

the given attachment processes_vi can not open on my windows....plz ckeck it.

i really need it..


Checked it. Works fine for me.

 

Be more specific in why it's not working, OS, LV version, etc.

0 Kudos
Message 38 of 39
(1,930 Views)

Wiebe@CARYA wrote:
I've search for a .net solution first, but didn't find one! I gave up early,
I really don't like to work with it, although I have to admit it's pretty
easy if you know where to look. (I got burned with AX a few times, and don't
want to make this mistake with .net.) 

Wiebe.

Just a quick comment on this 11 years old post.

 

.NET rocks, and I use it all the time now... Looks like most of the AX problems (early binding, lack of backwards\forwards compatibility, etc.) are not there with .NET.

0 Kudos
Message 39 of 39
(1,749 Views)