"Auto Stop Timeout" field on the Control tab of the Monitor Dialog only accepts integers

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
simonpg
Posts: 14
Joined: Fri Nov 29, 2019 8:55 pm

"Auto Stop Timeout" field on the Control tab of the Monitor Dialog only accepts integers

Post by simonpg »

I dearly wish I could fix this myself, but I am not there yet; so here is an easy bug for someone. Version: 1.34.0-buster. If you enter a fractional value, which you are going to do, you get a fine message that says, "Please enter a valid value. The two nearest valid values are 0 and 1."
User avatar
iconnor
Posts: 2862
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: "Auto Stop Timeout" field on the Control tab of the Monitor Dialog only accepts integers

Post by iconnor »

So I think this value is in usecs... so 1 second would be 1000000

Not sure why we seem to be suggesting that it is in seconds, we use usleep....
simonpg
Posts: 14
Joined: Fri Nov 29, 2019 8:55 pm

Re: "Auto Stop Timeout" field on the Control tab of the Monitor Dialog only accepts integers

Post by simonpg »

When the script gets the value, it is 1000000 if the form is 1, so there is conversion going on... Also, the Docs indicate that the 'autostop' parameter "will be a timeout in decimal seconds, probably fractional."
Post Reply