LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resize front panel to fit decoration

Solved!
Go to solution

Hi,

 

I have a labview program where I have a rectangular box as decoration. I need to resize the front panel while running to show only the decoration part. How can I do that. Also I am using LabVIEW 2012. Thank You. 

0 Kudos
Message 1 of 3
(1,696 Views)
Solution
Accepted by topic author govindsankar

Hi govindsankar,

 

4 easy steps:

  1. get all FP decoration elements
  2. look for the largest decoration
  3. get its dimensions
  4. set the FP origin and size to fit that decoration

(Btw. this functionality is already available in the OpenG package at VIPM…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(1,694 Views)

Thank You very much. I just saw the openG package and it works. Thank You. 

0 Kudos
Message 3 of 3
(1,688 Views)