08-30-2009 08:07 PM
Hi
I'm a beginner. Could you tell me how make VI front panel "always on top" in running?
RGS
LY
08-30-2009 08:32 PM
One easy way, but might not be the best is to use the property node. right click block diagram, programming, applications control, property node.
Then right click the top(yellow) box of your property node, navigate to select class, VI server, VI, VI.
Then left click the lower box, 'choose front panel window', 'is frontmost'.
You can play with the other options on the property node to your satisfaction.
Another method is to use the invoke node which is similar to the above, but you place the "invoke node" on the block diagram instead of the property node.
Like I said, there might be other more straightforward approach.
08-30-2009 08:33 PM
Have you tried a property node?
Try that.
08-30-2009 08:37 PM
08-31-2009 01:55 AM
Thank your reply , We try this but still can not work. V.I. just always on top in labview debug environment. not availabled in running after build. I use labview 8.5.I mean how to let built exe V.I always on top in windows environment?
08-31-2009 02:46 AM
The TopMost-property is only LV internal, so the window will keep on top of the LV windows.... but not system modal as you like it.
LV is not configured to be system modal, so if you like a feature like this, you need to dig down to the Windows SDK in order to keep your panel system modal.
hope this helps,
Norbert
09-02-2009 10:02 PM
Hi Norbert
I contacted NI service engineer in local. He give me a WINUTIL.LLB which contained a V.I. named "Make Window Always on Top.vi". But It is only debug under LV 8.6, Could you help me convent this LLB to LV8.5.1?
RGS
LY
09-02-2009 10:02 PM
Hi Norbert
I contacted NI service engineer in local. He give me a WINUTIL.LLB which contained a V.I. named "Make Window Always on Top.vi". But It is only debug under LV 8.6, Could you help me convent this LLB to LV8.5.1?
RGS
LY