By tela - 9/5/2016
I am trying to introduce an artificial delay in the experiment to appear as the opponent in the game is making a decision. I tried to use posttrialpause on my surveypage element, but when I try to run the experiment, it get "posttrialpause is not a valid attribute". Why could that be?
Also, is there a way to display text for a short period without requiring the participant to respond? Ideally I'd like to show a text like "A moment, please" during the pause, which then goes away and the next trial page is displayed.
--tei
|
By Dave - 9/5/2016
> "posttrialpause is not a valid attribute". Why could that be?
<surveypage>s do not have /post- or /pretrialpauses. Those attributes only apply to standard <trial>, <openended> or <likert> elements as detailed in the documentation.
You need to /branch to a standard <trial> that lasts for however long you want the artificial pause to be instead.
> Also, is there a way to display text for a short period without requiring the participant to respond? Ideally I'd like to show a text like "A > moment, please" during the pause.
Yes, of course. You simply do:
<block someblock> / trials = [1=yourpage; ....] ... </block>
<surveypage yourpage> .... / branch = [trial.waittrial] </surveypage>
with
<trial waittrial> / stimulusframes = [1=waitmessage] / validresponse = (0) / trialduration = 3000 </trial>
<text waitmessage> / items = ("One moment please...") </text>
|
By tela - 9/6/2016
Thanks. It seems, I've been looking at v5 documentation where pre- and posttrialpause attributes are available.
|
|