cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Move Vi Front Panel window

I need to move a Vi on the primary display to a different position (simulating a user dragging it somewhere)

 

Basically I need to ensure that sub vi's open in a particular place, but Sub-Panels cannot be used (Another software package is in use that calls Vi's and doesn't support Sub-Panel usage)

 

I want the sub vi to open and on the first execution loop move to the position that is passed through inputs. Is this possible?

0 kudos
Mensaje 1 de 3
4.730 Vistas

Use a property node linked to the VI to get a reference to the Front Panel and then another property node to set the panel's position.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 kudos
Mensaje 2 de 3
4.719 Vistas

If it is always going to be the same place, go to VI Properties (Ctrl+I) on the subVI, choose Window Run-Time Position from Category, and set the position.

If you are going to programmatically choose the position, you can use a property node. There is a document here:

How Can I Programmatically Move My Front Panel to Desired Position in LabVIEW?

Ian
LabVIEW since 2012
0 kudos
Mensaje 3 de 3
4.716 Vistas