Millisecond Forums

Pause

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

By mjbrouil - 3/19/2012

Our testing session is quite long.  If, for whatever reason, e break is needed, can we temporarily pause the testing session?  How so?


Thanks


By Dave - 3/19/2012

No, not by default. You'll have to specifically build that functionality into the script. E.g:


<block myblock>
/ trials = [1-500=mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=mytext]
/ validresponse = (57,25)
/ timeout = 5000
/ branch = [if(trial.mytrial.response==25)trial.pausetrial]
</trial>

<trial pausetrial>
/ stimulusframes = [1=pausetext]
/ validresponse = (57)
</trial>

<text mytext>
/ items = ("A","B","C","D")
</text>

<text pausetext>
/ items = ("Paused...")
</text>


Regards,


~Dave