From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set a front panel window's "Origin" property, as of LabVIEW 8.2?

This "Front Panel Window" property appears to have gone away since LabVIEW 7.x. Is there some new way to set a panel's origin?
0 Kudos
Message 1 of 3
(3,808 Views)

It's not gone away, it's moved a bit.

The splitter bars allow you to have multiple panels on a single VI, so they had to change things a bit.

First you need to get a reference to the "VI Panel", then "Pnl Panes []" (note this outputs an array of refs), then index out your panel and finally you'll get to the Origin property. Since you only have a single front panel, you can just use the Index Array function and grab the first element from the Panes property.

Ed

Message Edited by Ed Dickens on 01-18-2007 12:20 PM



Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 2 of 3
(3,805 Views)
Got it, thanks.
0 Kudos
Message 3 of 3
(3,799 Views)