LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read monitor frequency

Hi,

I'm running LabView 7.1 on Windows XP.

I need to build an applicition which depends on the refresh rate and preferably also resolution/color depth of the monitor.

Is there any way to read these Windows display settings into LabView?

Many thanks,
Michiel Vestjens.
0 Kudos
Message 1 of 12
(3,560 Views)
Hello

I guess this is what you are looking for.
I don´t remenber where I got it, probable from some utilities package for labview.

Hope it helps
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
Message 2 of 12
(3,560 Views)
Hi again
This llb comes from LVWUTIL32.zip.
You can find it in this web. It has calls to APIs and documentation about that.
Hope this helps.

Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 3 of 12
(3,560 Views)
Thank you very much!

I will try it now.
Cheers,
Michiel.
0 Kudos
Message 4 of 12
(3,560 Views)
I've downloaded the LVWUTIL32.zip file, and copied all lib's to user.lib, and lvwutil32.dll to the resource directory.

however, I get an error: using WIN_GetDisplayMode.vi
-> Call Library Function Node: function not found in Library.
The only function called in this vi is LVCurrentDisplaySettings. Do you know where I can find that one too?

Thanks again,
Michiel.
0 Kudos
Message 5 of 12
(3,560 Views)
Sorry about that
I thik there are different versions.

See attached zip containing DLL.
Should you want to have the full Lvwutil32, please let me know and I will post it here.

Cheers
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 6 of 12
(3,560 Views)
Yes, this works great! Thanks.

But indeed, if you have it available, I would like to have the full version. (Might be interesting for future projects)
0 Kudos
Message 7 of 12
(3,560 Views)
Ok. Having problems to upload the file at once.
Will try in chunks.
You have got windisplay and dll
1. winutil
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 8 of 12
(3,560 Views)
2. winsys / winnet / winkey
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
Download All
0 Kudos
Message 9 of 12
(3,560 Views)
3 winevent
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 10 of 12
(3,560 Views)