By beccaccp - 6/22/2021
<text textquestions>
/size = (500, 70)
/items = ("How positive do you feel?", "How negative do you feel?")
/position = (50, 50)
/halign = center
/ select = noreplace
</text>
<shape erasescreen>
/color= (255,255,255)
/size = (100%, 100%)
</shape>
<likert liker1> / stimulusframes = [1=fixation; 200= negpic; 800=erasescreen 850=textquestions;] / anchors = [1="Not at all", 2= "2", 3 = "3", 4 = "4", 5="5", 6= "6", 7= "Extremely"] / position = (50,90) / numpoints = 7 / mouse = true
</likert>
when I run just this element it only ever shows one likert question and ends--is there a way for it to ask both questions after the stimulus picture?
|
By Dave - 6/22/2021
+x<text textquestions> /size = (500, 70) /items = ("How positive do you feel?", "How negative do you feel?") /position = (50, 50) /halign = center / select = noreplace </text> <shape erasescreen> /color= (255,255,255) /size = (100%, 100%) </shape> <likert liker1> / stimulusframes = [1=fixation; 200= negpic; 800=erasescreen 850=textquestions;] / anchors = [1="Not at all", 2= "2", 3 = "3", 4 = "4", 5="5", 6= "6", 7= "Extremely"] / position = (50,90) / numpoints = 7 / mouse = true </likert> when I run just this element it only ever shows one likert question and ends--is there a way for it to ask both questions after the stimulus picture? The code is not runnable at all. Please provide something that actually runs, otherwise it's not possible to answer your question, since the snippet does not make clear what you are actually doing
|
By beccaccp - 6/22/2021
+x+x<text textquestions> /size = (500, 70) /items = ("How positive do you feel?", "How negative do you feel?") /position = (50, 50) /halign = center / select = noreplace </text> <shape erasescreen> /color= (255,255,255) /size = (100%, 100%) </shape> <likert liker1> / stimulusframes = [1=fixation; 200= negpic; 800=erasescreen 850=textquestions;] / anchors = [1="Not at all", 2= "2", 3 = "3", 4 = "4", 5="5", 6= "6", 7= "Extremely"] / position = (50,90) / numpoints = 7 / mouse = true </likert> when I run just this element it only ever shows one likert question and ends--is there a way for it to ask both questions after the stimulus picture? The code is not runnable at all. Please provide something that actually runs, otherwise it's not possible to answer your question, since the snippet does not make clear what you are actually doing here is the rest of the code--i havent created the blocks yet because I was just trying to get the stimulus and two likert scales work first. when i right click on the likert element and click run element this code does work. It just only asks one likert question and not both.
I am trying to create an experiement that randomly shows negative or neutral pictures with a cue before telling them to watch it passively "passive", minimizing their negative emotions "minimize", or positively reappraise the image "positivise". In the first two blocks they will be asked passive and minimize only and the second 2 blocks they will be asked passive and positivise only but i hadnt gotten that far in the code. Right now it shows fixation cross, passive cue, and then asks either how positive or negative they feel but not both. Originally I created a trial with cross, cue, stim and was going to ask the likert questions after but then I realized I could put the stimuli within the likert element.
<text textquestions>
/size = (500, 70)
/items = ("How positive do you feel?", "How negative do you feel?")
/position = (50, 50)
/halign = center
/ select = noreplace
</text>
<shape erasescreen>
/color= (255,255,255)
/size = (100%, 100%)
</shape>
<likert liker1> / stimulusframes = [1=fixation; 200= negpic; 800=clearscreen; 850=textquestions;] / anchors = [1="Not at all", 2= "2", 3 = "3", 4 = "4", 5="5", 6= "6", 7= "Extremely"] / position = (50,90) / numpoints = 7 / mouse = true
</likert>
<page intro1> ^Pictures will show up on the screen and your task is to either view them naturally as if you were watching a movie at home, or view them in a more positive light (positivize), or try and minimize negative feelings (minimize) ^^On each trial, the fixation point will appear, followed by a picture, and then a ratings screen to report how the picture made you feel. </page>
<page finish> ^^Thank you for participating. The demo is now finished. </page>
<text passiveview> /items = ("Passive")
</text> <text minimizingview> /items = ("Minimize")
</text> <text positivize> /items = ("Positivize")
</text>
<picture negpic > /items = negpic /size = (50%, 50%) </picture>
<picture neutralpic > /items = neutralpic /size = (50%, 50%) </picture> <item passiveinstructions> /1 ="just watch"
</item>
<text fixation> / items = ("+") / color = (255, 255, 255) / txbgcolor = (0,0,0) / fontstyle = ("Arial", 30pt) / erase = false </text>
<text spacebar> / items = ("Press the SPACE BAR to begin.") / position = (50%, 95%) / valign = bottom / fontstyle = ("Arial", 3.5%) </text>
<item negpic> /1 = "IAPS1\IAPS2\1050.jpg" /2 = "IAPS1\IAPS2\1945.jpg" /3 = "IAPS1\IAPS2\3005.1.jpg" /4 = "IAPS1\IAPS2\1111.jpg" /5 = "IAPS1\IAPS2\1930.jpg" /6 = "IAPS1\IAPS2\2095.jpg" /7 = "IAPS1\IAPS2\2110.jpg" /8 = "IAPS1\IAPS2\2750.jpg" /9= "IAPS1\IAPS2\2276.jpg" /10 = "IAPS1\IAPS2\2900.jpg"
</item> <picture targetneg> / items = negpic / position = (50%, 50%) </picture>
<picture targetneutral> / items = neutralpic / position = (50%, 50%) </picture>
<item neutralpic> /1 = "IAPS1\IAPS2\7002.jpg" /2 = "IAPS1\IAPS2\7004.jpg" /3 = "IAPS1\IAPS2\7009.jpg" /4 = "IAPS1\IAPS2\7036.jpg" /5 = "IAPS1\IAPS2\7038.jpg" /6 = "IAPS1\IAPS2\7041.jpg" /7 = "IAPS1\IAPS2\7705.jpg" /8 = "IAPS1\IAPS2\7493.jpg" /9 = "IAPS1\IAPS2\7050.jpg" /10 = "IAPS1\IAPS2\7052.jpg" /11 = "IAPS1\IAPS2\7057.jpg" /12 = "IAPS1\IAPS2\7058.jpg" /13 = "IAPS1\IAPS2\7090.jpg" /14 = "IAPS1\IAPS2\7100.jpg" /15 = "IAPS1\IAPS2\7236.jpg" /16 = "IAPS1\IAPS2\7235.jpg"
</item> <instruct> / nextlabel = "Continue" / lastlabel = "Continue" / prevkey = (0) / inputdevice = mouse / windowsize = (90%, 90%) / screencolor = (0,0,0) / fontstyle = ("Arial", 3%) / txcolor = (255, 255, 255) </instruct>
|
By beccaccp - 6/22/2021
This is the other option I tried which I have the same issue only showing one likert question istead of for both: <text textquestions>
/size = (500, 70)
/items = ("How positive do you feel?", "How negative do you feel?")
/position = (50, 50)
/halign = center
/ select = noreplace
</text>
<shape erasescreen>
/color= (255,255,255)
/size = (100%, 100%)
</shape>
<page intro1> ^Pictures will show up on the screen and your task is to either view them naturally as if you were watching a movie at home, or view them in a more positive light (positivize), or try and minimize negative feelings (minimize) ^^On each trial, the fixation point will appear, followed by a picture, and then a ratings screen to report how the picture made you feel. </page>
<page finish> ^^Thank you for participating. The demo is now finished. </page>
<text passiveview> /items = ("Passive")
</text> <text minimizingview> /items = ("Minimize")
</text> <text positivize> /items = ("Positivize")
</text>
<picture negpic > /items = negpic /size = (50%, 50%) </picture>
<picture neutralpic > /items = neutralpic /size = (50%, 50%) </picture> <item passiveinstructions> /1 ="just watch"
</item>
<text instructions> / items = passiveinstructions / hjustify = left / size = (90%, 60%) / position = (50%, 85%) / valign = bottom / select = instructions / fontstyle = ("Arial", 3.5%) </text>
<text fixation> / items = ("+") / color = (255, 255, 255) / txbgcolor = (0,0,0) / fontstyle = ("Arial", 30pt) / erase = false </text>
<text spacebar> / items = ("Press the SPACE BAR to begin.") / position = (50%, 95%) / valign = bottom / fontstyle = ("Arial", 3.5%) </text>
<item negpic> /1 = "IAPS1\IAPS2\1050.jpg" /2 = "IAPS1\IAPS2\1945.jpg" /3 = "IAPS1\IAPS2\3005.1.jpg" /4 = "IAPS1\IAPS2\1111.jpg" /5 = "IAPS1\IAPS2\1930.jpg" /6 = "IAPS1\IAPS2\2095.jpg" /7 = "IAPS1\IAPS2\2110.jpg" /8 = "IAPS1\IAPS2\2750.jpg" /9= "IAPS1\IAPS2\2276.jpg" /10 = "IAPS1\IAPS2\2900.jpg"
</item> <picture targetneg> / items = negpic / position = (50%, 50%) </picture>
<picture targetneutral> / items = neutralpic / position = (50%, 50%) </picture>
<item neutralpic> /1 = "IAPS1\IAPS2\7002.jpg" /2 = "IAPS1\IAPS2\7004.jpg" /3 = "IAPS1\IAPS2\7009.jpg" /4 = "IAPS1\IAPS2\7036.jpg" /5 = "IAPS1\IAPS2\7038.jpg" /6 = "IAPS1\IAPS2\7041.jpg" /7 = "IAPS1\IAPS2\7705.jpg" /8 = "IAPS1\IAPS2\7493.jpg" /9 = "IAPS1\IAPS2\7050.jpg" /10 = "IAPS1\IAPS2\7052.jpg" /11 = "IAPS1\IAPS2\7057.jpg" /12 = "IAPS1\IAPS2\7058.jpg" /13 = "IAPS1\IAPS2\7090.jpg" /14 = "IAPS1\IAPS2\7100.jpg" /15 = "IAPS1\IAPS2\7236.jpg" /16 = "IAPS1\IAPS2\7235.jpg"
</item> <instruct> / nextlabel = "Continue" / lastlabel = "Continue" / prevkey = (0) / inputdevice = mouse / windowsize = (90%, 90%) / screencolor = (0,0,0) / fontstyle = ("Arial", 3%) / txcolor = (255, 255, 255) </instruct>
<likert valance> / anchors = [1="1", 2="2", 3="3", 4="4", 5="5"] / mouse = true / stimulusframes = [1=noreplace(text.textquestions)] / position = (50,90)
</likert>
<trial passiveview> / stimulusframes = [1=fixation; 200= passiveview; 400=negpic;1200=erasescreen] / posttrialpause = 300 / response = noresponse
</trial>
<block one> / trials = [1,3,5 = passiveview; 2,4,6=likert.valance]
</block>
|
By Dave - 6/22/2021
+xThis is the other option I tried which I have the same issue only showing one likert question istead of for both: <text textquestions> /size = (500, 70) /items = ("How positive do you feel?", "How negative do you feel?") /position = (50, 50) /halign = center / select = noreplace </text> <shape erasescreen> /color= (255,255,255) /size = (100%, 100%) </shape> <page intro1> ^Pictures will show up on the screen and your task is to either view them naturally as if you were watching a movie at home, or view them in a more positive light (positivize), or try and minimize negative feelings (minimize) ^^On each trial, the fixation point will appear, followed by a picture, and then a ratings screen to report how the picture made you feel. </page> <page finish> ^^Thank you for participating. The demo is now finished. </page> <text passiveview> /items = ("Passive") </text> <text minimizingview> /items = ("Minimize") </text> <text positivize> /items = ("Positivize") </text> <picture negpic > /items = negpic /size = (50%, 50%) </picture> <picture neutralpic > /items = neutralpic /size = (50%, 50%) </picture> <item passiveinstructions> /1 ="just watch" </item> <text instructions> / items = passiveinstructions / hjustify = left / size = (90%, 60%) / position = (50%, 85%) / valign = bottom / select = instructions / fontstyle = ("Arial", 3.5%) </text> <text fixation> / items = ("+") / color = (255, 255, 255) / txbgcolor = (0,0,0) / fontstyle = ("Arial", 30pt) / erase = false </text> <text spacebar> / items = ("Press the SPACE BAR to begin.") / position = (50%, 95%) / valign = bottom / fontstyle = ("Arial", 3.5%) </text> <item negpic> /1 = "IAPS1\IAPS2\1050.jpg" /2 = "IAPS1\IAPS2\1945.jpg" /3 = "IAPS1\IAPS2\3005.1.jpg" /4 = "IAPS1\IAPS2\1111.jpg" /5 = "IAPS1\IAPS2\1930.jpg" /6 = "IAPS1\IAPS2\2095.jpg" /7 = "IAPS1\IAPS2\2110.jpg" /8 = "IAPS1\IAPS2\2750.jpg" /9= "IAPS1\IAPS2\2276.jpg" /10 = "IAPS1\IAPS2\2900.jpg" </item> <picture targetneg> / items = negpic / position = (50%, 50%) </picture> <picture targetneutral> / items = neutralpic / position = (50%, 50%) </picture> <item neutralpic> /1 = "IAPS1\IAPS2\7002.jpg" /2 = "IAPS1\IAPS2\7004.jpg" /3 = "IAPS1\IAPS2\7009.jpg" /4 = "IAPS1\IAPS2\7036.jpg" /5 = "IAPS1\IAPS2\7038.jpg" /6 = "IAPS1\IAPS2\7041.jpg" /7 = "IAPS1\IAPS2\7705.jpg" /8 = "IAPS1\IAPS2\7493.jpg" /9 = "IAPS1\IAPS2\7050.jpg" /10 = "IAPS1\IAPS2\7052.jpg" /11 = "IAPS1\IAPS2\7057.jpg" /12 = "IAPS1\IAPS2\7058.jpg" /13 = "IAPS1\IAPS2\7090.jpg" /14 = "IAPS1\IAPS2\7100.jpg" /15 = "IAPS1\IAPS2\7236.jpg" /16 = "IAPS1\IAPS2\7235.jpg" </item> <instruct> / nextlabel = "Continue" / lastlabel = "Continue" / prevkey = (0) / inputdevice = mouse / windowsize = (90%, 90%) / screencolor = (0,0,0) / fontstyle = ("Arial", 3%) / txcolor = (255, 255, 255) </instruct> <likert valance> / anchors = [1="1", 2="2", 3="3", 4="4", 5="5"] / mouse = true / stimulusframes = [1=noreplace(text.textquestions)] / position = (50,90) </likert> <trial passiveview> / stimulusframes = [1=fixation; 200= passiveview; 400=negpic;1200=erasescreen] / posttrialpause = 300 / response = noresponse </trial> <block one> / trials = [1,3,5 = passiveview; 2,4,6=likert.valance] </block> <block one> / trials = [1,3,5 = passiveview; 2,4,6=likert.valance] </block>
Well, you're only running only *one* instance of the likert after each passiveview trial, not two. Of course, then, it's not displaying both questions.
|
By beccaccp - 6/22/2021
+x+xThis is the other option I tried which I have the same issue only showing one likert question istead of for both: <text textquestions> /size = (500, 70) /items = ("How positive do you feel?", "How negative do you feel?") /position = (50, 50) /halign = center / select = noreplace </text> <shape erasescreen> /color= (255,255,255) /size = (100%, 100%) </shape> <page intro1> ^Pictures will show up on the screen and your task is to either view them naturally as if you were watching a movie at home, or view them in a more positive light (positivize), or try and minimize negative feelings (minimize) ^^On each trial, the fixation point will appear, followed by a picture, and then a ratings screen to report how the picture made you feel. </page> <page finish> ^^Thank you for participating. The demo is now finished. </page> <text passiveview> /items = ("Passive") </text> <text minimizingview> /items = ("Minimize") </text> <text positivize> /items = ("Positivize") </text> <picture negpic > /items = negpic /size = (50%, 50%) </picture> <picture neutralpic > /items = neutralpic /size = (50%, 50%) </picture> <item passiveinstructions> /1 ="just watch" </item> <text instructions> / items = passiveinstructions / hjustify = left / size = (90%, 60%) / position = (50%, 85%) / valign = bottom / select = instructions / fontstyle = ("Arial", 3.5%) </text> <text fixation> / items = ("+") / color = (255, 255, 255) / txbgcolor = (0,0,0) / fontstyle = ("Arial", 30pt) / erase = false </text> <text spacebar> / items = ("Press the SPACE BAR to begin.") / position = (50%, 95%) / valign = bottom / fontstyle = ("Arial", 3.5%) </text> <item negpic> /1 = "IAPS1\IAPS2\1050.jpg" /2 = "IAPS1\IAPS2\1945.jpg" /3 = "IAPS1\IAPS2\3005.1.jpg" /4 = "IAPS1\IAPS2\1111.jpg" /5 = "IAPS1\IAPS2\1930.jpg" /6 = "IAPS1\IAPS2\2095.jpg" /7 = "IAPS1\IAPS2\2110.jpg" /8 = "IAPS1\IAPS2\2750.jpg" /9= "IAPS1\IAPS2\2276.jpg" /10 = "IAPS1\IAPS2\2900.jpg" </item> <picture targetneg> / items = negpic / position = (50%, 50%) </picture> <picture targetneutral> / items = neutralpic / position = (50%, 50%) </picture> <item neutralpic> /1 = "IAPS1\IAPS2\7002.jpg" /2 = "IAPS1\IAPS2\7004.jpg" /3 = "IAPS1\IAPS2\7009.jpg" /4 = "IAPS1\IAPS2\7036.jpg" /5 = "IAPS1\IAPS2\7038.jpg" /6 = "IAPS1\IAPS2\7041.jpg" /7 = "IAPS1\IAPS2\7705.jpg" /8 = "IAPS1\IAPS2\7493.jpg" /9 = "IAPS1\IAPS2\7050.jpg" /10 = "IAPS1\IAPS2\7052.jpg" /11 = "IAPS1\IAPS2\7057.jpg" /12 = "IAPS1\IAPS2\7058.jpg" /13 = "IAPS1\IAPS2\7090.jpg" /14 = "IAPS1\IAPS2\7100.jpg" /15 = "IAPS1\IAPS2\7236.jpg" /16 = "IAPS1\IAPS2\7235.jpg" </item> <instruct> / nextlabel = "Continue" / lastlabel = "Continue" / prevkey = (0) / inputdevice = mouse / windowsize = (90%, 90%) / screencolor = (0,0,0) / fontstyle = ("Arial", 3%) / txcolor = (255, 255, 255) </instruct> <likert valance> / anchors = [1="1", 2="2", 3="3", 4="4", 5="5"] / mouse = true / stimulusframes = [1=noreplace(text.textquestions)] / position = (50,90) </likert> <trial passiveview> / stimulusframes = [1=fixation; 200= passiveview; 400=negpic;1200=erasescreen] / posttrialpause = 300 / response = noresponse </trial> <block one> / trials = [1,3,5 = passiveview; 2,4,6=likert.valance] </block> <block one> / trials = [1,3,5 = passiveview; 2,4,6=likert.valance] </block> Well, you're only running only *one* instance of the likert after each passiveview trial, not two. Of course, then, it's not displaying both questions. OH how dumb coding can make you feel--for some reason I thought it would do the likert for both questions in textinstructions. first time user here.
Now if I want to have it present 8 minimizing view of negative pictures (minimizingview trial), 4 neutral trials, and 4 passiveview trials in each block how would I randomize that and still have the likerts following each stimulus? I know I could write it out from another forum post as this if i didnt have the likert scales <block one> / trials = noreplacenorepeat[1-16 = passiveview, passiveview, passiveview, passiveview, neutral, neutral, neutral, neutral, minimize, minimize, minimize, minimize, minimize, minimize, minimize, minimize] <block > to solve the different number of each type but I dont know how to do this with the two likert scales following each one
Here is my actual code below:
<list textquestions> /items = ("How positive do you feel?", "How negative do you feel?") / selectionmode = 0 </list>
<text textquestions> /size = (500, 70) /items = ("How positive do you feel?", "How negative do you feel?") /position = (50, 50) /halign = center / select = noreplace </text>
<shape erasescreen> /color= (255,255,255) /size = (100%, 100%) </shape>
<page intro1> ^Pictures will show up on the screen and your task is to either view them naturally as if you were watching a movie at home, or view them in a more positive light (positivize), or try and minimize negative feelings (minimize) ^^On each trial, the fixation point will appear, followed by a picture, and then a ratings screen to report how the picture made you feel. </page>
<page finish> ^^Thank you for participating. The demo is now finished. </page>
<text passiveview> /items = ("Passive")
</text> <text minimizingview> /items = ("Minimize")
</text> <text positivize> /items = ("Positivize")
</text>
<picture negpic > /items = negpic /size = (50%, 50%) </picture>
<picture neutralpic > /items = neutralpic /size = (50%, 50%) </picture> <item passiveinstructions> /1 ="just watch"
</item>
<text instructions> / items = passiveinstructions / hjustify = left / size = (90%, 60%) / position = (50%, 85%) / valign = bottom / select = instructions / fontstyle = ("Arial", 3.5%) </text>
<text fixation> / items = ("+") / color = (255, 255, 255) / txbgcolor = (0,0,0) / fontstyle = ("Arial", 30pt) / erase = false </text>
<text spacebar> / items = ("Press the SPACE BAR to begin.") / position = (50%, 95%) / valign = bottom / fontstyle = ("Arial", 3.5%) </text>
<item negpic> /1 = "IAPS1\IAPS2\1050.jpg" /2 = "IAPS1\IAPS2\1945.jpg" /3 = "IAPS1\IAPS2\3005.1.jpg" /4 = "IAPS1\IAPS2\1111.jpg" /5 = "IAPS1\IAPS2\1930.jpg" /6 = "IAPS1\IAPS2\2095.jpg" /7 = "IAPS1\IAPS2\2110.jpg" /8 = "IAPS1\IAPS2\2750.jpg" /9= "IAPS1\IAPS2\2276.jpg" /10 = "IAPS1\IAPS2\2900.jpg"
</item> <picture targetneg> / items = negpic / position = (50%, 50%) </picture>
<picture targetneutral> / items = neutralpic / position = (50%, 50%) </picture>
<item neutralpic> /1 = "IAPS1\IAPS2\7002.jpg" /2 = "IAPS1\IAPS2\7004.jpg" /3 = "IAPS1\IAPS2\7009.jpg" /4 = "IAPS1\IAPS2\7036.jpg" /5 = "IAPS1\IAPS2\7038.jpg" /6 = "IAPS1\IAPS2\7041.jpg" /7 = "IAPS1\IAPS2\7705.jpg" /8 = "IAPS1\IAPS2\7493.jpg" /9 = "IAPS1\IAPS2\7050.jpg" /10 = "IAPS1\IAPS2\7052.jpg" /11 = "IAPS1\IAPS2\7057.jpg" /12 = "IAPS1\IAPS2\7058.jpg" /13 = "IAPS1\IAPS2\7090.jpg" /14 = "IAPS1\IAPS2\7100.jpg" /15 = "IAPS1\IAPS2\7236.jpg" /16 = "IAPS1\IAPS2\7235.jpg" /17 = "Downloads\IAPS\3280.jpg" /18 = "Downloads\IAPS\3350.jpg" /19 = "Downloads\IAPS\6540.jpg" /20 = "Downloads\IAPS\6212.jpg" /21 = "Downloads\IAPS\6370.jpg" /22 = "Downloads\IAPS\6415.jpg" /23 = "Downloads\IAPS\7361.jpg" /24 = "Downloads\IAPS\6838.jpg" /25 = "Downloads\IAPS\7359.jpg" /26 = "Downloads\IAPS\9001.jpg" /27 = "Downloads\IAPS\9040.jpg" /28 = "Downloads\IAPS\9042.jpg" /29 = "Downloads\IAPS\9180.jpg" /30 = "Downloads\IAPS\9252.jpg" /31 = "Downloads\IAPS\9341.jpg" /32 = "Downloads\IAPS\9220.jpg" /33 = "Downloads\IAPS\9300.jpg" /34 = "Downloads\IAPS\9320.jpg" /35 = "Downloads\IAPS\9373.jpg" /36 = "Downloads\IAPS\9102.jpg" /37 = "Downloads\IAPS\9417.jpg" /38 = "Downloads\IAPS\9421.jpg" /39 = "Downloads\IAPS\9041.jpg" /40 = "Downloads\IAPS\9415.jpg" /41 = "Downloads\IAPS\9561.jpg" /42 = "Downloads\IAPS\9570.jpg" /43 = "Downloads\IAPS\9592.jpg" /44 = "Downloads\IAPS\9530.jpg" /45 = "Downloads\IAPS\9621.jpg" /46 = "Downloads\IAPS\9008.jpg" /47 = "Downloads\IAPS\9911.jpg" /48 = "Downloads\IAPS\9800.jpg" </item> <instruct> / nextlabel = "Continue" / lastlabel = "Continue" / prevkey = (0) / inputdevice = mouse / windowsize = (90%, 90%) / screencolor = (0,0,0) / fontstyle = ("Arial", 3%) / txcolor = (255, 255, 255) </instruct>
<likert valance> / anchors = [1="1", 2="2", 3="3", 4="4", 5="5"] / mouse = true / stimulusframes = [1= textquestions] / position = (50,90) </likert>
<trial passiveview> / stimulusframes = [1=fixation; 200= passiveview;201=erasescreen, 400=negpic;1200=erasescreen] / posttrialpause = 300 / response = noresponse
</trial> <trial minimizeview> / stimulusframes = [1=fixation; 200=erasescreen;201=text.minimizingview; 400=negpic; 1200=erasescreen] / response = noresponse / posttrialpause = 300 </trial>
<trial neutral > / stimulusframes = [1=fixation; 200=erasescreen;201=passiveview;400=neutralpic;1200=erasescreen;] / response = noresponse / posttrialpause = 300 </trial>
<block one> / trials = [1,4,7,10,13,16,19,22, 25,28,31, 34, 37, 40,43,46= noreplacenorepeat(passiveview, neutral, trial.minimizeview); 2,3,5,6,8,9,11,12,17,18,20,21, 26,27, 29,30,32,33,35,36, 38,39,41,42,44,45, 47,48 =likert.valance] </block>
|
By Dave - 6/22/2021
+x+x+xThis is the other option I tried which I have the same issue only showing one likert question istead of for both: <text textquestions> /size = (500, 70) /items = ("How positive do you feel?", "How negative do you feel?") /position = (50, 50) /halign = center / select = noreplace </text> <shape erasescreen> /color= (255,255,255) /size = (100%, 100%) </shape> <page intro1> ^Pictures will show up on the screen and your task is to either view them naturally as if you were watching a movie at home, or view them in a more positive light (positivize), or try and minimize negative feelings (minimize) ^^On each trial, the fixation point will appear, followed by a picture, and then a ratings screen to report how the picture made you feel. </page> <page finish> ^^Thank you for participating. The demo is now finished. </page> <text passiveview> /items = ("Passive") </text> <text minimizingview> /items = ("Minimize") </text> <text positivize> /items = ("Positivize") </text> <picture negpic > /items = negpic /size = (50%, 50%) </picture> <picture neutralpic > /items = neutralpic /size = (50%, 50%) </picture> <item passiveinstructions> /1 ="just watch" </item> <text instructions> / items = passiveinstructions / hjustify = left / size = (90%, 60%) / position = (50%, 85%) / valign = bottom / select = instructions / fontstyle = ("Arial", 3.5%) </text> <text fixation> / items = ("+") / color = (255, 255, 255) / txbgcolor = (0,0,0) / fontstyle = ("Arial", 30pt) / erase = false </text> <text spacebar> / items = ("Press the SPACE BAR to begin.") / position = (50%, 95%) / valign = bottom / fontstyle = ("Arial", 3.5%) </text> <item negpic> /1 = "IAPS1\IAPS2\1050.jpg" /2 = "IAPS1\IAPS2\1945.jpg" /3 = "IAPS1\IAPS2\3005.1.jpg" /4 = "IAPS1\IAPS2\1111.jpg" /5 = "IAPS1\IAPS2\1930.jpg" /6 = "IAPS1\IAPS2\2095.jpg" /7 = "IAPS1\IAPS2\2110.jpg" /8 = "IAPS1\IAPS2\2750.jpg" /9= "IAPS1\IAPS2\2276.jpg" /10 = "IAPS1\IAPS2\2900.jpg" </item> <picture targetneg> / items = negpic / position = (50%, 50%) </picture> <picture targetneutral> / items = neutralpic / position = (50%, 50%) </picture> <item neutralpic> /1 = "IAPS1\IAPS2\7002.jpg" /2 = "IAPS1\IAPS2\7004.jpg" /3 = "IAPS1\IAPS2\7009.jpg" /4 = "IAPS1\IAPS2\7036.jpg" /5 = "IAPS1\IAPS2\7038.jpg" /6 = "IAPS1\IAPS2\7041.jpg" /7 = "IAPS1\IAPS2\7705.jpg" /8 = "IAPS1\IAPS2\7493.jpg" /9 = "IAPS1\IAPS2\7050.jpg" /10 = "IAPS1\IAPS2\7052.jpg" /11 = "IAPS1\IAPS2\7057.jpg" /12 = "IAPS1\IAPS2\7058.jpg" /13 = "IAPS1\IAPS2\7090.jpg" /14 = "IAPS1\IAPS2\7100.jpg" /15 = "IAPS1\IAPS2\7236.jpg" /16 = "IAPS1\IAPS2\7235.jpg" </item> <instruct> / nextlabel = "Continue" / lastlabel = "Continue" / prevkey = (0) / inputdevice = mouse / windowsize = (90%, 90%) / screencolor = (0,0,0) / fontstyle = ("Arial", 3%) / txcolor = (255, 255, 255) </instruct> <likert valance> / anchors = [1="1", 2="2", 3="3", 4="4", 5="5"] / mouse = true / stimulusframes = [1=noreplace(text.textquestions)] / position = (50,90) </likert> <trial passiveview> / stimulusframes = [1=fixation; 200= passiveview; 400=negpic;1200=erasescreen] / posttrialpause = 300 / response = noresponse </trial> <block one> / trials = [1,3,5 = passiveview; 2,4,6=likert.valance] </block> <block one> / trials = [1,3,5 = passiveview; 2,4,6=likert.valance] </block> Well, you're only running only *one* instance of the likert after each passiveview trial, not two. Of course, then, it's not displaying both questions. OH how dumb coding can make you feel--for some reason I thought it would do the likert for both questions in textinstructions. first time user here. Now if I want to have it present 8 minimizing view of negative pictures (minimizingview trial), 4 neutral trials, and 4 passiveview trials in each block how would I randomize that and still have the likerts following each stimulus? I know I could write it out from another forum post as this if i didnt have the likert scales <block one> / trials = noreplacenorepeat[1-16 = passiveview, passiveview, passiveview, passiveview, neutral, neutral, neutral, neutral, minimize, minimize, minimize, minimize, minimize, minimize, minimize, minimize] <block > to solve the different number of each type but I dont know how to do this with the two likert scales following each one Here is my actual code below: <list textquestions> /items = ("How positive do you feel?", "How negative do you feel?") / selectionmode = 0 </list> <text textquestions> /size = (500, 70) /items = ("How positive do you feel?", "How negative do you feel?") /position = (50, 50) /halign = center / select = noreplace </text> <shape erasescreen> /color= (255,255,255) /size = (100%, 100%) </shape> <page intro1> ^Pictures will show up on the screen and your task is to either view them naturally as if you were watching a movie at home, or view them in a more positive light (positivize), or try and minimize negative feelings (minimize) ^^On each trial, the fixation point will appear, followed by a picture, and then a ratings screen to report how the picture made you feel. </page> <page finish> ^^Thank you for participating. The demo is now finished. </page> <text passiveview> /items = ("Passive") </text> <text minimizingview> /items = ("Minimize") </text> <text positivize> /items = ("Positivize") </text> <picture negpic > /items = negpic /size = (50%, 50%) </picture> <picture neutralpic > /items = neutralpic /size = (50%, 50%) </picture> <item passiveinstructions> /1 ="just watch" </item> <text instructions> / items = passiveinstructions / hjustify = left / size = (90%, 60%) / position = (50%, 85%) / valign = bottom / select = instructions / fontstyle = ("Arial", 3.5%) </text> <text fixation> / items = ("+") / color = (255, 255, 255) / txbgcolor = (0,0,0) / fontstyle = ("Arial", 30pt) / erase = false </text> <text spacebar> / items = ("Press the SPACE BAR to begin.") / position = (50%, 95%) / valign = bottom / fontstyle = ("Arial", 3.5%) </text> <item negpic> /1 = "IAPS1\IAPS2\1050.jpg" /2 = "IAPS1\IAPS2\1945.jpg" /3 = "IAPS1\IAPS2\3005.1.jpg" /4 = "IAPS1\IAPS2\1111.jpg" /5 = "IAPS1\IAPS2\1930.jpg" /6 = "IAPS1\IAPS2\2095.jpg" /7 = "IAPS1\IAPS2\2110.jpg" /8 = "IAPS1\IAPS2\2750.jpg" /9= "IAPS1\IAPS2\2276.jpg" /10 = "IAPS1\IAPS2\2900.jpg" </item> <picture targetneg> / items = negpic / position = (50%, 50%) </picture> <picture targetneutral> / items = neutralpic / position = (50%, 50%) </picture> <item neutralpic> /1 = "IAPS1\IAPS2\7002.jpg" /2 = "IAPS1\IAPS2\7004.jpg" /3 = "IAPS1\IAPS2\7009.jpg" /4 = "IAPS1\IAPS2\7036.jpg" /5 = "IAPS1\IAPS2\7038.jpg" /6 = "IAPS1\IAPS2\7041.jpg" /7 = "IAPS1\IAPS2\7705.jpg" /8 = "IAPS1\IAPS2\7493.jpg" /9 = "IAPS1\IAPS2\7050.jpg" /10 = "IAPS1\IAPS2\7052.jpg" /11 = "IAPS1\IAPS2\7057.jpg" /12 = "IAPS1\IAPS2\7058.jpg" /13 = "IAPS1\IAPS2\7090.jpg" /14 = "IAPS1\IAPS2\7100.jpg" /15 = "IAPS1\IAPS2\7236.jpg" /16 = "IAPS1\IAPS2\7235.jpg" /17 = "Downloads\IAPS\3280.jpg" /18 = "Downloads\IAPS\3350.jpg" /19 = "Downloads\IAPS\6540.jpg" /20 = "Downloads\IAPS\6212.jpg" /21 = "Downloads\IAPS\6370.jpg" /22 = "Downloads\IAPS\6415.jpg" /23 = "Downloads\IAPS\7361.jpg" /24 = "Downloads\IAPS\6838.jpg" /25 = "Downloads\IAPS\7359.jpg" /26 = "Downloads\IAPS\9001.jpg" /27 = "Downloads\IAPS\9040.jpg" /28 = "Downloads\IAPS\9042.jpg" /29 = "Downloads\IAPS\9180.jpg" /30 = "Downloads\IAPS\9252.jpg" /31 = "Downloads\IAPS\9341.jpg" /32 = "Downloads\IAPS\9220.jpg" /33 = "Downloads\IAPS\9300.jpg" /34 = "Downloads\IAPS\9320.jpg" /35 = "Downloads\IAPS\9373.jpg" /36 = "Downloads\IAPS\9102.jpg" /37 = "Downloads\IAPS\9417.jpg" /38 = "Downloads\IAPS\9421.jpg" /39 = "Downloads\IAPS\9041.jpg" /40 = "Downloads\IAPS\9415.jpg" /41 = "Downloads\IAPS\9561.jpg" /42 = "Downloads\IAPS\9570.jpg" /43 = "Downloads\IAPS\9592.jpg" /44 = "Downloads\IAPS\9530.jpg" /45 = "Downloads\IAPS\9621.jpg" /46 = "Downloads\IAPS\9008.jpg" /47 = "Downloads\IAPS\9911.jpg" /48 = "Downloads\IAPS\9800.jpg" </item> <instruct> / nextlabel = "Continue" / lastlabel = "Continue" / prevkey = (0) / inputdevice = mouse / windowsize = (90%, 90%) / screencolor = (0,0,0) / fontstyle = ("Arial", 3%) / txcolor = (255, 255, 255) </instruct> <likert valance> / anchors = [1="1", 2="2", 3="3", 4="4", 5="5"] / mouse = true / stimulusframes = [1= textquestions] / position = (50,90) </likert> <trial passiveview> / stimulusframes = [1=fixation; 200= passiveview;201=erasescreen, 400=negpic;1200=erasescreen] / posttrialpause = 300 / response = noresponse </trial> <trial minimizeview> / stimulusframes = [1=fixation; 200=erasescreen;201=text.minimizingview; 400=negpic; 1200=erasescreen] / response = noresponse / posttrialpause = 300 </trial> <trial neutral > / stimulusframes = [1=fixation; 200=erasescreen;201=passiveview;400=neutralpic;1200=erasescreen;] / response = noresponse / posttrialpause = 300 </trial> <block one> / trials = [1,4,7,10,13,16,19,22, 25,28,31, 34, 37, 40,43,46= noreplacenorepeat(passiveview, neutral, trial.minimizeview); 2,3,5,6,8,9,11,12,17,18,20,21, 26,27, 29,30,32,33,35,36, 38,39,41,42,44,45, 47,48 =likert.valance] </block> If I were you, I'd do something like this:
<text textquestion1> /size = (500, 70) /items = ("How positive do you feel?") /position = (50, 50) / halign = center </text>
<text textquestion2> /size = (500, 70) /items = ("How negative do you feel?") /position = (50, 50) / halign = center </text>
<shape erasescreen> /color= (255,255,255) /size = (100%, 100%) </shape>
<page intro1> ^Pictures will show up on the screen and your task is to either view them naturally as if you were watching a movie at home, or view them in a more positive light (positivize), or try and minimize negative feelings (minimize) ^^On each trial, the fixation point will appear, followed by a picture, and then a ratings screen to report how the picture made you feel. </page>
<page finish> ^^Thank you for participating. The demo is now finished. </page>
<text passiveview> /items = ("Passive") </text>
<text minimizingview> /items = ("Minimize") </text>
<text positivize> /items = ("Positivize") </text>
<picture negpic > /items = negpic /size = (50%, 50%) </picture>
<picture neutralpic > /items = neutralpic /size = (50%, 50%) </picture>
<item passiveinstructions> /1 ="just watch"
</item>
<text instructions> / items = passiveinstructions / hjustify = left / size = (90%, 60%) / position = (50%, 85%) / valign = bottom / select = instructions / fontstyle = ("Arial", 3.5%) </text>
<text fixation> / items = ("+") / color = (255, 255, 255) / txbgcolor = (0,0,0) / fontstyle = ("Arial", 30pt) / erase = false </text>
<text spacebar> / items = ("Press the SPACE BAR to begin.") / position = (50%, 95%) / valign = bottom / fontstyle = ("Arial", 3.5%) </text>
<item negpic> /1 = "IAPS1\IAPS2\1050.jpg" /2 = "IAPS1\IAPS2\1945.jpg" /3 = "IAPS1\IAPS2\3005.1.jpg" /4 = "IAPS1\IAPS2\1111.jpg" /5 = "IAPS1\IAPS2\1930.jpg" /6 = "IAPS1\IAPS2\2095.jpg" /7 = "IAPS1\IAPS2\2110.jpg" /8 = "IAPS1\IAPS2\2750.jpg" /9= "IAPS1\IAPS2\2276.jpg" /10 = "IAPS1\IAPS2\2900.jpg"
</item> <picture targetneg> / items = negpic / position = (50%, 50%) </picture>
<picture targetneutral> / items = neutralpic / position = (50%, 50%) </picture>
<item neutralpic> /1 = "IAPS1\IAPS2\7002.jpg" /2 = "IAPS1\IAPS2\7004.jpg" /3 = "IAPS1\IAPS2\7009.jpg" /4 = "IAPS1\IAPS2\7036.jpg" /5 = "IAPS1\IAPS2\7038.jpg" /6 = "IAPS1\IAPS2\7041.jpg" /7 = "IAPS1\IAPS2\7705.jpg" /8 = "IAPS1\IAPS2\7493.jpg" /9 = "IAPS1\IAPS2\7050.jpg" /10 = "IAPS1\IAPS2\7052.jpg" /11 = "IAPS1\IAPS2\7057.jpg" /12 = "IAPS1\IAPS2\7058.jpg" /13 = "IAPS1\IAPS2\7090.jpg" /14 = "IAPS1\IAPS2\7100.jpg" /15 = "IAPS1\IAPS2\7236.jpg" /16 = "IAPS1\IAPS2\7235.jpg" /17 = "Downloads\IAPS\3280.jpg" /18 = "Downloads\IAPS\3350.jpg" /19 = "Downloads\IAPS\6540.jpg" /20 = "Downloads\IAPS\6212.jpg" /21 = "Downloads\IAPS\6370.jpg" /22 = "Downloads\IAPS\6415.jpg" /23 = "Downloads\IAPS\7361.jpg" /24 = "Downloads\IAPS\6838.jpg" /25 = "Downloads\IAPS\7359.jpg" /26 = "Downloads\IAPS\9001.jpg" /27 = "Downloads\IAPS\9040.jpg" /28 = "Downloads\IAPS\9042.jpg" /29 = "Downloads\IAPS\9180.jpg" /30 = "Downloads\IAPS\9252.jpg" /31 = "Downloads\IAPS\9341.jpg" /32 = "Downloads\IAPS\9220.jpg" /33 = "Downloads\IAPS\9300.jpg" /34 = "Downloads\IAPS\9320.jpg" /35 = "Downloads\IAPS\9373.jpg" /36 = "Downloads\IAPS\9102.jpg" /37 = "Downloads\IAPS\9417.jpg" /38 = "Downloads\IAPS\9421.jpg" /39 = "Downloads\IAPS\9041.jpg" /40 = "Downloads\IAPS\9415.jpg" /41 = "Downloads\IAPS\9561.jpg" /42 = "Downloads\IAPS\9570.jpg" /43 = "Downloads\IAPS\9592.jpg" /44 = "Downloads\IAPS\9530.jpg" /45 = "Downloads\IAPS\9621.jpg" /46 = "Downloads\IAPS\9008.jpg" /47 = "Downloads\IAPS\9911.jpg" /48 = "Downloads\IAPS\9800.jpg" </item> <instruct> / nextlabel = "Continue" / lastlabel = "Continue" / inputdevice = mouse / windowsize = (90%, 90%) / screencolor = (0,0,0) / fontstyle = ("Arial", 3%) / txcolor = (255, 255, 255) </instruct>
<values> / likertcount = 0 </values>
<list likertlist> / items = (likert.pos, likert.neg) </list>
<likert pos> / ontrialbegin = [ values.likertcount += 1 ] / anchors = [1="1", 2="2", 3="3", 4="4", 5="5"] / mouse = true / stimulusframes = [1= textquestion1] / position = (50,90) / branch = [ if (values.likertcount < 2) list.likertlist.nextvalue; ] </likert>
<likert neg> / ontrialbegin = [ values.likertcount += 1 ] / anchors = [1="1", 2="2", 3="3", 4="4", 5="5"] / mouse = true / stimulusframes = [1= textquestion2] / position = (50,90) / branch = [ if (values.likertcount < 2) list.likertlist.nextvalue; ] </likert>
<trial passiveview> / ontrialbegin = [ values.likertcount = 0; ] / stimulusframes = [1=fixation; 200=erasescreen, passiveview; 400=negpic;1200=erasescreen] / posttrialpause = 300 / response = noresponse / branch = [ list.likertlist.nextvalue; ] </trial>
<trial minimizeview> / ontrialbegin = [ values.likertcount = 0; ] / stimulusframes = [1=fixation; 200=erasescreen, minimizingview; 400=negpic; 1200=erasescreen] / response = noresponse / posttrialpause = 300 / branch = [ list.likertlist.nextvalue; ] </trial>
<trial neutral> / ontrialbegin = [ values.likertcount = 0; ] / stimulusframes = [1=fixation; 200=erasescreen, passiveview;400=neutralpic;1200=erasescreen;] / response = noresponse / posttrialpause = 300 / branch = [ list.likertlist.nextvalue; ] </trial>
<block one> / trials = [ 1-16 = noreplace(minimizeview, minimizeview, neutral, passiveview) ] </block>
|
By beccaccp - 6/23/2021
you are a genius
|
|