07-17-2008 07:34 AM
07-17-2008 07:56 AM
Hello,
Thanks for getting back to me. I am creating software for automated test station where everything is in a roll around 19 inch rack. The monitors in the reacks are small, so I have to work with what I have. If I find something out I will let you know.
Regards,
Kaspar
07-17-2008 08:37 AM
I have tried this on my development enviornment and the actual test system and I can see that the display resolution does change. So please (I have used the magic word) try it out and let me know if it works for you!
Regards,
Kaspar
07-18-2008 07:44 AM
07-18-2008 07:52 AM
Hello,
You are correct, you can do alot of stuff if you are willing to spend the time to do it. I just wanted to be able to determine the screen resolution and programmatically determined the size and location of the window so that the user can always see the window. My development enviornment is a dual screen high res monitors, so at time I get carried away with writing code. Maybe I am having to much fun and/or to much Mountain Dew, probably both. However the actual enviornment where my code is used is in a 19 inch roll around rack with postage stamp size monitors, so I have to be careful over what I do. I hoped I helped someone out with sharing the info on how to determine the screen resolution.
Regards,
Kaspar
07-19-2008 02:56 PM
Kaspar wrote:Drag and drop the Application Property node onto the block diagram
DO NOT connect anything to the reference input so that the Property node thinks that it is getting info from the system
08-21-2009 03:46 PM
Ed Dickens wrote:
Another option, though it's a bit more work, is to design a separate GUI for each resolution. You can read the monitor resolution and load the corresponding GUI, which would then call the real VI that does all the work.
Hi there,
I have made a sample application with this approach. The attached ZIP file has all the three VIs, plus the executable which includes all ofthem.
Can you have a look at them and tell me if this is what you meant?
@ Kaspar
Can you also tell me please if you have had any issues since you seem to have implemented this method already?
Thanks ahead!