HP Forums
Workaround for end-of-program power off - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Workaround for end-of-program power off (/thread-7022.html)



Workaround for end-of-program power off - TravisE - 10-12-2016 01:02 PM

This is a small workaround I found for the OS bug that causes the calculator to shut off immediately after a long-running program ends (apparently because the power-off inactivity timer doesn't get reset correctly). It works for the version 10637 I have installed, at least; not sure about the others.

Right before the program exits, have a command like the following:
Code:
TOff:=TOff;

Storing to TOff seems to reset the internal inactivity timer. TOff:=TOff does this without disturbing the current TOff setting. This way the calculator stays on when the program ends, but will still shut off normally once TOff expires after that—in other words, the same way all other programmable calculators I've used behave.


RE: Workaround for end-of-program power off - Tim Wessman - 10-12-2016 02:44 PM

That would work as the timer gets reset in the TOff setting command.

That is also an item we've planned to get to in this round, so hopefully it won't be needed much longer.


RE: Workaround for end-of-program power off - TravisE - 10-13-2016 02:56 AM

Okay, cool. Good to hear it's on the list Smile