Millisecond Forums

Study time limit

https://forums.millisecond.com/Topic36620.aspx

By raven - 11/7/2024

Hi Dave,
Is it possible to set a time limit at the /expt and/or /block level? For example, when 30 minutes is reached, the study will finish and go to a debrief screen.
Thanks!
By Dave - 11/7/2024

raven - 11/7/2024
Hi Dave,
Is it possible to set a time limit at the /expt and/or /block level? For example, when 30 minutes is reached, the study will finish and go to a debrief screen.
Thanks!

You can define a /timeout at the <block>-level or work with /stop attributes (e.g. /stop = [script.elapsedtime >= 1800000]).

https://www.millisecond.com/support/docs/v6/html/language/attributes/timeout.htm
https://www.millisecond.com/support/docs/v6/html/language/attributes/stop.htm
https://www.millisecond.com/support/docs/v6/html/language/properties/elapsedtime.htm
By raven - 11/8/2024

Dave - 11/7/2024
raven - 11/7/2024
Hi Dave,
Is it possible to set a time limit at the /expt and/or /block level? For example, when 30 minutes is reached, the study will finish and go to a debrief screen.
Thanks!

You can define a /timeout at the <block>-level or work with /stop attributes (e.g. /stop = [script.elapsedtime >= 1800000]).

https://www.millisecond.com/support/docs/v6/html/language/attributes/timeout.htm
https://www.millisecond.com/support/docs/v6/html/language/attributes/stop.htm
https://www.millisecond.com/support/docs/v6/html/language/properties/elapsedtime.htm

Thanks, I will take a look at those links.