LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Have subvi open in same monitor as main vi

Solved!
Go to solution

How do I get my subvi's to open in the same monitor that the main vi is in?  I have tried the window run-time position options, but that seems to fix the subvi to a particular monitor.  I want the user to be able to drag the main vi into any monitor available and have the subvi's open in that monitor.

 

Thanks

0 Kudos
Message 1 of 2
(2,193 Views)
Solution
Accepted by topic author Terry_S

Check out a couple VI methods:

 

Front Panel.Run-Time Pos.Get - returns a bunch of default stuff including which monitor the front panel is on.

Front Panel.Run-Time Position.Centered - specifies where the VI will appear the next time it's run.

 

Beyond that, setting the window's position can move it between monitors.

 

This might get you to where you want to go.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 2
(2,188 Views)