LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Blurry text with LabWindows 2017

Solved!
Go to solution

Thanks for the detailed explanation.

0 Kudos
Message 11 of 13
(728 Views)

Team,

 

I would like to keep with CVI2015 to prevent the blurry text. I have found that if I change my 4K monitor back to 2K the problem goes away with the text resizing problem.  Is there a CVI command that can programmatic change my users monitor from 4K to 2K when I invoke my CVI 2015 program?

 

Derek

0 Kudos
Message 12 of 13
(601 Views)

To change the resolution you can call ChangeDisplaySettings() Windows API. 

 

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-changedisplaysettingsa


But think several times about doing that. Most users find it extremely annoying when an application changes such settings arbitrarily without their explicit consent! Probably fine for your test station on the factory floor but definitely a bad idea for an office style app that is used by various users on their own computer.

But a 4k monitor on the factory floor sounds VERY unlikely and resource spilling. If your company does do that it must be interesting to work there. 🤩

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 13 of 13
(587 Views)