Millisecond Forums

Timer

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

By abhi - 11/25/2013

Hi,


I want to display timer before the trial - So timer should warn the subjects that the test is beginning in 6 seconds and goes back from 6 to 0 and the trial then starts.


So in my clock script, I have timeout = 6 and duration is 6 but timer still starts from 59 and goes to zero .


How to ensure that timer starts from 6 and not from 59.



Thanks


By Dave - 11/25/2013

<clock myclock>
/ mode = timer
/ format = "s"
/ timeout = 7000
</clock>

<trial mytrial>
/stimulusframes = [1=myclock]
/ timeout = 7000
</trial>


Further details are available in the documentation / language reference for the <clock> element.

By abhi - 11/27/2013

Hi,



Thanks Dave


Its perfect.


But another weird problem


/ blocks = [1=demographics1; 2=agreement; 3=picpractice; 4=timer; 5=picdata; 6=timer; 7=picdata1]


these are my blocks. when timer is running for the first time it starts from 6 to 0 but before other blocks it starts from 59 to 0 .


Why is this happening ?


Thanks


By Dave - 11/27/2013

I am unable to reproduce this:


<clock myclock>
/ mode = timer
/ format = "s"
/ timeout = 7000
</clock>

<trial mytrial>
/stimulusframes = [1=myclock]
/ timeout = 7000
</trial>

<block a>
/ trials = [1=mytrial]
</block>

<block b>
/ trials = [1=mytrial]
</block>

<expt>
/ blocks = [1=a; 2=b]
</expt>

counts down as expected in Inquisit 4.0.3. Is your installation up to date?