Millisecond Forums

trials within block start after 15 seconds

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

By ChristineH - 7/14/2014

I have a several blocks that look kinda like this

<block n_back_Excavator>
/ preinstructions = (n_backExcavator, n_backExcavatorHartslag, n_backExcavatorStart)
/ bgstim = (komatsu)
/ trials = [1-5 = falseE; 6 = trueE; 7 = falseE; 8 = trueE; 9-10 = falseE; 11 = trueE; 12-15 = falseE;
16 = trueE; 17-18 = falseE; 19 = trueE; 20-22 = falseE; 23-24 = trueE; 25-29 = falseE; 30 = trueE;
31-33 = falseE; 34-35 = trueE]
/postinstructions = (n_backExcavatorStop)
</block>

The page " n_backExcavatorStart" is the last page shown before the trials start. I would like this page to be shown for 15 seconds, and than the trials should automatically start. How can I achieve this without changing too much of my script (it's veeeery long)?

Also, my pages have, as a standard, buttons to go to the next page or previous page. I would like to cut these from the " n_backExcavatorStart" page (but not from the others!!), since the trials should start automatically after this.

Thanks!



By Dave - 7/14/2014

You can't do this using instruction pages (i.e. <page> or <htmlpage> elements run via /pre- and /postinstructions). What you have to do is implement a different way to display your instructions, i.e., using standard <text>, <picture> and <trial> elements.

In summary, get rid of the 'n_backExcavatorStart' page, set up a <trial n_backExcavatorStart> displaying the same information instead

<trial n_backExcavatorStart>
...
/ validresponse = (noresponse)
/ trialduration = 15000
</trial>

and do

<block n_back_Excavator>
/ preinstructions = (n_backExcavator, n_backExcavatorHartslag)
/ bgstim = (komatsu)
/ trials = [1=n_backExcavatorStart; 2-6 = falseE; 7 = trueE; ...]
/postinstructions = (n_backExcavatorStop)
</block>
By ChristineH - 8/4/2014

Thanks for your reply!

The problem, however, is that I have a sound starting with the actual task, and the 15s waiting period is not part of the task. Thus, now I hear the sound while waiting for the task to start, which is not what I want. Ideally, the sound should start with my second trial, which is the first trial of the task.

Is there a way to achieve this?

Best,

Christine
By ChristineH - 8/4/2014

Wait, I just need to make two blocks, one for the pages, and one for the actual task.
By Dave - 8/4/2014

Yes, splitting things up into separate <blocks> is probably the best option here.