Millisecond Forums

Help with Video and surveys, including sequence.

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

By debbielee - 10/12/2011

I am trying to run a short experiment using three .mov videos and three corresponding surveys.  The idea is to have the video play then it's respective survey, followed by the next video and respective survey, and finally the last video and respective survey.


I decided to use the survey as a block, instead of using each surveypage (which worked)  as a trial within a block because using surveypages the layout of the questions change as well as instead of a next button, the button always reads "finish".   Therefore, I decided it may be easier and with a better layout to use survey as a block in the experiment.  


I am a novice (I have only programmed surveys and IATs before, and always with an example script) and am having issues with running the experiment.  When I changed the survey from surveypages to just survey. I have an error message that says "/blocks: Missing"



Here is a sample of my script for one video so you can see how I am programming this right now.



<defaults>


/ fontstyle = ("Verdana", 16pt)


/ inputdevice = mouse


</defaults>



<trial spacebarpush>


/ stimulusframes = [1=spacebarmessage]


/ correctresponse = (" ")


</trial>



<text spacebarmessage>


/ items = ("Press the space bar to start the video")


/ erase = false


</text>



*********Experiment*******************


<expt ControlCondition>


/ blocks = [1=Control; 2=ControlSurvey}


</expt>



*******Control Scenario********


<block Control>


/ trials = [1=spacebarpush; 2=ControlVideo]


</block>



<trial ControlVideo>


/ stimulustimes = [1=ControlScenario]


</trial>



<video ControlScenario>


/ items = ("Control Scenario.mov")


/ playthrough = true


/ size = (55%, 55%)


</video>



********Control Survey Questions******** (Only a few so you can see, but there are 11Qs per survey)


<radiobuttons Control1>


/ caption = "Types of behavior like Janeís are commonplace in daily activities?"


/ options = ("Completely agree", "Somewhat agree", "Neither Agree nor Disagree",  "Somewhat disagree", "Completely disagree")


/ optionvalues = ("1", "2", "3", "4", "5")


</radiobuttons>



<radiobuttons Control2>


/ caption = "Do you think Janeís behavior was a derogatory slight towards Margaret?"


/ options = ("Completely agree", "Somewhat agree", "Neither Agree nor Disagree",  "Somewhat disagree", "Completely disagree")


/ optionvalues = ("1", "2", "3", "4", "5")


</radiobuttons>


*****************************************



<surveypage ControlQuestion1>


/ caption = "Please mark the response that most accurately represents your perception."


/ fontstyle = ("Verdana", -13, true, false, false, false, 5, 0)


/ showbackbutton = false


/ questions = [1=Control1; 2=Control2; 3=Control3; 4=Control4]


</surveypage>



<surveypage ControlQuestion2>


/ caption = "Please mark the response that most accurately represents your perception."


/ fontstyle = ("Verdana", -13, true, false, false, false, 5, 0)


/ showbackbutton = false


/ questions = [1=Control5; 2=Control6; 3=Control7; 4=Control8]


</surveypage>



<surveypage ControlQuestion3>


/ caption = "Please mark the response that most accurately represents your perception"


/ fontstyle = ("Verdana", -13, true, false, false, false, 5, 0)


/ showbackbutton = false


/ questions = [1=Control9; 2=Control10; 3=Control11]


</surveypage>



<survey ControlSurvey>


/ pages = [1=ControlQuestion1; 2=ControlQuestion2; 3=ControlQuestion3]


/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)


/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)


/ itemspacing = 1.75%


/ showpagenumbers = true


</survey>



By Dave - 10/12/2011


*********Experiment*******************


<expt ControlCondition>


/ blocks = [1=Control; 2=ControlSurvey}


</expt>



Must be ']' not '}' (the error message indicates a missing closing bracket).


Regards,


~Dave