Error solving problem


Author
Message
Tes
Tes
Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)Respected Member (389 reputation)
Group: Awaiting Activation
Posts: 4, Visits: 28
Dear all, 

I am trying to run another experiment using Inquisit, that keeps on giving me the following error message:

"Unable to initialize <picture negative> item number 0. Verify the item exists and is correctly defined."

I tried to adapt the script by using quotation marks instead, but the problem remains:

Would anyone have an idea on how to fix this problem?

Thanks a lot!

Best,
Tes

---

**************************************************************************************************************
**************************************************************************************************************
STIMULUS RESPONSE COMPATIBILITY TASK (SRCT)
**************************************************************************************************************
**************************************************************************************************************
SCRIPT INFO


Copyright © 10-01-2014 Millisecond Software
**************************************************************************************************************
**************************************************************************************************************
SCRIPT DESCRIPTION/BACKGROUND INFO


Script Specifics:

STIMULI:
32 positive related and 32 negative pictures.

!!! NOTE: The stimuli are culturally specific and may not work for a study
outside the intended culture.
To use your own images go to STIMULI-> item.positivepics and item.negativepics
and substitute your own.

EXPERIMENT:
Experiment runs 3 main blocks (block.main_approach_pos, block.main_avoid_pos, block.main_left_pos/block.main_right_pos).
The order of the 3 main blocks is counterbalanced across participants.
Furthermore, half the participants in each counterbalanced condition run block.main_right_pos, the other half
run block.main_left_pos.
=> 6 experimental conditions, assignment by groupnumber (default, can be changed under EXPERIMENT)

BLOCKS:
1. block.main_approach_pos: move the manikin towards positive related pictures and away from negative pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
2. block.main_avoid_pos: move the manikin away from positive related pictures and towards negative pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
3a. block.main_left_pos: move the manikin to the left for positive related pictures and to the right for negative pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
3b. block.main_right_pos: move the manikin to the right for positive related pictures and to the left for negative pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)

Each main block has 8 practice trials and 2 x 28 experimental trials (= 2 subblocks). For each subblock of each main block (e.g. block.main_approach_pos)
the type of trial is randomly sampled from the four corresponding trials (e.g. trial.posapproach_manikintop, trial.posapproach_manikinbottom, trial.negavoid_manikinbottom, trial.negavoid_manikintop)
without replacement => 14 positive images and 14 negative images are shown, 7 of each with the manikin on top and 7 with the manikin on the bottom.
Over the course of the 2 x 28 trials (= 2 subblocks), each picture appears twice (once in the first subblock, once in the second subblock),
once with the manikin on top and once with the manikin on the bottom.

TRIALS:
* A blank screen is shown for 1000ms, followed by the positively-related or negative picture with a manikin on top or on the bottom
* a correct response is followed by showing a video of the manikin moving in the correct direction (duration: 1000ms)
* an incorrect response is followed by a red "X" in the middle of the screen (duration: 1000ms)

INSTRUCTIONS:
Instructions are the originals. To edit go to INSTRUCTIONS.

DATA:
* collects accurary and latency data for each experimental (and practice) trial
* check out DATA for details of what data are recorded in the data file per trial and edit if necessary
**************************************************************************************************************
**************************************************************************************************************
DEFAULT SCREEN SETTING
**************************************************************************************************************
**************************************************************************************************************
requires Inquisit 4.0.0.1

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "4.0.0.1"
/ screencolor = (0, 0, 0)
/ fontstyle = ("Courier New", 2.50%, false, false, false, false, 5, 1)
/ txbgcolor = (255, 255, 255)
/ pretrialpause = 500
/ inputdevice = keyboard
</defaults>
**************************************************************************************************************
**************************************************************************************************************
VALUES
**************************************************************************************************************
**************************************************************************************************************

***************************
editable (under values )
***************************
/responsekey_up = 21default scancode for the up-key (key "Y")
/responsekey_down = 48default scancode for the down-key (key "B")
/responsekey_left = 33default scancode for the left-key (key "F")
/responsekey_right = 36default scancode for the right-key (key "J")
/upkeylabel = "Y"default label for the up key (used in instructions)
/downkeylabel = "B"default label for the down key (used in instructions)
/leftkeylabel = "F"default label for the left key (used in instructions)
/rightkeylabel = "J"default label for the right key (used in instructions)

<values>
/responsekey_up = 21
/responsekey_down = 48
/responsekey_left = 33
/responsekey_right = 36
/upkeylabel = "Y"
/downkeylabel = "B"
/leftkeylabel = "F"
/rightkeylabel = "J"
</values>

*****************************
automatically updated at runtime
*****************************
/completed:0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)

/expcondition:6 experimental conditions; subject assignment by groupnumber
/Pos_A1-Pos_A7:variables that store 7 randomly assigned (during trial.Assignment) indices of the 14 positive pictures
(these 7 indices are used for "manikin on top" trials in the first subblock, then for "manikin on bottom" trials during the second subblock of a main block)
/Pos_B1-Pos_B7:the remaining 7 randomly assigned (during trial.Assignment) indices of the 14 positive pictures
(these 7 indices are used for "manikin on bottom" trials in the first subblock, then for "manikin on top" trials during the second subblock of a main block)
/Neg_A1-Neg_A7:variables that store 7 randomly assigned (during trial.Assignment) indices of the 14 conrol pictures
(these 7 indices are used for "manikin on top" trials in the first subblock, then for "manikin on bottom" trials during the second subblock of a main block)
/Neg_B1-Neg_B7:the remaining 7 randomly assigned (during trial.Assignment) indices of the 14 conrol pictures
(these 7 indices are used for "manikin on bottom" trials in the first subblock, then for "manikin on top" trials during the second subblock of a main block)
/temp1-temp7:helper variable to help switch "manikin on top" and "manikin on bottom" pictures during trial.Reassignment
/nextpicture:determines the next image presented
/selectpos:stores the index of the next positive image, used to select the relevant picture by picture.positive
/selectneg:stores the index of the next negative image, used to select the relevant picture by picture.negative
/stimulus:contains the name of the picture image

<values>
/completed = 0
/expcondition = 0
/pos_A1 = 0
/pos_A2 = 0
/pos_A3 = 0
/pos_A4 = 0
/pos_A5 = 0
/pos_A6 = 0
/pos_A7 = 0
/pos_A8 = 0
/pos_A9 = 0
/pos_A10 = 0
/pos_A11 = 0
/pos_A12 = 0
/pos_A13 = 0
/pos_A14 = 0
/pos_A15 = 0
/pos_A16 = 0
/pos_B1 = 0
/pos_B2 = 0
/pos_B3 = 0
/pos_B4 = 0
/pos_B5 = 0
/pos_B6 = 0
/pos_B7 = 0
/pos_B8 = 0
/pos_B9 = 0
/pos_B10 = 0
/pos_B11 = 0
/pos_B12 = 0
/pos_B13 = 0
/pos_B14 = 0
/pos_B15 = 0
/pos_B16 = 0
/neg_A1 = 0
/neg_A2 = 0
/neg_A3 = 0
/neg_A4 = 0
/neg_A5 = 0
/neg_A6 = 0
/neg_A7 = 0
/neg_A8 = 0
/neg_A9 = 0
/neg_A10 = 0
/neg_A11 = 0
/neg_A12 = 0
/neg_A13 = 0
/neg_A14 = 0
/neg_A15 = 0
/neg_A16 = 0
/neg_B1 = 0
/neg_B2 = 0
/neg_B3 = 0
/neg_B4 = 0
/neg_B5 = 0
/neg_B6 = 0
/neg_B7 = 0
/neg_B8 = 0
/neg_B9 = 0
/neg_B10 = 0
/neg_B11 = 0
/neg_B12 = 0
/neg_B13 = 0
/neg_B14 = 0
/neg_B15 = 0
/neg_B16 = 0
/temp1 = 0
/temp2 = 0
/temp3 = 0
/temp4 = 0
/temp5 = 0
/temp6 = 0
/temp7 = 0
/temp8 = 0
/temp9 = 0
/temp10 = 0
/temp11 = 0
/temp12 = 0
/temp13 = 0
/temp14 = 0
/temp15 = 0
/temp16 = 0
/nextpicture = 0
/selectpos = 0
/selectneg = 0
/stimulus = ""
</values>



**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************
********************
raw data
********************
build:Inquisit build
date, time, subject, group:date and time script was run with the current subject/groupnumber
/responsekey_up = 21default scancode for the up-key (key "Y")
/responsekey_down = 48default scancode for the down-key (key "B")
/responsekey_left = 33default scancode for the left-key (key "F")
/responsekey_right = 36default scancode for the right-key (key "J")
/expcondition:6 experimental conditions; subject assignment by groupnumber
Experiment runs 3 main blocks (block.main_approach_pos, block.main_avoid_pos, block.main_left_pos/block.main_right_pos).
The order of the 3 main blocks is counterbalanced across participants.
Furthermore, half the participants in each counterbalanced condition run block.main_right_pos, the other half
run block.main_left_pos => 6 conditions

blockcode, blocknum:the name and number of the current block
triposode, trialnum: the name and number of the currently recorded trial
(Note: not all trials that are run might record data)
/stimulus:contains the name of the picture image
response:the participant's response
correct:the correctness of the response (1 = correct; 0 = incorrect)
latency: the response latency (in ms)


<data>
/file = "SRCT_rawdata.iqdat"
/separatefiles = true
/columns = [build, date, time, subject, group, values.responsekey_up, values.responsekey_down, values.responsekey_left, values.responsekey_right,
values.expcondition, blockcode, blocknum, triposode, trialnum, values.stimulus, response, correct, latency]
</data>

********************
summary data
********************
script.startdate:date script was run
script.starttime:time script was started
script.subjectid:subject id number
script.groupid:group id number
script.elapsedtime:time it took to run script (in ms)
/completed:0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)
/expcondition:6 experimental conditions; subject assignment by groupnumber
Experiment runs 3 main blocks (block.main_approach_pos, block.main_avoid_pos, block.main_left_pos/block.main_right_pos).
The order of the 3 main blocks is counterbalanced across participants.
Furthermore, half the participants in each counterbalanced condition run block.main_right_pos, the other half
run block.main_left_pos => 6 conditions

<summarydata >
/file = "SRCT_summary.iqdat"
/columns = [script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed, values.expcondition]
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS: original with minor edits
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ nextkey = (" ")
/ prevkey = ("p")
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/ windowsize = (80%,60%)
</instruct>

<page intro>
^^^^^^^
REACTION TIME TASK
</page>

<page practise_approach_pos>
^^^^^^^^
In this task, you will see some pictures in the centre of the computer screen. Some of the pictures will depict things related to positive things, such as people
laughing or beautiful sceneries. Other pictures will have no positive content.
^^You have to categorise the pictures as being positive, or not positive. A small matchstick man will appear above or below each picture.
What you have to do in this block of trials is make the man APPROACH the pictures if they are positive, and avoid them if they are not positive.
So, for example, if the matchstick man is above an positive picture, you would press DOWN (key <%values.downkeylabel%>) to make the man run towards the picture.
However, if the man was above a picture that was not positive, you would press UP (key <%values.upkeylabel%>) to make the man move away from the picture. ^^
On each trial, you should respond as quickly as you possibly can. If you make a mistake, a red X will appear on the screen - try to avoid making mistakes.^^
Press SPACE now for some practise trials.
</page>

<page main_approach_pos>
^^^^^^^^
This is the end of this set of trials, so now you are ready for some more trials.^^
Remember: APPROACH the positive pictures, and AVOID the pictures that are NOT positive.^^
Press SPACE bar to continue.
</page>

<page practise_avoid_pos>
^^^^^^^^
In this task, you will see some pictures in the centre of the computer screen. Some of the pictures will depict positive things, such as people
laughing or beautiful sceneries. Other pictures will have no positive content. ^^
You have to categorise the pictures as being positive, or not positive. A small matchstick man will appear above or below each picture.
What you have to do in this block of trials is make the man AVOID the pictures if they are positive, and approach them if they are not positive. So, for example, if the matchstick man is above a positive picture, you would press UP to make the man away from the picture. However, if the man was above a picture that was not positive, you would press DOWN to make the man move towards the picture. ^^
On each trial, you should respond as quickly as you possibly can. If you make a mistake, a red X will appear on the screen - try to avoid making mistakes.^^
Press SPACE now for some practise trials.

</page>

<page main_avoid_pos>
^^^^^^^^
This is the end of this set of trials, so now you are ready for some more trials.^^
Remember: AVOID the positive pictures, and APPROACH the pictures that are NOT positive.^^
Press SPACE bar to continue.
</page>


<page practise_left_pos>
^^^^^^^^
In this task, you will see some pictures in the centre of the computer screen. Some of the pictures will depict things related to positive, such as people
laughing or beautiful sceneries. Other pictures will have no positive content. ^^
You have to categorise the pictures as being positive, or not positive. A small matchstick man will appear above or below each picture.
What you have to do in this block of trials is make the man move LEFT (key <%values.leftkeylabel%>) if the pictures are positive, and move RIGHT (key <%values.rightkeylabel%>) if they are not positive.^^
On each trial, you should respond as quickly as you possibly can. If you make a mistake, a red X will appear on the screen - try to avoid making mistakes.^^
Press SPACE now for some practise trials.
</page>

<page main_left_pos>
^^^^^^^^
This is the end of this set of trials, so now you are ready for some more trials.^^
Remember: make the man move LEFT if the pictures are positive, and move RIGHT if they are NOT positive.^^
Press SPACE bar to continue.
</page>

<page practise_right_pos>
^^^^^^^^
In this task, you will see some pictures in the centre of the computer screen. Some of the pictures will depict positive things, such as people
laughing or beautiful sceneries. Other pictures will have no positive content. ^^
You have to categorise the pictures as being positive, or not positive. A small matchstick man will appear above or below each picture.
What you have to do in this block of trials is make the man move RIGHT (key <%values.rightkeylabel%>) if the pictures are positive, and move LEFT (key <%values.leftkeylabel%>) if they are not positive.^^
On each trial, you should respond as quickly as you possibly can. If you make a mistake, a red X will appear on the screen - try to avoid making mistakes.^^
Press SPACE now for some practise trials.

</page>

<page main_right_pos>
^^^^^^^^
This the end of this set of trials, so now you are ready for some more trials.^^
Remember: make the man move RIGHT if the pictures are positive, and move LEFT if they are NOT positive.^^
Press SPACE bar to continue.
</page>


<page end>
^^^^^^This is the end of the task, thank you!^^^^^^
</page>
**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

Note: list.positiveindices is used during trial.assignment to randomly assign the 14 indices of the positive
images to variables that determine whether they are presented with a manikin on top or on the bottom
<list positiveindices>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
/ replace = false
/ selectionrate = always
/selectionmode = random
</list>

Note: list.negativeindices is used during trial.assignment to randomly assign the 14 indices of the negative
images to variables that determine whether they are presented with a manikin on top or on the bottom
<list negativeindices>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
/ replace = false
/ selectionrate = always
/selectionmode = random
</list>

Note: the following 4 lists help determine which pictures are presented during the experimental trials
<list postop_pictureindex>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = trial
/selectionmode = random
</list>

<list posbottom_pictureindex>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = trial
/selectionmode = random
</list>

<list negtop_pictureindex>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = trial
/selectionmode = random
</list>

<list negbottom_pictureindex>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = trial
/selectionmode = random
</list>
**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************
<item positivepics>
/ 1 = "pos101.jpg"
/ 2 = "pos102.jpg"
/ 3 = "pos103.jpg"
/ 4 = "pos104.jpg"
/ 5 = "pos105.jpg"
/ 6 = "pos106.jpg"
/ 7 = "pos107.jpg"
/ 8 = "pos108.jpg"
/ 9 = "pos109.jpg"
/ 10 = "pos110.jpg"
/ 11 = "pos111.jpg"
/ 12 = "pos112.jpg"
/ 13 = "pos113.jpg"
/ 14 = "pos114.jpg"
/ 15 = "pos115.jpg"
/ 16 = "pos116.jpg"
/ 17 = "pos117.jpg"
/ 18 = "pos118.jpg"
/ 19 = "pos119.jpg"
/ 20 = "pos120.jpg"
/ 21 = "pos121.jpg"
/ 22 = "pos122.jpg"
/ 23 = "pos123.jpg"
/ 24 = "pos124.jpg"
/ 25 = "pos125.jpg"
/ 26 = "pos126.jpg"
/ 27 = "pos127.jpg"
/ 28 = "pos128.jpg"
/ 29 = "pos129.jpg"
/ 30 = "pos130.jpg"
/ 31 = "pos131.jpg"
/ 32 = "pos132.jpg"
</item>

<picture positive>
/ items = positivepics
/ position = (50%,50%)
/ erase = false
/select = values.selectpos
/ size = (40%, 40%)
</picture>

<item negativepics>
/ 1 = "neg101.jpg"
/ 2 = "neg102.jpg"
/ 3 = "neg103.jpg"
/ 4 = "neg104.jpg"
/ 5 = "neg105.jpg"
/ 6 = "neg106.jpg"
/ 7 = "neg107.jpg"
/ 8 = "neg108.jpg"
/ 9 = "neg109.jpg"
/ 10 = "neg110.jpg"
/ 11 = "neg111.jpg"
/ 12 = "neg112.jpg"
/ 13 = "neg113.jpg"
/ 14 = "neg114.jpg"
/ 15 = "neg115.jpg"
/ 16 = "neg116.jpg"
/ 17 = "neg117.jpg"
/ 18 = "neg118.jpg"
/ 19 = "neg119.jpg"
/ 20 = "neg120.jpg"
/ 21 = "neg121.jpg"
/ 22 = "neg122.jpg"
/ 23 = "neg123.jpg"
/ 24 = "neg124.jpg"
/ 25 = "neg125.jpg"
/ 26 = "neg126.jpg"
/ 27 = "neg127.jpg"
/ 28 = "neg128.jpg"
/ 29 = "neg129.jpg"
/ 30 = "neg130.jpg"
/ 31 = "neg131.jpg"
/ 32 = "neg132.jpg"
</item>

<picture negative>
/ items = negativepics
/ position = (50%,50%)
/ erase = false
/select = values.selectneg
/ size = (40%, 40%)
</picture>

**********************
Manikin static picture
**********************
<picture manikintop>
/ items = ("manikin.jpg")
/ position= (50%, 10%)
/size = (15%, 15%)
</picture>

<picture manikinbottom>
/ items = ("manikin.jpg")
/ position= (50%, 90%)
/size = (15%, 15%)
</picture>

**********************
Manikin videos
**********************

<include>
/ precondition = [computer.platform=="win"]
/ file = "winvideos.iqx"
</include>

<include>
/ precondition = [computer.platform=="mac"]
/ file = "macvideos.iqx"
</include>

<video manikin_top_moveup>
/ items = manup
/ position = (50%,10%)
/size = (15%, 15%)
</video>

<video manikin_top_movedown>
/ items = mandown
/ position = (50%,10%)
/size = (15%, 15%)
</video>

<video manikin_bottom_moveup>
/ items = manup
/ position = (50%,90%)
/size = (15%, 15%)
</video>

<video manikin_bottom_movedown>
/ erase = true(0,0,0)
/ items = mandown
/ position = (50%,90%)
/size = (15%, 15%)
</video>

<video manikin_top_moveleft>
/ items = manleft
/ position = (50%,10%)
/size = (15%, 15%)
</video>

<video manikin_top_moveright>
/ items = manright
/ position = (50%,10%)
/size = (15%, 15%)
</video>

<video manikin_bottom_moveleft>
/ items = manleft
/ position = (50%,90%)
/size = (15%, 15%)
</video>

<video manikin_bottom_moveright>
/ erase = true(0,0,0)
/ items = manright
/ position = (50%,90%)
/size = (15%, 15%)
</video>

**********************
Helper Stimuli
**********************
<text error>
/ fontstyle = ("arial", 25%, false, false, false, false, 5, 1)
/ items = ("X")
/ txbgcolor = (0,0,0)
/ txcolor = (100, 0, 0)
/ position = (50%,50%)
/ erase = false
</text>

<picture blank>
/ items = ("black.jpg")
/ erase = false
</picture>
**************************************************************************************************************
**************************************************************************************************************
UTILITY TRIALS
**************************************************************************************************************
**************************************************************************************************************

NOTE:
trial.assignment randomly assigns the 14 positive indices and the 14 negative indices to
variables that determine whether the images are shown with a manikin on top or on the bottom for
the first subblock of a main block.

<trial assignment>
/ontrialbegin = [values.pos_A1 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A2 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A3 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A4 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A5 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A6 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A7 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B1 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B2 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B3 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B4 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B5 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B6 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B7 = list.positiveindices.nextvalue]
/ontrialbegin = [values.neg_A1 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A2 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A3 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A4 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A5 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A6 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A7 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B1 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B2 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B3 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B4 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B5 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B6 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B7 = list.negativeindices.nextvalue]
/timeout = 0
/recorddata = false
</trial>

NOTE:
trial.reassignment reassigns the images that were previously shown with a manikin on top
to be presented with a manikin on the bottom (during the 2nd subblock of a main block).

<trial reassignment>
/ontrialbegin = [values.temp1 = values.pos_A1]
/ontrialbegin = [values.temp2 = values.pos_A2]
/ontrialbegin = [values.temp3 = values.pos_A3]
/ontrialbegin = [values.temp4 = values.pos_A4]
/ontrialbegin = [values.temp5 = values.pos_A5]
/ontrialbegin = [values.temp6 = values.pos_A6]
/ontrialbegin = [values.temp7 = values.pos_A7]
/ontrialbegin = [values.pos_A1 = values.pos_B1]
/ontrialbegin = [values.pos_A2 = values.pos_B2]
/ontrialbegin = [values.pos_A3 = values.pos_B3]
/ontrialbegin = [values.pos_A4 = values.pos_B4]
/ontrialbegin = [values.pos_A5 = values.pos_B5]
/ontrialbegin = [values.pos_A6 = values.pos_B6]
/ontrialbegin = [values.pos_A7 = values.pos_B7]
/ontrialbegin = [values.pos_B1 = values.temp1]
/ontrialbegin = [values.pos_B2 = values.temp2]
/ontrialbegin = [values.pos_B3 = values.temp3]
/ontrialbegin = [values.pos_B4 = values.temp4]
/ontrialbegin = [values.pos_B5 = values.temp5]
/ontrialbegin = [values.pos_B6 = values.temp6]
/ontrialbegin = [values.pos_B7 = values.temp7]

/ontrialbegin = [values.temp1 = values.neg_A1]
/ontrialbegin = [values.temp2 = values.neg_A2]
/ontrialbegin = [values.temp3 = values.neg_A3]
/ontrialbegin = [values.temp4 = values.neg_A4]
/ontrialbegin = [values.temp5 = values.neg_A5]
/ontrialbegin = [values.temp6 = values.neg_A6]
/ontrialbegin = [values.temp7 = values.neg_A7]
/ontrialbegin = [values.neg_A1 = values.neg_B1]
/ontrialbegin = [values.neg_A2 = values.neg_B2]
/ontrialbegin = [values.neg_A3 = values.neg_B3]
/ontrialbegin = [values.neg_A4 = values.neg_B4]
/ontrialbegin = [values.neg_A5 = values.neg_B5]
/ontrialbegin = [values.neg_A6 = values.neg_B6]
/ontrialbegin = [values.neg_A7 = values.neg_B7]
/ontrialbegin = [values.neg_B1 = values.temp1]
/ontrialbegin = [values.neg_B2 = values.temp2]
/ontrialbegin = [values.neg_B3 = values.temp3]
/ontrialbegin = [values.neg_B4 = values.temp4]
/ontrialbegin = [values.neg_B5 = values.temp5]
/ontrialbegin = [values.neg_B6 = values.temp6]
/ontrialbegin = [values.neg_B7 = values.temp7]
/timeout = 0
/recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENTAL TRIALS
**************************************************************************************************************
**************************************************************************************************************

NOTE: the following trials are the experimental trials.
* They select the next picture randomly
(and determine the appropriate image index from the corresponding image pool (e.g. positive images assigned to "top" and "bottom" trials))
* They show a blank screen for 1000ms, followed by the image
* Depending on accuracy of response present a video of a moving manikin (Correct) or a red X in the middle of the screen (Error)

*******positive picture man top approach: 1
<trial posApproach_ManikinTop>

/ontrialbegin = [values.nextpicture = list.postop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,positive]

/isvalidresponse = [trial.posapproach_manikintop.response == values.responsekey_up || trial.posapproach_manikintop.response == values.responsekey_down]
/iscorrectresponse = [trial.posapproach_manikintop.response == values.responsekey_down]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_movedown, 1000)
</trial>

*******positive picture man bottom approach: 2
<trial posApproach_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.posbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,positive]

/isvalidresponse = [trial.posapproach_manikinbottom.response == values.responsekey_up || trial.posapproach_manikinbottom.response == values.responsekey_down]
/iscorrectresponse = [trial.posapproach_manikinbottom.response == values.responsekey_up]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveup, 1000)
</trial>

*******positive picture man top avoid: 3
<trial posAvoid_ManikinTop>
/ontrialbegin = [values.nextpicture = list.postop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,positive]

/isvalidresponse = [trial.posAvoid_ManikinTop.response == values.responsekey_up || trial.posAvoid_ManikinTop.response == values.responsekey_down]
/iscorrectresponse = [trial.posAvoid_ManikinTop.response == values.responsekey_up]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveup, 1000)
</trial>

*******positive picture man bottom avoid: 4
<trial posAvoid_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.posbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,positive]

/isvalidresponse = [trial.posAvoid_ManikinBottom.response == values.responsekey_up || trial.posAvoid_ManikinBottom.response == values.responsekey_down]
/iscorrectresponse = [trial.posAvoid_ManikinBottom.response == values.responsekey_down]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_movedown, 1000)
</trial>

*******negative picture man top approach: 5
<trial negApproch_ManikinTop>
/ontrialbegin = [values.nextpicture = list.negtop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,negative]

/isvalidresponse = [trial.negApproch_ManikinTop.response == values.responsekey_up || trial.negApproch_ManikinTop.response == values.responsekey_down]
/iscorrectresponse = [trial.negApproch_ManikinTop.response == values.responsekey_down]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_movedown, 1000)
</trial>

*******negative picture man bottom approach: 6
<trial negApproach_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.negbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,negative]

/isvalidresponse = [trial.negApproach_ManikinBottom.response == values.responsekey_up || trial.negApproach_ManikinBottom.response == values.responsekey_down]
/iscorrectresponse = [trial.negApproach_ManikinBottom.response == values.responsekey_up]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveup, 1000)
</trial>

*******negative picture man top avoid: 7
<trial negAvoid_ManikinTop>
/ontrialbegin = [values.nextpicture = list.negtop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,negative]

/isvalidresponse = [trial.negavoid_manikintop.response == values.responsekey_up || trial.negavoid_manikintop.response == values.responsekey_down]
/iscorrectresponse = [trial.negavoid_manikintop.response == values.responsekey_up]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveup, 1000)
</trial>

*******negative picture man bottom avoid: 8
<trial negAvoid_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.negbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,negative]

/isvalidresponse = [trial.negavoid_manikinbottom.response == values.responsekey_up || trial.negavoid_manikinbottom.response == values.responsekey_down]
/iscorrectresponse = [trial.negavoid_manikinbottom.response == values.responsekey_down]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_movedown, 1000)
</trial>

*******positive picture man top left: 1
<trial posLeft_ManikinTop>
/ontrialbegin = [values.nextpicture = list.postop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,positive]

/isvalidresponse = [trial.posLeft_ManikinTop.response == values.responsekey_left || trial.posLeft_ManikinTop.response == values.responsekey_right]
/iscorrectresponse = [trial.posLeft_ManikinTop.response == values.responsekey_left]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveleft, 1000)
</trial>

*******positive picture man bottom left:2
<trial posLeft_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.posbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,positive]

/isvalidresponse = [trial.posLeft_ManikinBottom.response == values.responsekey_left || trial.posLeft_ManikinBottom.response == values.responsekey_right]
/iscorrectresponse = [trial.posLeft_ManikinBottom.response == values.responsekey_left]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveleft, 1000)
</trial>

*******positive picture man top right:3
<trial posRight_ManikinTop>
/ontrialbegin = [values.nextpicture = list.postop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,positive]

/isvalidresponse = [trial.posRight_ManikinTop.response == values.responsekey_left || trial.posRight_ManikinTop.response == values.responsekey_right]
/iscorrectresponse = [trial.posRight_ManikinTop.response == values.responsekey_right]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveright, 1000)
</trial>

*******positive picture man bottom right:4
<trial posRight_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.posbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,positive]


/isvalidresponse = [trial.posRight_ManikinBottom.response == values.responsekey_left || trial.posRight_ManikinBottom.response == values.responsekey_right]
/iscorrectresponse = [trial.posRight_ManikinBottom.response == values.responsekey_right]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveright, 1000)
</trial>

*******negative picture man top left: 5
<trial negLeft_ManikinTop>
/ontrialbegin = [values.nextpicture = list.negtop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,negative]

/isvalidresponse = [trial.negLeft_ManikinTop.response == values.responsekey_left || trial.negLeft_ManikinTop.response == values.responsekey_right]
/iscorrectresponse = [trial.negLeft_ManikinTop.response == values.responsekey_left]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveleft, 1000)
</trial>

*******negative picture man bottom left:6
<trial negLeft_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.negbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,negative]

/isvalidresponse = [trial.negLeft_ManikinBottom.response == values.responsekey_left || trial.negLeft_ManikinBottom.response == values.responsekey_right]
/iscorrectresponse = [trial.negLeft_ManikinBottom.response == values.responsekey_left]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveleft, 1000)
</trial>

*******negative picture man top right: 7
<trial negRight_ManikinTop>
/ontrialbegin = [values.nextpicture = list.negtop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,negative]

/isvalidresponse = [trial.negRight_ManikinTop.response == values.responsekey_left || trial.negRight_ManikinTop.response == values.responsekey_right]
/iscorrectresponse = [trial.negRight_ManikinTop.response == values.responsekey_right]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveright, 1000)
</trial>

*******negative picture man bottom right: 8
<trial negRight_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.negbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,negative]

/isvalidresponse = [trial.negRight_ManikinBottom.response == values.responsekey_left || trial.negRight_ManikinBottom.response == values.responsekey_right]
/iscorrectresponse = [trial.negRight_ManikinBottom.response == values.responsekey_right]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveright, 1000)
</trial>
**************************************************************************************************************
**************************************************************************************************************
UTILITY BLOCKS
**************************************************************************************************************
**************************************************************************************************************
These blocks run trial.Assignment and trial.Reassignment to ensure that each picture is
presented once with the manikin on top and once with the manikin on the bottom

<block Assignment>
/trials = [1 = assignment]
</block>

<block Reassignment>
/trials = [1 = reassignment]
</block>
**************************************************************************************************************
**************************************************************************************************************
PRACTICE BLOCKS
**************************************************************************************************************
**************************************************************************************************************
<block practise_approach_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (practise_approach_pos)
/ trials = [1-8 = noreplace(posApproach_ManikinTop,posApproach_ManikinBottom,negAvoid_ManikinTop,negAvoid_ManikinBottom)]
/onblockend = [reset(list.posbottom_pictureindex); reset(list.postop_pictureindex); reset(list.negbottom_pictureindex); reset(list.negtop_pictureindex)]
</block>

<block practise_avoid_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (practise_avoid_pos)
/ trials = [1-8 = noreplace(posAvoid_ManikinTop,posAvoid_ManikinBottom,negApproch_ManikinTop,negApproach_ManikinBottom)]
/onblockend = [reset(list.posbottom_pictureindex); reset(list.postop_pictureindex); reset(list.negbottom_pictureindex); reset(list.negtop_pictureindex)]
</block>

<block practise_left_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (practise_left_pos)
/ trials = [1-8 = noreplace(posLeft_ManikinTop,posLeft_ManikinBottom,negRight_ManikinTop,negRight_ManikinBottom)]
/onblockend = [reset(list.posbottom_pictureindex); reset(list.postop_pictureindex); reset(list.negbottom_pictureindex); reset(list.negtop_pictureindex)]
</block>

<block practise_right_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (practise_right_pos)
/ trials = [1-8 = noreplace(posRight_ManikinTop,posRight_ManikinBottom,negLeft_ManikinTop,negLeft_ManikinBottom)]
/onblockend = [reset(list.posbottom_pictureindex); reset(list.postop_pictureindex); reset(list.negbottom_pictureindex); reset(list.negtop_pictureindex)]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENTAL BLOCKS
**************************************************************************************************************
**************************************************************************************************************
<block main_approach_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (main_approach_pos)
/ trials = [1-28 = noreplace(posApproach_ManikinTop,posApproach_ManikinBottom,negAvoid_ManikinTop,negAvoid_ManikinBottom)]
</block>

<block main_avoid_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (main_avoid_pos)
/ trials = [1-28 = noreplace(posAvoid_ManikinTop,posAvoid_ManikinBottom,negApproch_ManikinTop,negApproach_ManikinBottom)]
</block>

<block main_left_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (main_left_pos)
/ trials = [1-28 = noreplace(posLeft_ManikinTop,posLeft_ManikinBottom,negRight_ManikinTop,negRight_ManikinBottom)]
</block>

<block main_right_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (main_right_pos)
/ trials = [1-28 = noreplace(posRight_ManikinTop,posRight_ManikinBottom,negLeft_ManikinTop,negLeft_ManikinBottom)]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
NOTE:
* 6 experimental conditions: assignment by groupnumber (default, can be changed under /groupassignment)
* each expt runs 3 main blocks
* each of those 3 main blocks are divided into: assignment, practice, experimental subblock 1, reassignment, experimental subblock 2

<expt>
/onexptbegin = [values.expcondition = 1]
/subjects = (1 of 11 )
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_approach_pos; 3 = main_approach_pos; 4 = Reassignment; 5 = main_approach_pos;
6 = Assignment; 7 = practise_avoid_pos; 8 = main_avoid_pos; 9 = Reassignment; 10 = main_avoid_pos;
11 = Assignment; 12 = practise_left_pos; 13 = main_left_pos; 14= Reassignment; 15 = main_left_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 1]
/subjects = (2 of 11 )
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_approach_pos; 3 = main_approach_pos; 4 = Reassignment; 5 = main_approach_pos;
6 = Assignment; 7 = practise_avoid_pos; 8 = main_avoid_pos; 9 = Reassignment; 10 = main_avoid_pos;
11 = Assignment; 12 = practise_left_pos; 13 = main_left_pos; 14= Reassignment; 15 = main_left_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 2]
/subjects = (3 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_approach_pos; 3 = main_approach_pos; 4 = Reassignment; 5 = main_approach_pos;
6 = Assignment; 7 = practise_avoid_pos; 8 = main_avoid_pos; 9 = Reassignment; 10 = main_avoid_pos;
11 = Assignment; 12 = practise_right_pos; 13 = main_right_pos; 14= Reassignment; 15 = main_right_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 2]
/subjects = (4 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_approach_pos; 3 = main_approach_pos; 4 = Reassignment; 5 = main_approach_pos;
6 = Assignment; 7 = practise_avoid_pos; 8 = main_avoid_pos; 9 = Reassignment; 10 = main_avoid_pos;
11 = Assignment; 12 = practise_right_pos; 13 = main_right_pos; 14= Reassignment; 15 = main_right_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 3]
/subjects = (5 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_left_pos; 3 = main_left_pos; 4= Reassignment; 5 = main_left_pos;
6 = Assignment; 7 = practise_approach_pos; 8 = main_approach_pos; 9 = Reassignment; 10 = main_approach_pos;
11 = Assignment; 12 = practise_avoid_pos; 13 = main_avoid_pos; 14 = Reassignment; 15 = main_avoid_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 3]
/subjects = (6 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_left_pos; 3 = main_left_pos; 4= Reassignment; 5 = main_left_pos;
6 = Assignment; 7 = practise_approach_pos; 8 = main_approach_pos; 9 = Reassignment; 10 = main_approach_pos;
11 = Assignment; 12 = practise_avoid_pos; 13 = main_avoid_pos; 14 = Reassignment; 15 = main_avoid_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 4]
/subjects = (7 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_right_pos; 3 = main_right_pos; 4= Reassignment; 5 = main_right_pos;
6 = Assignment; 7 = practise_approach_pos; 8 = main_approach_pos; 9 = Reassignment; 10 = main_approach_pos;
11 = Assignment; 12 = practise_avoid_pos; 13 = main_avoid_pos; 14 = Reassignment; 15 = main_avoid_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 4]
/subjects = (8 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_right_pos; 3 = main_right_pos; 4= Reassignment; 5 = main_right_pos;
6 = Assignment; 7 = practise_approach_pos; 8 = main_approach_pos; 9 = Reassignment; 10 = main_approach_pos;
11 = Assignment; 12 = practise_avoid_pos; 13 = main_avoid_pos; 14 = Reassignment; 15 = main_avoid_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 5]
/subjects = (9 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_avoid_pos; 3 = main_avoid_pos; 4 = Reassignment; 5 = main_avoid_pos;
6 = Assignment; 7 = practise_left_pos; 8 = main_left_pos; 9= Reassignment; 10 = main_left_pos;
11 = Assignment; 12 = practise_approach_pos; 13 = main_approach_pos; 14 = Reassignment; 15 = main_approach_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 5]
/subjects = (10 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_avoid_pos; 3 = main_avoid_pos; 4 = Reassignment; 5 = main_avoid_pos;
6 = Assignment; 7 = practise_left_pos; 8 = main_left_pos; 9= Reassignment; 10 = main_left_pos;
11 = Assignment; 12 = practise_approach_pos; 13 = main_approach_pos; 14 = Reassignment; 15 = main_approach_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 6]
/subjects = (11 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_avoid_pos; 3 = main_avoid_pos; 4 = Reassignment; 5 = main_avoid_pos;
6 = Assignment; 7 = practise_right_pos; 8 = main_right_pos; 9= Reassignment; 10 = main_right_pos;
11 = Assignment; 12 = practise_approach_pos; 13 = main_approach_pos; 14 = Reassignment; 15 = main_approach_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>


<expt>
/onexptbegin = [values.expcondition = 6]
/subjects = (12 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_avoid_pos; 3 = main_avoid_pos; 4 = Reassignment; 5 = main_avoid_pos;
6 = Assignment; 7 = practise_right_pos; 8 = main_right_pos; 9= Reassignment; 10 = main_right_pos;
11 = Assignment; 12 = practise_approach_pos; 13 = main_approach_pos; 14 = Reassignment; 15 = main_approach_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>
**************************************************************************************************************
               END OF FILE


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
nes - Sunday, April 15, 2018
Dear all, 

I am trying to run another experiment using Inquisit, that keeps on giving me the following error message:

"Unable to initialize <picture negative> item number 0. Verify the item exists and is correctly defined."

I tried to adapt the script by using quotation marks instead, but the problem remains:

Would anyone have an idea on how to fix this problem?

Thanks a lot!

Best,
Tes

---

**************************************************************************************************************
**************************************************************************************************************
STIMULUS RESPONSE COMPATIBILITY TASK (SRCT)
**************************************************************************************************************
**************************************************************************************************************
SCRIPT INFO


Copyright © 10-01-2014 Millisecond Software
**************************************************************************************************************
**************************************************************************************************************
SCRIPT DESCRIPTION/BACKGROUND INFO


Script Specifics:

STIMULI:
32 positive related and 32 negative pictures.

!!! NOTE: The stimuli are culturally specific and may not work for a study
outside the intended culture.
To use your own images go to STIMULI-> item.positivepics and item.negativepics
and substitute your own.

EXPERIMENT:
Experiment runs 3 main blocks (block.main_approach_pos, block.main_avoid_pos, block.main_left_pos/block.main_right_pos).
The order of the 3 main blocks is counterbalanced across participants.
Furthermore, half the participants in each counterbalanced condition run block.main_right_pos, the other half
run block.main_left_pos.
=> 6 experimental conditions, assignment by groupnumber (default, can be changed under EXPERIMENT)

BLOCKS:
1. block.main_approach_pos: move the manikin towards positive related pictures and away from negative pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
2. block.main_avoid_pos: move the manikin away from positive related pictures and towards negative pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
3a. block.main_left_pos: move the manikin to the left for positive related pictures and to the right for negative pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)
3b. block.main_right_pos: move the manikin to the right for positive related pictures and to the left for negative pictures
(in half the trials manikin is on top, in the other half the manikin is on the bottom)

Each main block has 8 practice trials and 2 x 28 experimental trials (= 2 subblocks). For each subblock of each main block (e.g. block.main_approach_pos)
the type of trial is randomly sampled from the four corresponding trials (e.g. trial.posapproach_manikintop, trial.posapproach_manikinbottom, trial.negavoid_manikinbottom, trial.negavoid_manikintop)
without replacement => 14 positive images and 14 negative images are shown, 7 of each with the manikin on top and 7 with the manikin on the bottom.
Over the course of the 2 x 28 trials (= 2 subblocks), each picture appears twice (once in the first subblock, once in the second subblock),
once with the manikin on top and once with the manikin on the bottom.

TRIALS:
* A blank screen is shown for 1000ms, followed by the positively-related or negative picture with a manikin on top or on the bottom
* a correct response is followed by showing a video of the manikin moving in the correct direction (duration: 1000ms)
* an incorrect response is followed by a red "X" in the middle of the screen (duration: 1000ms)

INSTRUCTIONS:
Instructions are the originals. To edit go to INSTRUCTIONS.

DATA:
* collects accurary and latency data for each experimental (and practice) trial
* check out DATA for details of what data are recorded in the data file per trial and edit if necessary
**************************************************************************************************************
**************************************************************************************************************
DEFAULT SCREEN SETTING
**************************************************************************************************************
**************************************************************************************************************
requires Inquisit 4.0.0.1

<defaults>
/canvasaspectratio = (4,3)
/minimumversion = "4.0.0.1"
/ screencolor = (0, 0, 0)
/ fontstyle = ("Courier New", 2.50%, false, false, false, false, 5, 1)
/ txbgcolor = (255, 255, 255)
/ pretrialpause = 500
/ inputdevice = keyboard
</defaults>
**************************************************************************************************************
**************************************************************************************************************
VALUES
**************************************************************************************************************
**************************************************************************************************************

***************************
editable (under values )
***************************
/responsekey_up = 21default scancode for the up-key (key "Y")
/responsekey_down = 48default scancode for the down-key (key "B")
/responsekey_left = 33default scancode for the left-key (key "F")
/responsekey_right = 36default scancode for the right-key (key "J")
/upkeylabel = "Y"default label for the up key (used in instructions)
/downkeylabel = "B"default label for the down key (used in instructions)
/leftkeylabel = "F"default label for the left key (used in instructions)
/rightkeylabel = "J"default label for the right key (used in instructions)

<values>
/responsekey_up = 21
/responsekey_down = 48
/responsekey_left = 33
/responsekey_right = 36
/upkeylabel = "Y"
/downkeylabel = "B"
/leftkeylabel = "F"
/rightkeylabel = "J"
</values>

*****************************
automatically updated at runtime
*****************************
/completed:0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)

/expcondition:6 experimental conditions; subject assignment by groupnumber
/Pos_A1-Pos_A7:variables that store 7 randomly assigned (during trial.Assignment) indices of the 14 positive pictures
(these 7 indices are used for "manikin on top" trials in the first subblock, then for "manikin on bottom" trials during the second subblock of a main block)
/Pos_B1-Pos_B7:the remaining 7 randomly assigned (during trial.Assignment) indices of the 14 positive pictures
(these 7 indices are used for "manikin on bottom" trials in the first subblock, then for "manikin on top" trials during the second subblock of a main block)
/Neg_A1-Neg_A7:variables that store 7 randomly assigned (during trial.Assignment) indices of the 14 conrol pictures
(these 7 indices are used for "manikin on top" trials in the first subblock, then for "manikin on bottom" trials during the second subblock of a main block)
/Neg_B1-Neg_B7:the remaining 7 randomly assigned (during trial.Assignment) indices of the 14 conrol pictures
(these 7 indices are used for "manikin on bottom" trials in the first subblock, then for "manikin on top" trials during the second subblock of a main block)
/temp1-temp7:helper variable to help switch "manikin on top" and "manikin on bottom" pictures during trial.Reassignment
/nextpicture:determines the next image presented
/selectpos:stores the index of the next positive image, used to select the relevant picture by picture.positive
/selectneg:stores the index of the next negative image, used to select the relevant picture by picture.negative
/stimulus:contains the name of the picture image

<values>
/completed = 0
/expcondition = 0
/pos_A1 = 0
/pos_A2 = 0
/pos_A3 = 0
/pos_A4 = 0
/pos_A5 = 0
/pos_A6 = 0
/pos_A7 = 0
/pos_A8 = 0
/pos_A9 = 0
/pos_A10 = 0
/pos_A11 = 0
/pos_A12 = 0
/pos_A13 = 0
/pos_A14 = 0
/pos_A15 = 0
/pos_A16 = 0
/pos_B1 = 0
/pos_B2 = 0
/pos_B3 = 0
/pos_B4 = 0
/pos_B5 = 0
/pos_B6 = 0
/pos_B7 = 0
/pos_B8 = 0
/pos_B9 = 0
/pos_B10 = 0
/pos_B11 = 0
/pos_B12 = 0
/pos_B13 = 0
/pos_B14 = 0
/pos_B15 = 0
/pos_B16 = 0
/neg_A1 = 0
/neg_A2 = 0
/neg_A3 = 0
/neg_A4 = 0
/neg_A5 = 0
/neg_A6 = 0
/neg_A7 = 0
/neg_A8 = 0
/neg_A9 = 0
/neg_A10 = 0
/neg_A11 = 0
/neg_A12 = 0
/neg_A13 = 0
/neg_A14 = 0
/neg_A15 = 0
/neg_A16 = 0
/neg_B1 = 0
/neg_B2 = 0
/neg_B3 = 0
/neg_B4 = 0
/neg_B5 = 0
/neg_B6 = 0
/neg_B7 = 0
/neg_B8 = 0
/neg_B9 = 0
/neg_B10 = 0
/neg_B11 = 0
/neg_B12 = 0
/neg_B13 = 0
/neg_B14 = 0
/neg_B15 = 0
/neg_B16 = 0
/temp1 = 0
/temp2 = 0
/temp3 = 0
/temp4 = 0
/temp5 = 0
/temp6 = 0
/temp7 = 0
/temp8 = 0
/temp9 = 0
/temp10 = 0
/temp11 = 0
/temp12 = 0
/temp13 = 0
/temp14 = 0
/temp15 = 0
/temp16 = 0
/nextpicture = 0
/selectpos = 0
/selectneg = 0
/stimulus = ""
</values>



**************************************************************************************************************
**************************************************************************************************************
DATA
**************************************************************************************************************
**************************************************************************************************************
********************
raw data
********************
build:Inquisit build
date, time, subject, group:date and time script was run with the current subject/groupnumber
/responsekey_up = 21default scancode for the up-key (key "Y")
/responsekey_down = 48default scancode for the down-key (key "B")
/responsekey_left = 33default scancode for the left-key (key "F")
/responsekey_right = 36default scancode for the right-key (key "J")
/expcondition:6 experimental conditions; subject assignment by groupnumber
Experiment runs 3 main blocks (block.main_approach_pos, block.main_avoid_pos, block.main_left_pos/block.main_right_pos).
The order of the 3 main blocks is counterbalanced across participants.
Furthermore, half the participants in each counterbalanced condition run block.main_right_pos, the other half
run block.main_left_pos => 6 conditions

blockcode, blocknum:the name and number of the current block
triposode, trialnum: the name and number of the currently recorded trial
(Note: not all trials that are run might record data)
/stimulus:contains the name of the picture image
response:the participant's response
correct:the correctness of the response (1 = correct; 0 = incorrect)
latency: the response latency (in ms)


<data>
/file = "SRCT_rawdata.iqdat"
/separatefiles = true
/columns = [build, date, time, subject, group, values.responsekey_up, values.responsekey_down, values.responsekey_left, values.responsekey_right,
values.expcondition, blockcode, blocknum, triposode, trialnum, values.stimulus, response, correct, latency]
</data>

********************
summary data
********************
script.startdate:date script was run
script.starttime:time script was started
script.subjectid:subject id number
script.groupid:group id number
script.elapsedtime:time it took to run script (in ms)
/completed:0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)
/expcondition:6 experimental conditions; subject assignment by groupnumber
Experiment runs 3 main blocks (block.main_approach_pos, block.main_avoid_pos, block.main_left_pos/block.main_right_pos).
The order of the 3 main blocks is counterbalanced across participants.
Furthermore, half the participants in each counterbalanced condition run block.main_right_pos, the other half
run block.main_left_pos => 6 conditions

<summarydata >
/file = "SRCT_summary.iqdat"
/columns = [script.startdate, script.starttime, script.subjectid, script.groupid, script.elapsedtime, values.completed, values.expcondition]
</summarydata>

**************************************************************************************************************
**************************************************************************************************************
INSTRUCTIONS: original with minor edits
**************************************************************************************************************
**************************************************************************************************************
<instruct>
/ nextkey = (" ")
/ prevkey = ("p")
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/ windowsize = (80%,60%)
</instruct>

<page intro>
^^^^^^^
REACTION TIME TASK
</page>

<page practise_approach_pos>
^^^^^^^^
In this task, you will see some pictures in the centre of the computer screen. Some of the pictures will depict things related to positive things, such as people
laughing or beautiful sceneries. Other pictures will have no positive content.
^^You have to categorise the pictures as being positive, or not positive. A small matchstick man will appear above or below each picture.
What you have to do in this block of trials is make the man APPROACH the pictures if they are positive, and avoid them if they are not positive.
So, for example, if the matchstick man is above an positive picture, you would press DOWN (key <%values.downkeylabel%>) to make the man run towards the picture.
However, if the man was above a picture that was not positive, you would press UP (key <%values.upkeylabel%>) to make the man move away from the picture. ^^
On each trial, you should respond as quickly as you possibly can. If you make a mistake, a red X will appear on the screen - try to avoid making mistakes.^^
Press SPACE now for some practise trials.
</page>

<page main_approach_pos>
^^^^^^^^
This is the end of this set of trials, so now you are ready for some more trials.^^
Remember: APPROACH the positive pictures, and AVOID the pictures that are NOT positive.^^
Press SPACE bar to continue.
</page>

<page practise_avoid_pos>
^^^^^^^^
In this task, you will see some pictures in the centre of the computer screen. Some of the pictures will depict positive things, such as people
laughing or beautiful sceneries. Other pictures will have no positive content. ^^
You have to categorise the pictures as being positive, or not positive. A small matchstick man will appear above or below each picture.
What you have to do in this block of trials is make the man AVOID the pictures if they are positive, and approach them if they are not positive. So, for example, if the matchstick man is above a positive picture, you would press UP to make the man away from the picture. However, if the man was above a picture that was not positive, you would press DOWN to make the man move towards the picture. ^^
On each trial, you should respond as quickly as you possibly can. If you make a mistake, a red X will appear on the screen - try to avoid making mistakes.^^
Press SPACE now for some practise trials.

</page>

<page main_avoid_pos>
^^^^^^^^
This is the end of this set of trials, so now you are ready for some more trials.^^
Remember: AVOID the positive pictures, and APPROACH the pictures that are NOT positive.^^
Press SPACE bar to continue.
</page>


<page practise_left_pos>
^^^^^^^^
In this task, you will see some pictures in the centre of the computer screen. Some of the pictures will depict things related to positive, such as people
laughing or beautiful sceneries. Other pictures will have no positive content. ^^
You have to categorise the pictures as being positive, or not positive. A small matchstick man will appear above or below each picture.
What you have to do in this block of trials is make the man move LEFT (key <%values.leftkeylabel%>) if the pictures are positive, and move RIGHT (key <%values.rightkeylabel%>) if they are not positive.^^
On each trial, you should respond as quickly as you possibly can. If you make a mistake, a red X will appear on the screen - try to avoid making mistakes.^^
Press SPACE now for some practise trials.
</page>

<page main_left_pos>
^^^^^^^^
This is the end of this set of trials, so now you are ready for some more trials.^^
Remember: make the man move LEFT if the pictures are positive, and move RIGHT if they are NOT positive.^^
Press SPACE bar to continue.
</page>

<page practise_right_pos>
^^^^^^^^
In this task, you will see some pictures in the centre of the computer screen. Some of the pictures will depict positive things, such as people
laughing or beautiful sceneries. Other pictures will have no positive content. ^^
You have to categorise the pictures as being positive, or not positive. A small matchstick man will appear above or below each picture.
What you have to do in this block of trials is make the man move RIGHT (key <%values.rightkeylabel%>) if the pictures are positive, and move LEFT (key <%values.leftkeylabel%>) if they are not positive.^^
On each trial, you should respond as quickly as you possibly can. If you make a mistake, a red X will appear on the screen - try to avoid making mistakes.^^
Press SPACE now for some practise trials.

</page>

<page main_right_pos>
^^^^^^^^
This the end of this set of trials, so now you are ready for some more trials.^^
Remember: make the man move RIGHT if the pictures are positive, and move LEFT if they are NOT positive.^^
Press SPACE bar to continue.
</page>


<page end>
^^^^^^This is the end of the task, thank you!^^^^^^
</page>
**************************************************************************************************************
**************************************************************************************************************
LISTS
**************************************************************************************************************
**************************************************************************************************************

Note: list.positiveindices is used during trial.assignment to randomly assign the 14 indices of the positive
images to variables that determine whether they are presented with a manikin on top or on the bottom
<list positiveindices>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
/ replace = false
/ selectionrate = always
/selectionmode = random
</list>

Note: list.negativeindices is used during trial.assignment to randomly assign the 14 indices of the negative
images to variables that determine whether they are presented with a manikin on top or on the bottom
<list negativeindices>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
/ replace = false
/ selectionrate = always
/selectionmode = random
</list>

Note: the following 4 lists help determine which pictures are presented during the experimental trials
<list postop_pictureindex>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = trial
/selectionmode = random
</list>

<list posbottom_pictureindex>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = trial
/selectionmode = random
</list>

<list negtop_pictureindex>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = trial
/selectionmode = random
</list>

<list negbottom_pictureindex>
/items = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
/ replace = false
/ selectionrate = trial
/selectionmode = random
</list>
**************************************************************************************************************
**************************************************************************************************************
STIMULI
**************************************************************************************************************
**************************************************************************************************************
<item positivepics>
/ 1 = "pos101.jpg"
/ 2 = "pos102.jpg"
/ 3 = "pos103.jpg"
/ 4 = "pos104.jpg"
/ 5 = "pos105.jpg"
/ 6 = "pos106.jpg"
/ 7 = "pos107.jpg"
/ 8 = "pos108.jpg"
/ 9 = "pos109.jpg"
/ 10 = "pos110.jpg"
/ 11 = "pos111.jpg"
/ 12 = "pos112.jpg"
/ 13 = "pos113.jpg"
/ 14 = "pos114.jpg"
/ 15 = "pos115.jpg"
/ 16 = "pos116.jpg"
/ 17 = "pos117.jpg"
/ 18 = "pos118.jpg"
/ 19 = "pos119.jpg"
/ 20 = "pos120.jpg"
/ 21 = "pos121.jpg"
/ 22 = "pos122.jpg"
/ 23 = "pos123.jpg"
/ 24 = "pos124.jpg"
/ 25 = "pos125.jpg"
/ 26 = "pos126.jpg"
/ 27 = "pos127.jpg"
/ 28 = "pos128.jpg"
/ 29 = "pos129.jpg"
/ 30 = "pos130.jpg"
/ 31 = "pos131.jpg"
/ 32 = "pos132.jpg"
</item>

<picture positive>
/ items = positivepics
/ position = (50%,50%)
/ erase = false
/select = values.selectpos
/ size = (40%, 40%)
</picture>

<item negativepics>
/ 1 = "neg101.jpg"
/ 2 = "neg102.jpg"
/ 3 = "neg103.jpg"
/ 4 = "neg104.jpg"
/ 5 = "neg105.jpg"
/ 6 = "neg106.jpg"
/ 7 = "neg107.jpg"
/ 8 = "neg108.jpg"
/ 9 = "neg109.jpg"
/ 10 = "neg110.jpg"
/ 11 = "neg111.jpg"
/ 12 = "neg112.jpg"
/ 13 = "neg113.jpg"
/ 14 = "neg114.jpg"
/ 15 = "neg115.jpg"
/ 16 = "neg116.jpg"
/ 17 = "neg117.jpg"
/ 18 = "neg118.jpg"
/ 19 = "neg119.jpg"
/ 20 = "neg120.jpg"
/ 21 = "neg121.jpg"
/ 22 = "neg122.jpg"
/ 23 = "neg123.jpg"
/ 24 = "neg124.jpg"
/ 25 = "neg125.jpg"
/ 26 = "neg126.jpg"
/ 27 = "neg127.jpg"
/ 28 = "neg128.jpg"
/ 29 = "neg129.jpg"
/ 30 = "neg130.jpg"
/ 31 = "neg131.jpg"
/ 32 = "neg132.jpg"
</item>

<picture negative>
/ items = negativepics
/ position = (50%,50%)
/ erase = false
/select = values.selectneg
/ size = (40%, 40%)
</picture>

**********************
Manikin static picture
**********************
<picture manikintop>
/ items = ("manikin.jpg")
/ position= (50%, 10%)
/size = (15%, 15%)
</picture>

<picture manikinbottom>
/ items = ("manikin.jpg")
/ position= (50%, 90%)
/size = (15%, 15%)
</picture>

**********************
Manikin videos
**********************

<include>
/ precondition = [computer.platform=="win"]
/ file = "winvideos.iqx"
</include>

<include>
/ precondition = [computer.platform=="mac"]
/ file = "macvideos.iqx"
</include>

<video manikin_top_moveup>
/ items = manup
/ position = (50%,10%)
/size = (15%, 15%)
</video>

<video manikin_top_movedown>
/ items = mandown
/ position = (50%,10%)
/size = (15%, 15%)
</video>

<video manikin_bottom_moveup>
/ items = manup
/ position = (50%,90%)
/size = (15%, 15%)
</video>

<video manikin_bottom_movedown>
/ erase = true(0,0,0)
/ items = mandown
/ position = (50%,90%)
/size = (15%, 15%)
</video>

<video manikin_top_moveleft>
/ items = manleft
/ position = (50%,10%)
/size = (15%, 15%)
</video>

<video manikin_top_moveright>
/ items = manright
/ position = (50%,10%)
/size = (15%, 15%)
</video>

<video manikin_bottom_moveleft>
/ items = manleft
/ position = (50%,90%)
/size = (15%, 15%)
</video>

<video manikin_bottom_moveright>
/ erase = true(0,0,0)
/ items = manright
/ position = (50%,90%)
/size = (15%, 15%)
</video>

**********************
Helper Stimuli
**********************
<text error>
/ fontstyle = ("arial", 25%, false, false, false, false, 5, 1)
/ items = ("X")
/ txbgcolor = (0,0,0)
/ txcolor = (100, 0, 0)
/ position = (50%,50%)
/ erase = false
</text>

<picture blank>
/ items = ("black.jpg")
/ erase = false
</picture>
**************************************************************************************************************
**************************************************************************************************************
UTILITY TRIALS
**************************************************************************************************************
**************************************************************************************************************

NOTE:
trial.assignment randomly assigns the 14 positive indices and the 14 negative indices to
variables that determine whether the images are shown with a manikin on top or on the bottom for
the first subblock of a main block.

<trial assignment>
/ontrialbegin = [values.pos_A1 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A2 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A3 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A4 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A5 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A6 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_A7 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B1 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B2 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B3 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B4 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B5 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B6 = list.positiveindices.nextvalue]
/ontrialbegin = [values.pos_B7 = list.positiveindices.nextvalue]
/ontrialbegin = [values.neg_A1 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A2 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A3 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A4 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A5 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A6 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_A7 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B1 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B2 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B3 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B4 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B5 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B6 = list.negativeindices.nextvalue]
/ontrialbegin = [values.neg_B7 = list.negativeindices.nextvalue]
/timeout = 0
/recorddata = false
</trial>

NOTE:
trial.reassignment reassigns the images that were previously shown with a manikin on top
to be presented with a manikin on the bottom (during the 2nd subblock of a main block).

<trial reassignment>
/ontrialbegin = [values.temp1 = values.pos_A1]
/ontrialbegin = [values.temp2 = values.pos_A2]
/ontrialbegin = [values.temp3 = values.pos_A3]
/ontrialbegin = [values.temp4 = values.pos_A4]
/ontrialbegin = [values.temp5 = values.pos_A5]
/ontrialbegin = [values.temp6 = values.pos_A6]
/ontrialbegin = [values.temp7 = values.pos_A7]
/ontrialbegin = [values.pos_A1 = values.pos_B1]
/ontrialbegin = [values.pos_A2 = values.pos_B2]
/ontrialbegin = [values.pos_A3 = values.pos_B3]
/ontrialbegin = [values.pos_A4 = values.pos_B4]
/ontrialbegin = [values.pos_A5 = values.pos_B5]
/ontrialbegin = [values.pos_A6 = values.pos_B6]
/ontrialbegin = [values.pos_A7 = values.pos_B7]
/ontrialbegin = [values.pos_B1 = values.temp1]
/ontrialbegin = [values.pos_B2 = values.temp2]
/ontrialbegin = [values.pos_B3 = values.temp3]
/ontrialbegin = [values.pos_B4 = values.temp4]
/ontrialbegin = [values.pos_B5 = values.temp5]
/ontrialbegin = [values.pos_B6 = values.temp6]
/ontrialbegin = [values.pos_B7 = values.temp7]

/ontrialbegin = [values.temp1 = values.neg_A1]
/ontrialbegin = [values.temp2 = values.neg_A2]
/ontrialbegin = [values.temp3 = values.neg_A3]
/ontrialbegin = [values.temp4 = values.neg_A4]
/ontrialbegin = [values.temp5 = values.neg_A5]
/ontrialbegin = [values.temp6 = values.neg_A6]
/ontrialbegin = [values.temp7 = values.neg_A7]
/ontrialbegin = [values.neg_A1 = values.neg_B1]
/ontrialbegin = [values.neg_A2 = values.neg_B2]
/ontrialbegin = [values.neg_A3 = values.neg_B3]
/ontrialbegin = [values.neg_A4 = values.neg_B4]
/ontrialbegin = [values.neg_A5 = values.neg_B5]
/ontrialbegin = [values.neg_A6 = values.neg_B6]
/ontrialbegin = [values.neg_A7 = values.neg_B7]
/ontrialbegin = [values.neg_B1 = values.temp1]
/ontrialbegin = [values.neg_B2 = values.temp2]
/ontrialbegin = [values.neg_B3 = values.temp3]
/ontrialbegin = [values.neg_B4 = values.temp4]
/ontrialbegin = [values.neg_B5 = values.temp5]
/ontrialbegin = [values.neg_B6 = values.temp6]
/ontrialbegin = [values.neg_B7 = values.temp7]
/timeout = 0
/recorddata = false
</trial>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENTAL TRIALS
**************************************************************************************************************
**************************************************************************************************************

NOTE: the following trials are the experimental trials.
* They select the next picture randomly
(and determine the appropriate image index from the corresponding image pool (e.g. positive images assigned to "top" and "bottom" trials))
* They show a blank screen for 1000ms, followed by the image
* Depending on accuracy of response present a video of a moving manikin (Correct) or a red X in the middle of the screen (Error)

*******positive picture man top approach: 1
<trial posApproach_ManikinTop>

/ontrialbegin = [values.nextpicture = list.postop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,positive]

/isvalidresponse = [trial.posapproach_manikintop.response == values.responsekey_up || trial.posapproach_manikintop.response == values.responsekey_down]
/iscorrectresponse = [trial.posapproach_manikintop.response == values.responsekey_down]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_movedown, 1000)
</trial>

*******positive picture man bottom approach: 2
<trial posApproach_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.posbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,positive]

/isvalidresponse = [trial.posapproach_manikinbottom.response == values.responsekey_up || trial.posapproach_manikinbottom.response == values.responsekey_down]
/iscorrectresponse = [trial.posapproach_manikinbottom.response == values.responsekey_up]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveup, 1000)
</trial>

*******positive picture man top avoid: 3
<trial posAvoid_ManikinTop>
/ontrialbegin = [values.nextpicture = list.postop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,positive]

/isvalidresponse = [trial.posAvoid_ManikinTop.response == values.responsekey_up || trial.posAvoid_ManikinTop.response == values.responsekey_down]
/iscorrectresponse = [trial.posAvoid_ManikinTop.response == values.responsekey_up]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveup, 1000)
</trial>

*******positive picture man bottom avoid: 4
<trial posAvoid_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.posbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,positive]

/isvalidresponse = [trial.posAvoid_ManikinBottom.response == values.responsekey_up || trial.posAvoid_ManikinBottom.response == values.responsekey_down]
/iscorrectresponse = [trial.posAvoid_ManikinBottom.response == values.responsekey_down]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_movedown, 1000)
</trial>

*******negative picture man top approach: 5
<trial negApproch_ManikinTop>
/ontrialbegin = [values.nextpicture = list.negtop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,negative]

/isvalidresponse = [trial.negApproch_ManikinTop.response == values.responsekey_up || trial.negApproch_ManikinTop.response == values.responsekey_down]
/iscorrectresponse = [trial.negApproch_ManikinTop.response == values.responsekey_down]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_movedown, 1000)
</trial>

*******negative picture man bottom approach: 6
<trial negApproach_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.negbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,negative]

/isvalidresponse = [trial.negApproach_ManikinBottom.response == values.responsekey_up || trial.negApproach_ManikinBottom.response == values.responsekey_down]
/iscorrectresponse = [trial.negApproach_ManikinBottom.response == values.responsekey_up]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveup, 1000)
</trial>

*******negative picture man top avoid: 7
<trial negAvoid_ManikinTop>
/ontrialbegin = [values.nextpicture = list.negtop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,negative]

/isvalidresponse = [trial.negavoid_manikintop.response == values.responsekey_up || trial.negavoid_manikintop.response == values.responsekey_down]
/iscorrectresponse = [trial.negavoid_manikintop.response == values.responsekey_up]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveup, 1000)
</trial>

*******negative picture man bottom avoid: 8
<trial negAvoid_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.negbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,negative]

/isvalidresponse = [trial.negavoid_manikinbottom.response == values.responsekey_up || trial.negavoid_manikinbottom.response == values.responsekey_down]
/iscorrectresponse = [trial.negavoid_manikinbottom.response == values.responsekey_down]
/monkeyresponse = (21,48)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_movedown, 1000)
</trial>

*******positive picture man top left: 1
<trial posLeft_ManikinTop>
/ontrialbegin = [values.nextpicture = list.postop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,positive]

/isvalidresponse = [trial.posLeft_ManikinTop.response == values.responsekey_left || trial.posLeft_ManikinTop.response == values.responsekey_right]
/iscorrectresponse = [trial.posLeft_ManikinTop.response == values.responsekey_left]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveleft, 1000)
</trial>

*******positive picture man bottom left:2
<trial posLeft_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.posbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,positive]

/isvalidresponse = [trial.posLeft_ManikinBottom.response == values.responsekey_left || trial.posLeft_ManikinBottom.response == values.responsekey_right]
/iscorrectresponse = [trial.posLeft_ManikinBottom.response == values.responsekey_left]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveleft, 1000)
</trial>

*******positive picture man top right:3
<trial posRight_ManikinTop>
/ontrialbegin = [values.nextpicture = list.postop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,positive]

/isvalidresponse = [trial.posRight_ManikinTop.response == values.responsekey_left || trial.posRight_ManikinTop.response == values.responsekey_right]
/iscorrectresponse = [trial.posRight_ManikinTop.response == values.responsekey_right]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveright, 1000)
</trial>

*******positive picture man bottom right:4
<trial posRight_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.posbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectpos = values.pos_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectpos = values.pos_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectpos = values.pos_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectpos = values.pos_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectpos = values.pos_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectpos = values.pos_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectpos = values.pos_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,positive]


/isvalidresponse = [trial.posRight_ManikinBottom.response == values.responsekey_left || trial.posRight_ManikinBottom.response == values.responsekey_right]
/iscorrectresponse = [trial.posRight_ManikinBottom.response == values.responsekey_right]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.positive.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveright, 1000)
</trial>

*******negative picture man top left: 5
<trial negLeft_ManikinTop>
/ontrialbegin = [values.nextpicture = list.negtop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,negative]

/isvalidresponse = [trial.negLeft_ManikinTop.response == values.responsekey_left || trial.negLeft_ManikinTop.response == values.responsekey_right]
/iscorrectresponse = [trial.negLeft_ManikinTop.response == values.responsekey_left]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveleft, 1000)
</trial>

*******negative picture man bottom left:6
<trial negLeft_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.negbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,negative]

/isvalidresponse = [trial.negLeft_ManikinBottom.response == values.responsekey_left || trial.negLeft_ManikinBottom.response == values.responsekey_right]
/iscorrectresponse = [trial.negLeft_ManikinBottom.response == values.responsekey_left]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveleft, 1000)
</trial>

*******negative picture man top right: 7
<trial negRight_ManikinTop>
/ontrialbegin = [values.nextpicture = list.negtop_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_A1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_A2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_A3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_A4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_A5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_A6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_A7]

/ stimulustimes = [0 = blank; 1000=manikintop,negative]

/isvalidresponse = [trial.negRight_ManikinTop.response == values.responsekey_left || trial.negRight_ManikinTop.response == values.responsekey_right]
/iscorrectresponse = [trial.negRight_ManikinTop.response == values.responsekey_right]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_top_moveright, 1000)
</trial>

*******negative picture man bottom right: 8
<trial negRight_ManikinBottom>
/ontrialbegin = [values.nextpicture = list.negbottom_pictureindex.nextvalue]
/ontrialbegin = [if (values.nextpicture == 1) values.selectneg = values.neg_B1]
/ontrialbegin = [if (values.nextpicture == 2) values.selectneg = values.neg_B2]
/ontrialbegin = [if (values.nextpicture == 3) values.selectneg = values.neg_B3]
/ontrialbegin = [if (values.nextpicture == 4) values.selectneg = values.neg_B4]
/ontrialbegin = [if (values.nextpicture == 5) values.selectneg = values.neg_B5]
/ontrialbegin = [if (values.nextpicture == 6) values.selectneg = values.neg_B6]
/ontrialbegin = [if (values.nextpicture == 7) values.selectneg = values.neg_B7]

/ stimulustimes = [0 = blank; 1000=manikinbottom,negative]

/isvalidresponse = [trial.negRight_ManikinBottom.response == values.responsekey_left || trial.negRight_ManikinBottom.response == values.responsekey_right]
/iscorrectresponse = [trial.negRight_ManikinBottom.response == values.responsekey_right]
/monkeyresponse = (33, 36)

/ontrialend = [values.stimulus = picture.negative.currentitem]

/ errormessage = (Error, 1000)
/ correctmessage = (manikin_bottom_moveright, 1000)
</trial>
**************************************************************************************************************
**************************************************************************************************************
UTILITY BLOCKS
**************************************************************************************************************
**************************************************************************************************************
These blocks run trial.Assignment and trial.Reassignment to ensure that each picture is
presented once with the manikin on top and once with the manikin on the bottom

<block Assignment>
/trials = [1 = assignment]
</block>

<block Reassignment>
/trials = [1 = reassignment]
</block>
**************************************************************************************************************
**************************************************************************************************************
PRACTICE BLOCKS
**************************************************************************************************************
**************************************************************************************************************
<block practise_approach_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (practise_approach_pos)
/ trials = [1-8 = noreplace(posApproach_ManikinTop,posApproach_ManikinBottom,negAvoid_ManikinTop,negAvoid_ManikinBottom)]
/onblockend = [reset(list.posbottom_pictureindex); reset(list.postop_pictureindex); reset(list.negbottom_pictureindex); reset(list.negtop_pictureindex)]
</block>

<block practise_avoid_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (practise_avoid_pos)
/ trials = [1-8 = noreplace(posAvoid_ManikinTop,posAvoid_ManikinBottom,negApproch_ManikinTop,negApproach_ManikinBottom)]
/onblockend = [reset(list.posbottom_pictureindex); reset(list.postop_pictureindex); reset(list.negbottom_pictureindex); reset(list.negtop_pictureindex)]
</block>

<block practise_left_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (practise_left_pos)
/ trials = [1-8 = noreplace(posLeft_ManikinTop,posLeft_ManikinBottom,negRight_ManikinTop,negRight_ManikinBottom)]
/onblockend = [reset(list.posbottom_pictureindex); reset(list.postop_pictureindex); reset(list.negbottom_pictureindex); reset(list.negtop_pictureindex)]
</block>

<block practise_right_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (practise_right_pos)
/ trials = [1-8 = noreplace(posRight_ManikinTop,posRight_ManikinBottom,negLeft_ManikinTop,negLeft_ManikinBottom)]
/onblockend = [reset(list.posbottom_pictureindex); reset(list.postop_pictureindex); reset(list.negbottom_pictureindex); reset(list.negtop_pictureindex)]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENTAL BLOCKS
**************************************************************************************************************
**************************************************************************************************************
<block main_approach_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (main_approach_pos)
/ trials = [1-28 = noreplace(posApproach_ManikinTop,posApproach_ManikinBottom,negAvoid_ManikinTop,negAvoid_ManikinBottom)]
</block>

<block main_avoid_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (main_avoid_pos)
/ trials = [1-28 = noreplace(posAvoid_ManikinTop,posAvoid_ManikinBottom,negApproch_ManikinTop,negApproach_ManikinBottom)]
</block>

<block main_left_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (main_left_pos)
/ trials = [1-28 = noreplace(posLeft_ManikinTop,posLeft_ManikinBottom,negRight_ManikinTop,negRight_ManikinBottom)]
</block>

<block main_right_pos>
/ screencolor = (0, 0, 0)
/ preinstructions = (main_right_pos)
/ trials = [1-28 = noreplace(posRight_ManikinTop,posRight_ManikinBottom,negLeft_ManikinTop,negLeft_ManikinBottom)]
</block>

**************************************************************************************************************
**************************************************************************************************************
EXPERIMENT
**************************************************************************************************************
**************************************************************************************************************
NOTE:
* 6 experimental conditions: assignment by groupnumber (default, can be changed under /groupassignment)
* each expt runs 3 main blocks
* each of those 3 main blocks are divided into: assignment, practice, experimental subblock 1, reassignment, experimental subblock 2

<expt>
/onexptbegin = [values.expcondition = 1]
/subjects = (1 of 11 )
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_approach_pos; 3 = main_approach_pos; 4 = Reassignment; 5 = main_approach_pos;
6 = Assignment; 7 = practise_avoid_pos; 8 = main_avoid_pos; 9 = Reassignment; 10 = main_avoid_pos;
11 = Assignment; 12 = practise_left_pos; 13 = main_left_pos; 14= Reassignment; 15 = main_left_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 1]
/subjects = (2 of 11 )
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_approach_pos; 3 = main_approach_pos; 4 = Reassignment; 5 = main_approach_pos;
6 = Assignment; 7 = practise_avoid_pos; 8 = main_avoid_pos; 9 = Reassignment; 10 = main_avoid_pos;
11 = Assignment; 12 = practise_left_pos; 13 = main_left_pos; 14= Reassignment; 15 = main_left_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 2]
/subjects = (3 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_approach_pos; 3 = main_approach_pos; 4 = Reassignment; 5 = main_approach_pos;
6 = Assignment; 7 = practise_avoid_pos; 8 = main_avoid_pos; 9 = Reassignment; 10 = main_avoid_pos;
11 = Assignment; 12 = practise_right_pos; 13 = main_right_pos; 14= Reassignment; 15 = main_right_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 2]
/subjects = (4 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_approach_pos; 3 = main_approach_pos; 4 = Reassignment; 5 = main_approach_pos;
6 = Assignment; 7 = practise_avoid_pos; 8 = main_avoid_pos; 9 = Reassignment; 10 = main_avoid_pos;
11 = Assignment; 12 = practise_right_pos; 13 = main_right_pos; 14= Reassignment; 15 = main_right_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 3]
/subjects = (5 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_left_pos; 3 = main_left_pos; 4= Reassignment; 5 = main_left_pos;
6 = Assignment; 7 = practise_approach_pos; 8 = main_approach_pos; 9 = Reassignment; 10 = main_approach_pos;
11 = Assignment; 12 = practise_avoid_pos; 13 = main_avoid_pos; 14 = Reassignment; 15 = main_avoid_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 3]
/subjects = (6 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_left_pos; 3 = main_left_pos; 4= Reassignment; 5 = main_left_pos;
6 = Assignment; 7 = practise_approach_pos; 8 = main_approach_pos; 9 = Reassignment; 10 = main_approach_pos;
11 = Assignment; 12 = practise_avoid_pos; 13 = main_avoid_pos; 14 = Reassignment; 15 = main_avoid_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 4]
/subjects = (7 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_right_pos; 3 = main_right_pos; 4= Reassignment; 5 = main_right_pos;
6 = Assignment; 7 = practise_approach_pos; 8 = main_approach_pos; 9 = Reassignment; 10 = main_approach_pos;
11 = Assignment; 12 = practise_avoid_pos; 13 = main_avoid_pos; 14 = Reassignment; 15 = main_avoid_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 4]
/subjects = (8 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_right_pos; 3 = main_right_pos; 4= Reassignment; 5 = main_right_pos;
6 = Assignment; 7 = practise_approach_pos; 8 = main_approach_pos; 9 = Reassignment; 10 = main_approach_pos;
11 = Assignment; 12 = practise_avoid_pos; 13 = main_avoid_pos; 14 = Reassignment; 15 = main_avoid_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 5]
/subjects = (9 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_avoid_pos; 3 = main_avoid_pos; 4 = Reassignment; 5 = main_avoid_pos;
6 = Assignment; 7 = practise_left_pos; 8 = main_left_pos; 9= Reassignment; 10 = main_left_pos;
11 = Assignment; 12 = practise_approach_pos; 13 = main_approach_pos; 14 = Reassignment; 15 = main_approach_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 5]
/subjects = (10 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_avoid_pos; 3 = main_avoid_pos; 4 = Reassignment; 5 = main_avoid_pos;
6 = Assignment; 7 = practise_left_pos; 8 = main_left_pos; 9= Reassignment; 10 = main_left_pos;
11 = Assignment; 12 = practise_approach_pos; 13 = main_approach_pos; 14 = Reassignment; 15 = main_approach_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>

<expt>
/onexptbegin = [values.expcondition = 6]
/subjects = (11 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_avoid_pos; 3 = main_avoid_pos; 4 = Reassignment; 5 = main_avoid_pos;
6 = Assignment; 7 = practise_right_pos; 8 = main_right_pos; 9= Reassignment; 10 = main_right_pos;
11 = Assignment; 12 = practise_approach_pos; 13 = main_approach_pos; 14 = Reassignment; 15 = main_approach_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>


<expt>
/onexptbegin = [values.expcondition = 6]
/subjects = (12 of 12)
/groupassignment = groupnumber
/blocks = [
1 = Assignment; 2 = practise_avoid_pos; 3 = main_avoid_pos; 4 = Reassignment; 5 = main_avoid_pos;
6 = Assignment; 7 = practise_right_pos; 8 = main_right_pos; 9= Reassignment; 10 = main_right_pos;
11 = Assignment; 12 = practise_approach_pos; 13 = main_approach_pos; 14 = Reassignment; 15 = main_approach_pos]
/preinstructions = (intro)
/ postinstructions = (end)
/onexptend = [values.completed = 1]
</expt>
**************************************************************************************************************
               END OF FILE


I cannot tell you what's wrong with your script if you don't provide the files that are actually needed to run the script. Please put the script and ALL files (images, etc.) in a ZIP archive and attach that ZIP file to this thread (click +Insert -> Add FIle). Please do not paste entire scripts into the body of a post. Thanks.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search