LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting screen resolution

Is it possible to get the value of the current screen resolution?

John
0 Kudos
Message 1 of 5
(15,780 Views)
Hi John,

get the G-tools from http://www.geocities.com/gzou999/index.html which has
this function.

Niko
0 Kudos
Message 2 of 5
(15,780 Views)
The LabVIEW Windows Utility Library has a VI that returns screen size.
0 Kudos
Message 3 of 5
(15,780 Views)
This VI will give you the promary workspace. If you use windows, you can down load the LabVIEW windows utilites (LVWUTIL). There is a VI that will give you the resolution.
Message 4 of 5
(15,780 Views)
Hi John,

Select a property node from the "Application Control" palette. The node will default to VI Server Class "Application." Right click and select "Properties -> Display -> Primary Display." This property will give you the bounds of the primary display (left, top, right, bottom).

In certain situations I find it more useful than "screen resolution" when dealing with dual head machines, and it also takes into account the taskbar size.

Good luck,
Duffey
Message 5 of 5
(15,780 Views)