LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

runtime position of subvi as in in main vi

Is there a property to let run subvi's on the same position as in main vi. I missing this feature in the window runtime property.
 
Kind regards Reto  
0 Kudos
Message 1 of 5
(2,709 Views)
Hi Reto,

if you need to have your subvi at the same screen position as the main vi (hiding it) you could do this:
Get a reference of the main vi, feed it to the subvi. In the subvi you can read the properties of the main vi (window size and position) and adjust the properties of the subvi accordingly (all by using property nodes). You can also hide the main vi by hiding it (property Front Panel Window:State)...
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,705 Views)
What I'm looking for is this property. I can just find  frontpanel run time position method which indicats where the origin is.  Where can I get the window position? I'm using Labview 8.2 
0 Kudos
Message 3 of 5
(2,700 Views)
Hi reto,

it's the FP.WinBounds property as shown in the attached vi!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,695 Views)
Thank's a lot.
0 Kudos
Message 5 of 5
(2,692 Views)