LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview window to top

I have a Labview executable that should display its window on top on specific events. Unfortunately the window stays hidden behind other applications such as the browser (even when modal). I could set it to floating, but I don't want to do that for the main window. Furthermore, floating windows do not get activated.

 

Who has an elegant solution for this?

0 Kudos
Message 1 of 4
(2,958 Views)

Here's a discussion on ^this subject.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 4
(2,951 Views)

Thanks for the tip. I did find that solution, too. Unfortunately, The provided VI's don't do the trick oftentimes!

I think I will give autoit a try, too. I've used autoit for other automation projects, but not yet in combination with labview.

 

I am also condidering the following: minimising all other windows first!

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

I created a tiny executable with Autoit.

I run the executable with exec.vi and pass the name of the application as a flag to ensure it will always activate the right window.

 

activate script.png

 

It works. Elegant? Nah..

0 Kudos
Message 4 of 4
(2,853 Views)