+xDear Dave,
Thanks for your elaborate and clear response. I've adjusted my script accordingly but I still encounter some errors. I'm not sure what I'm doing wrong.
I've attached the adjusted script and stimuli for your reference.
Thanks again!
Kind regards,
Michelle
<trial INHPracticeBrand>
/ ontrialbegin = [
trial.INHPracticeBrand.insertstimulustime(clearscreen, parameters.brandduration);
trial.INHPracticeBrand.insertstimulustime(text.INHPractice_association, parameters.brandduration);
trial.INHPracticeBrand.insertstimulustime(text.yes, parameters.brandduration);
trial.INHPracticeBrand.insertstimulustime(text.no, parameters.brandduration);
]
/ stimulustimes = [0 =
INHPracticebrand]
/ beginresponsetime = parameters.brandduration
/ responseinterrupt = immediate
/ validresponse = (parameters.responsekey_left, parameters.responsekey_right)
/ ontrialend = [
if (trial.INHPracticeBrand.response == values.responsekey_yes)
values.response = "PAST WEL"
else
values.response = "PAST NIET";
values.brand =
picture.INHPracticebrand.currentitem; values.association = text.INHPractice_association.currentitem;
trial.INHPracticeBrand.resetstimulusframes();
]
/ posttrialpause = parameters.iti
</trial>
There is no <picture> element called "
INHPracticebrand" anywhere in the script.
<trial HHPracticeBrand>
/ ontrialbegin = [
trial.HHPracticeBrand.insertstimulustime(clearscreen, parameters.brandduration);
trial.HHPracticeBrand.insertstimulustime(text.HH_practice_association, parameters.brandduration);
trial.HHPracticeBrand.insertstimulustime(text.yes, parameters.brandduration);
trial.HHPracticeBrand.insertstimulustime(text.no, parameters.brandduration);
]
/ stimulustimes = [0 = HHPractice]
/ beginresponsetime = parameters.brandduration
/ responseinterrupt = immediate
/ validresponse = (parameters.responsekey_left, parameters.responsekey_right)
/ ontrialend = [
if (trial.HHPracticeBrand.response == values.responsekey_yes)
values.response = "PAST WEL"
else
values.response = "PAST NIET";
values.brand =
picture.PracticeBrand2.currentitem; values.association = text.HHPractice_association.currentitem;
trial.HHPracticeBrand.resetstimulusframes();
]
/ posttrialpause = parameters.iti
</trial>
There is no <picture> element called "PracticeBrand2" anywhere in the script.
<trial HRPracticeBrand>
/ ontrialbegin = [
trial.HRPracticeBrand.insertstimulustime(clearscreen, parameters.brandduration);
trial.HRPracticeBrand.insertstimulustime(text.HRPractice_association, parameters.brandduration);
trial.HRPracticeBrand.insertstimulustime(text.yes, parameters.brandduration);
trial.HRPracticeBrand.insertstimulustime(text.no, parameters.brandduration);
]
/ stimulustimes = [0 =
PracticeBrand3]
/ beginresponsetime = parameters.brandduration
/ responseinterrupt = immediate
/ validresponse = (parameters.responsekey_left, parameters.responsekey_right)
/ ontrialend = [
if (trial.HRPracticeBrand.response == values.responsekey_yes)
values.response = "PAST WEL"
else
values.response = "PAST NIET";
values.brand =
picture.PracticeBrand3.currentitem;
values.association = text.PracticeBrand3association.currentitem;
trial.HRPracticeBrand.resetstimulusframes();
]
/ posttrialpause = parameters.iti
</trial>
There is no <picture> element called "PracticeBrand3" anywhere in the script.
<trial HVAPractice>
/ ontrialbegin = [
trial.HVAPractice.insertstimulustime(clearscreen, parameters.brandduration);
trial.HVAPractice.insertstimulustime(text.HvAPractice_association, parameters.brandduration);
trial.HVAPractice.insertstimulustime(text.yes, parameters.brandduration);
trial.HVAPractice.insertstimulustime(text.no, parameters.brandduration);
]
/ stimulustimes = [0 =
PHVAPractice]
/ beginresponsetime = parameters.brandduration
/ responseinterrupt = immediate
/ validresponse = (parameters.responsekey_left, parameters.responsekey_right)
/ ontrialend = [
if (trial.HVAPractice.response == values.responsekey_yes)
values.response = "PAST WEL"
else
values.response = "PAST NIET";
values.brand =
picture.PracticeBrand4.currentitem;
values.association = text.PracticeBrand4association.currentitem;
trial.HVAPractice.resetstimulusframes();
]
/ posttrialpause = parameters.iti
</trial>
There is no stimulus element called "
PHVAPractice" anywhere in the script.
There is no <picture> element called "PracticeBrand4" anywhere in the script.
<block HHAssociationStrength>
/ trials = [1 = instructions; 2-87 = noreplace(
Merk1,
Merk2)]
/ branch = [ survey.HHvragen
]
</block>
<block HHPracticeAssociationStrength>
/ trials = [1 = instructions; 2-9 = noreplace(
PracticeBrand1,
PracticeBrand2)]
/ branch = [
block.HHAssociationStrength
]
</block>
<block HRAssociationStrength>
/ trials = [1 = instructions; 2-87 = noreplace(
Merk1)]
/ branch = [
survey.HRvragen
]
</block>
<block HRPracticeAssociationStrength>
/ trials = [1 = instructions; 2-9 = noreplace(
PracticeBrand1,
PracticeBrand3)]
/ branch = [
block.HRAssociationStrength
]
</block>
<block HvAAssociationStrength>
/ trials = [1 = instructions; 2-87 = noreplace(
Merk1,
Merk4)]
/ branch = [
survey.HVAvragen
]
</block>
<block HvAPracticeAssociationStrength>
/ trials = [1 = instructions; 2-9 = noreplace(
PracticeBrand1,
PracticeBrand4)]
/ branch = [
block.HvAAssociationStrength
]
</block>
There are no <trial> elements called PracticeBrand1, PracticeBrand2, PracticeBrand3, PracticeBrand4, Merk1, Merk3 and Merk4 anywhere in the script.
<block select_3>
/ trials = [1=surveypage.select3]
/ branch = [
if (radiobuttons.kenanderehogeschool.response == "Haagse Hogeschool") block.HHPracticeAssociationStrength
else if (radiobuttons.kenanderehogeschool.response == "Hogeschool Rotterdam"; "geen van bovenstaande") block.HRPracticeAssociationStrengthelse if (radiobuttons.kenanderehogeschool.response == "Hogeschool van Amsterdam") block.HvAPracticeAssociationStrength;
]
</block>
This is not valid syntax. It ought to read
else if (radiobuttons.kenanderehogeschool.response == "Hogeschool Rotterdam" || radiobuttons.kenanderehogeschool.response == "geen van bovenstaande") block.HRPracticeAssociationStrength
<text instructions>
/ items = instructions/ select = sequence
/ size = (100%, 80%)
/ vjustify = center
/ hjustify = center
/ fontstyle = ("Arial", 3%, true, false, false, false, 5, 1)
/ resetinterval = 0
</text>
There is no <item> element called "instructions" anywhere in the script.