Post Reply 
HP Prime auto shut down behavior
02-10-2020, 01:39 AM
Post: #5
RE: HP Prime auto shut down behavior
(02-10-2020 12:42 AM)Jacob Wall Wrote:  My workaround was to capture TOff value to a variable at launch of program, then set TOff value again from said variable just prior to program finishing. It has been some time since I spent time on this, but from what I recall if you set TOff value has effect of resetting counter.

Actually, I described the work around in my post, and it's almost the same. Smile
I verified that you don't need to use additional variable. Assigning TOff to itself at any location of the code does the trick. It's the write to TOff that triggers the shut down counter reset, but it must be checked upon termination of the program. To certain extent it makes sense: the auto shut down is disabled during program execution time, so probably the signal indicating that the write took place is blocked as well.

Darius
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime auto shut down behavior - DrDarius - 02-10-2020 01:39 AM



User(s) browsing this thread: 1 Guest(s)