Millisecond Forums

Ending a task after 90 seconds

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

By alisonoconnor - 4/23/2021

I have programmed a script for a simple processing speed task where participants respond to symbols appearing on the screen. Right now, I have it set to run through the following trials 100 times. 

<block sdttest>
/ preinstructions = (begin)
/ trials = [1-100 =replace(symbol1, symbol2, symbol3, symbol4, symbol5, symbol6, symbol7, symbol8, symbol9)]
/ bgstim = (reminder)
</block>

Rather than ending after 100 trials, I would like the task to end after 90 seconds (regardless of the # of trials completed). Does anyone have insight into how to program this to run though the trials for 90 seconds?

Thank you!
Alison
By Dave - 4/23/2021

alisonoconnor - 4/23/2021
I have programmed a script for a simple processing speed task where participants respond to symbols appearing on the screen. Right now, I have it set to run through the following trials 100 times. 

<block sdttest>
/ preinstructions = (begin)
/ trials = [1-100 =replace(symbol1, symbol2, symbol3, symbol4, symbol5, symbol6, symbol7, symbol8, symbol9)]
/ bgstim = (reminder)
</block>

Rather than ending after 100 trials, I would like the task to end after 90 seconds (regardless of the # of trials completed). Does anyone have insight into how to program this to run though the trials for 90 seconds?

Thank you!
Alison

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