LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

front panel dll on top

Solved!
Go to solution

Hi,

 

I made a dll using Labview 2009 64bit.

It is called by an other application written in C#.

The first time it opens on top of the window of the C# program.

When it is called a second time it is behind this main window.

How can I keep my front panel of the dll always on top??

 

I tried setting the option model in window appearance, this frooze the main window and the front panel was still behind it.

 

thanks!

kim

0 Kudos
Message 1 of 8
(3,200 Views)

Inside the LabVIEW code, use the Front Panel "Open" method (through an Invoke node) to activate the appropriate front panel on each call to the DLL.

0 Kudos
Message 2 of 8
(3,190 Views)

.

0 Kudos
Message 3 of 8
(3,181 Views)

sorry, forget remark

0 Kudos
Message 4 of 8
(3,178 Views)

Thanks for you reply, but unfortunately this doesn't work for me.

The front panel is open, but behind the main application.

I should be able to put it on top of all applications...

0 Kudos
Message 5 of 8
(3,168 Views)
Solution
Accepted by topic author KimT

Sorry for misleading you, then - I didn't try this in a DLL prior to posting.  How about the Application method "Bring to Front"?  Does that work for you?

 

EDIT: and if that doesn't work, try the Windows calls suggested in this post: http://forums.ni.com/t5/LabVIEW/Bring-LabVIEW-built-exe-to-front-on-subsequent-launch-attempts/m-p/2...

Message 6 of 8
(3,159 Views)

I think it might be a windows 7 issue...

0 Kudos
Message 7 of 8
(3,130 Views)

the links helped!

thanks for the help.

 

Kim

0 Kudos
Message 8 of 8
(3,123 Views)