There is not. This would essentially be just treating a symptom and not the root cause. SGPro uses controls exposed to it by Windows in order to prevent sleep during execution of a sequence and, when it’s done with the sequence, restores sleep functionality. I have tested this as functional (3 weeks ago when I read this) in the case that it had been broken somehow. It seems that SGPro is failing to restore the functionality on your machine for some reason.
What Windows version are you using? Is it an “old” install?
I’m not sure if you have some kind of custom windows “Power Plan” (profile), but you may try to select one of the defaults and see if that corrects the issue. You may be able to test by:
Set a power plan and choose a low sleep timeout in minutes
Ken, Thanks for your answer!
I agree that this is not an issue with SGP, but with the components connected to it.
This is a new computer running windows 11. And I didn’t have this issue with my old computer with windows 10.
I have already tried your suggestion of running a short sequence, with a one minute sleep time, even to the point of testing disconnecting one component at a time, ie, Camera, Filters, focus, etc. Even after disconnecting all the components the computer won’t sleep. It only sleeps after closing SGP.
At this point, I think I’ll just switch back to the old computer. When I have a chance I’ll try the scripts that have been posted, and go from there.
Thanks to all, John
In your test sequences are they ending normally or are they aborted or paused or some other thing? It’s possible that there may exists a path that somehow fails to restore sleep functionality.
The short sequences are seemingly all ending normally.
At the end of the tests, the only thing on the monitor is SGP, disconnected from all equipment.
So I think there is something still running in the background, not seen on the monitor, that keeps the computer from sleeping.
In the end, it’s not a big deal, so I think I’ll just let it go, and take some new Flats instead.
I thought about this some yesterday and I think I have uncovered the issue. Specifically, the end of sequence actions are not all that linear and there is some complexity behind how they run and in what order they run. I think I have uncovered a situation where sleep can be restored, but then, in certain circumstances, completely undone (reversed) by a background task. I still can’t reproduce it, but it is being released now.
Ken, Thank you very much. I gave it a try but with no change.
I certainly appreciate your help.
I talked to a friend that knows a lot more about computers than I, and he thinks it must be a program running in the back ground that could be the problem.
Until he gets a chance to come over, do you know of a file that will show what is running in the back ground, that I could look at?
Thanks again, John