Millisecond Forums

Test run a specified trial number?

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

By writekristin - 5/6/2015

I am trying to test an experiment I've created that has many trials with different picture stimuli.  I want to check if a specific trial looks right without having to go through all of them.  I know there is a way to run a specified block, but is there a way to run a specified trail number?
By Dave - 5/6/2015

You can't run a specific trial *number*, but you can run a specific <trial> *element*. To do this, move your cursor into the <trial> element definition and either hit F11 or select "Run trial" from the context menu.
By writekristin - 5/12/2015

Yes, the issue is that I want to run a specific trial number.  I have one <trial> element (if I'm understanding correctly) that pulls stimuli from <picture> items.  So the one trial element actually runs 200 trials.  I'd like to be able to test specific trials to make sure the pictures are showing correctly, instead of having to go through all 200 trials.  It seems there isn't a way to do this?
By Dave - 5/12/2015

What you can do is set the respective <picture> element to a specific item. Suppose you have four items A to D and you want to check how things look when item C is selected:

<trial mytrial>
/ stimulusframes = [1=mypicture]
...
</trial>

<picture mypicture>
/ items = myitems
/ select = 3
...
</picture>

<item myitems>
/ 1 = "A.jpg"
/ 2 = "B.jpg"
/ 3 = "C.jpg"
/ 4 = "D.jpg"
</item>

Once you're done checking, set the /select attribute back to whatever it was before.