LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading panel size during runtime

Is there any way, i can read panel size during runtime???

0 Kudos
Message 1 of 7
(661 Views)

Hi tan,

 


@tan0709 wrote:

Is there any way, i can read panel size during runtime???


Yes.

Use property nodes…

 

What exactly do you want to read? Front panel (aka window) size? Monitor display size?

Best regards,
GerdW


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

I want to read front panel size

0 Kudos
Message 3 of 7
(599 Views)

Yamaeda_0-1709549295274.png

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 7
(592 Views)

@Yamaeda wrote:

Yamaeda_0-1709549295274.png

 


You don't need the "This VI" server reference.  The property node will default to referencing the current VI.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 5 of 7
(567 Views)

You may wish to review this post if you are dealing with multiple monitors.

 

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 6 of 7
(555 Views)

@paul_cardinale wrote:

@Yamaeda wrote:

Yamaeda_0-1709549295274.png

 


You don't need the "This VI" server reference.  The property node will default to referencing the current VI.


The property node defaults to App, and it's easier to show this way than how to r-click and go down the tree to VI. 🙂

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 7 of 7
(530 Views)