trouble getting block to stop and go on


trouble getting block to stop and go on

Author
Message
ChristineH
ChristineH
Associate Member
Associate Member (138 reputation)Associate Member (138 reputation)Associate Member (138 reputation)Associate Member (138 reputation)Associate Member (138 reputation)Associate Member (138 reputation)Associate Member (138 reputation)Associate Member (138 reputation)Associate Member (138 reputation)

Group: Forum Members
Posts: 6, Visits: 21
I have a simple task, but have a total blackout on how to go about it. 
The task I want to use is this: participants will see a picture together with a sound, and thereafter can chose whether they want to continue with the task or stop. If they want to go on, they will see again a picture with a sound. If they stop, they will go on to answer three questions about the sound. 
The participants who never stop will see 10 pictures and then just go on to the questions. 
The picture will always be the same, and the sound should be either one of two sounds. I have not started to write this part, as it took me way too long to get where I am now...

Ideally, participants see the picture and hear the sound, and then they see the question if they want to go on or not, with an option to click or press a certain box or key, respectively. 

I have tried a lot today, but everytime something works, something else doesn't anymore...

My current version, which does not work and I don't remember what I had previously (shouldn't have forgotten to safe every step...), is this

<page tolerance>
^Instructions will follow....
</page>

<picture baby1>
/ items = baby1
/ position = (50,50)
</picture>

<item baby1>
/ 1= "Baby.bmp"
</item>

<sound babySound1>
/ items= ("Cry.wav")
/ playthrough = true
/ pan = 0
</sound>

<item babySound1>
/ 1= "Cry.wav"
</item>

<trial tolerance1>
/ stimulusframes=[1=baby1, babySound1]
/ trialduration = 2500
/ pretrialpause = 500
/ responsetime = 1000
</trial>

<item questionTIC>  ******I added this after my likert did not work
/ 1= "DO YOU WANT TO GO ON?
PRESS SPACEBAR IF YOU WANT TO QUIT.
DO NOTHING IF YOU WANT TO GO ON."
</item>

likert questionTIC>   ***I made this useless, but this is what I had, in several forms, and that did not work
/ anchors = [1="Yes"; 2="No"]
/ stimulusframes = [1= questionTIC]
/ mouse=true
/ numpoints=2
/ position= (50, 60)
/anchorwidth = 20
</likert>

<text questionTIC>
/size = (1000,100)
/items = questionTIC
/position = (50, 50)
/halign = center
/select = sequence
</text>

<trial questionTIC>
/ stimulusframes=[1=questionTIC]
/ trialduration = 5005
/ responsetime = 0
/ validresponse = (" ", noresponse)
/ correctresponse = (no response)
</trial>

<block TIC1> 
/ trials=[1-5=tolerance1, questionTIC]
/ preinstructions=(tolerance)
/ stop = [block.TIC1.error]
/ branch = [if (block.TIC1.error) block.questionnaireTIC]
</block>

 ****I also had a block specified with these:
/ stop = [block.questionTIC.error; block.questionTIC.correctcount >=10]
/ branch = [if (block.questionTIC.error) block.questionnaireTIC]
/ branch = [if (block.questionTIC.correctcount >=10) block.questionnaireTIC]

but this also worked and then did not anymore along the way....


<page questionnaireTIC>
^^Instructions will follow...
</page>

<item questionnaireTIC> **** I do not know them yet***
/1 = "Question1."
/2 = "Question2."
/3 = "Question3."
</item>

<likert questionnaireTIC>
/ anchors = [1="Not at all true"; 2="Hardly true"; 3="Moderately true"; 4="Exactly true"]
/ stimulusframes = [1= questionnaireTIC]
/ mouse=true
/ numpoints=4
/ position= (50, 50)
/anchorwidth = 150
</likert>

<text questionnaireTIC>
/ items = questionnaireTIC
/ size = (1000,100)
/ position = (50, 40)
/ halign = center
/ select = sequence
</text>

<block questionnaireTIC>
/ preinstructions = (questionnaireTIC)
/ trials = [1-3=questionnaireTIC]
</block>


I have used the search function in the available tasks and the discussion forum, but nothing comes up that I can use. Maybe someone remembers a topic with the same question or which task in the demos can help me out? 




Dave
Dave
Supreme Being
Supreme Being (668K reputation)Supreme Being (668K reputation)Supreme Being (668K reputation)Supreme Being (668K reputation)Supreme Being (668K reputation)Supreme Being (668K reputation)Supreme Being (668K reputation)Supreme Being (668K reputation)Supreme Being (668K reputation)

Group: Administrators
Posts: 9.7K, Visits: 45K
ChristineH - Saturday, April 6, 2019
I have a simple task, but have a total blackout on how to go about it. 
The task I want to use is this: participants will see a picture together with a sound, and thereafter can chose whether they want to continue with the task or stop. If they want to go on, they will see again a picture with a sound. If they stop, they will go on to answer three questions about the sound. 
The participants who never stop will see 10 pictures and then just go on to the questions. 
The picture will always be the same, and the sound should be either one of two sounds. I have not started to write this part, as it took me way too long to get where I am now...

Ideally, participants see the picture and hear the sound, and then they see the question if they want to go on or not, with an option to click or press a certain box or key, respectively. 

I have tried a lot today, but everytime something works, something else doesn't anymore...

My current version, which does not work and I don't remember what I had previously (shouldn't have forgotten to safe every step...), is this

<page tolerance>
^Instructions will follow....
</page>

<picture baby1>
/ items = baby1
/ position = (50,50)
</picture>

<item baby1>
/ 1= "Baby.bmp"
</item>

<sound babySound1>
/ items= ("Cry.wav")
/ playthrough = true
/ pan = 0
</sound>

<item babySound1>
/ 1= "Cry.wav"
</item>

<trial tolerance1>
/ stimulusframes=[1=baby1, babySound1]
/ trialduration = 2500
/ pretrialpause = 500
/ responsetime = 1000
</trial>

<item questionTIC>  ******I added this after my likert did not work
/ 1= "DO YOU WANT TO GO ON?
PRESS SPACEBAR IF YOU WANT TO QUIT.
DO NOTHING IF YOU WANT TO GO ON."
</item>

likert questionTIC>   ***I made this useless, but this is what I had, in several forms, and that did not work
/ anchors = [1="Yes"; 2="No"]
/ stimulusframes = [1= questionTIC]
/ mouse=true
/ numpoints=2
/ position= (50, 60)
/anchorwidth = 20
</likert>

<text questionTIC>
/size = (1000,100)
/items = questionTIC
/position = (50, 50)
/halign = center
/select = sequence
</text>

<trial questionTIC>
/ stimulusframes=[1=questionTIC]
/ trialduration = 5005
/ responsetime = 0
/ validresponse = (" ", noresponse)
/ correctresponse = (no response)
</trial>

<block TIC1> 
/ trials=[1-5=tolerance1, questionTIC]
/ preinstructions=(tolerance)
/ stop = [block.TIC1.error]
/ branch = [if (block.TIC1.error) block.questionnaireTIC]
</block>

 ****I also had a block specified with these:
/ stop = [block.questionTIC.error; block.questionTIC.correctcount >=10]
/ branch = [if (block.questionTIC.error) block.questionnaireTIC]
/ branch = [if (block.questionTIC.correctcount >=10) block.questionnaireTIC]

but this also worked and then did not anymore along the way....


<page questionnaireTIC>
^^Instructions will follow...
</page>

<item questionnaireTIC> **** I do not know them yet***
/1 = "Question1."
/2 = "Question2."
/3 = "Question3."
</item>

<likert questionnaireTIC>
/ anchors = [1="Not at all true"; 2="Hardly true"; 3="Moderately true"; 4="Exactly true"]
/ stimulusframes = [1= questionnaireTIC]
/ mouse=true
/ numpoints=4
/ position= (50, 50)
/anchorwidth = 150
</likert>

<text questionnaireTIC>
/ items = questionnaireTIC
/ size = (1000,100)
/ position = (50, 40)
/ halign = center
/ select = sequence
</text>

<block questionnaireTIC>
/ preinstructions = (questionnaireTIC)
/ trials = [1-3=questionnaireTIC]
</block>


I have used the search function in the available tasks and the discussion forum, but nothing comes up that I can use. Maybe someone remembers a topic with the same question or which task in the demos can help me out? 




See the reply in your other thread:

https://www.millisecond.com/forums/FindPost26740.aspx

GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search