07-03-2012 04:24 PM
@pcardinale: As I click on different windows, I expected App.ActiveVI to output their name, but it didn't, in fact it was rather bizare. It would often report "VI Heierarchy" as the name of the active VI. Also, it appended a charector (usually a 'B') to the front of the string.
My goal is to be able to maintaine tiers of windows with different z-ordering but allow you to interact with windows at any level. So, my tier 3 windows will be on top of tier 1 and 2 windows but you'll still be able to interact with a control on the main window which is tier 1. The problem is that when you click on the tier 1 control, that window comes to the front. I need to force it back to the back while still keeping it as the active window (I guess I'm using the Windows term 'active' not the LabVIEW term). We have succeded in doing this except by using Windows API calls, which I'm trying to get rid of as we're porting to MacOS.
07-06-2012 05:07 PM
Thomas,
Is it possible for the front panel window: state property to help you acheive your design? The property in conjunction with FP:Open allows you to open VI's in different states and may be a solution to your issue. Here is the help file that may be of some assistance.
http://zone.ni.com/reference/en-XX/help/371361E-01/lvprop/vi_open_front_panel/
Regards,
08-30-2012 01:39 PM
@J-Newkirk: I tried the state property and it does not seem to help. Specifically, I tried setting windows to frontmost and then setting their state back to what it was before.
What do you believe I should do with the open method state input?
11-21-2013 02:00 PM
I'm having the same issue.
We need an in-active window open and monitor a graph and be able to work on the main FP. The biggest issue is leaving the window in-active, on-top and still being able to control from the main FP
Did you figure it out?
11-21-2013 02:28 PM
I never found a solution that was native to LabVIEW. I believe that we are using windows API calls to accomplish what we need and simply disabling the functionality on MacOS.
11-21-2013 03:11 PM - edited 11-21-2013 03:12 PM
Thomas,
If I understand you correctly, the Float option under VI properties seems to do what you want on the Mac version. The first image is a screen shot taken jsut after starting Test Main Back.vi. The second image shows the result of pressing the increment button three times while test float front.vi is running. VIs are in LV2013.
Lynn
11-22-2013 07:46 AM
Could you save that to a 2012 format? I would like to see if this is gonig to work for us
11-22-2013 03:06 PM
Here it is saved back to LV 8.0. I did not test in earlier versions and did get a warning. So if the VIs are broken, please let me know.
Lynn