AutoMeasure Posted 4 hours ago Report Posted 4 hours ago Hi folks - Do any of you know of a way to prevent Windows from going to lock screen during a long test run, by sending a command or doing some action periodically inside the Labview program? Assuming that the lock screen timeout setting is inaccessible due to access restriction. Telling the test operator to jiggle the mouse every couple of minutes is not always an option, ha ha. Thanks, -Joe Quote
mcduff Posted 4 hours ago Report Posted 4 hours ago I have always used this library to prevent the screensaver and windows lock from occurring. Our IT locks down the computer so the screensaver, lock screen, cannot be changed. This library bascially tells Windows it's in Presentation mode, e.g., slideshow, watching a movie, etc, such that the screen will not got to screensaver or lock screen. 1 Quote
ooth Posted 2 hours ago Report Posted 2 hours ago Look at this new download on VIPM https://www.vipm.io/package/bjm_lib_request_power/ 1 Quote
AutoMeasure Posted 1 hour ago Author Report Posted 1 hour ago I tried it, that Request Display function works in my test program. Looks like I just need to call it once and then keep the handle open. Thanks very much! -Joe Quote
hooovahh Posted 1 hour ago Report Posted 1 hour ago Wow that is a great tool. My suggestion (which is not as good) is to use a NoSleep program. I made one in AutoIt scripting years ago and have been having it run on startup of test PCs for years. There are a couple versions, one would turn on and off the scroll lock every 30 seconds, but sometimes it did need a mouse jiggle to keep it awake. Here is one I found online that is similar to what I have used. One down side of this I did discover is that if you use remote desktop, and you remove into a machine that has a mouse jiggle no sleep, then it will do weird things in the host PC. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.