Page 1 of 1

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

Posted: Wed Jan 22, 2020 6:51 am
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."

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

Posted: Wed Jan 22, 2020 10:49 pm
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....

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

Posted: Thu Jan 23, 2020 12:28 am
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."