Millisecond Forums

Random assigments of pictures, remaining in pairs throughout the conditioning

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

By ninamis - 4/4/2022

Hello, I'm COMPLETELY  new and I've been struggling to create conditioning. I have 4 neutral images, 2 positive and 2 negative pictures. I need every neutral picture to draw one positive or negative picture and remain in this pair till the end of conditioning. It is essentiall that each time (in case of different particiapnts) every neutral photo schould  randomly choose positive or negative image. I've managed to create drawing but my stimuli pairs are changing, they do not stay together until the end. I would be very gratefull for any help...

dog, dolphins are negative
biketrip, doggys are positive



<item US>
/ 1 = "kitten.bmp"
/ 2 = "kiddy2.bmp"
/ 3 = "chairelctr.bmp"
/ 4 = "roach.bmp"
</item>

<item CS>
/ 1 = "biketrip.bmp"
/ 2 = "dog.bmp"
/ 3 = "doggys.bmp"
/ 4 = "dolphins.bmp"
</item>


<item CSpos>
/1 = "kitten.bmp"
</item>

<item CSneg>
/1 = "roach.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("biketrip.bmp","doggys.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("dog.bmp","dolphins.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block losowanie>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>






<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial warunkowanie>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>


<block 4>
/trials = [1-64=noreplace(warunkowanie)]
/preinstructions = (instr_warunkowanie)
</block>
By Dave - 4/4/2022

You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.
By ninamis - 4/4/2022

Dave - 4/4/2022
You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.

I'm so sorry. I didn't think about it haha. I'm a bit stressed. I'm using differen pictures than in the final version of experiment. That's confusing even for me. I've just changed names of pictures. I hope it will help. I attach the script and pictures so you can play everything. As I said, the problem is that the pairs are changing throughout the conditioning. 
Thank you so much for help!


Conditioning

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>


<item CSpos>
/1 = "neutral1.bmp"
</item>

<item CSneg>
/1 = "neutral4.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("positive1.bmp","positive2.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("negative1.bmp","negative2.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block drawing>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial conditioning>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>



<block 4>
/trials = [1-64=noreplace(conditioning)]
</block>
By ninamis - 4/4/2022

ninamis - 4/4/2022
Dave - 4/4/2022
You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.

I'm so sorry. I didn't think about it haha. I'm a bit stressed. I'm using differen pictures than in the final version of experiment. That's confusing even for me. I've just changed names of pictures. I hope it will help. I attach the script and pictures so you can play everything. As I said, the problem is that the pairs are changing throughout the conditioning. 
Thank you so much for help!


Conditioning

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>


<item CSpos>
/1 = "neutral1.bmp"
</item>

<item CSneg>
/1 = "neutral4.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("positive1.bmp","positive2.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("negative1.bmp","negative2.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block drawing>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial conditioning>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>



<block 4>
/trials = [1-64=noreplace(conditioning)]
</block>

I don't entirely understand this script. Somebody helped me with it. I'm doing my best to explain. I have 4 neutral pictures (CS) and I need them to draw one of 2 positive or 2 negative pictures (US). I need them to stay in pairs till the end of conditioning, so each pair schould appear 16 times. 
By Dave - 4/4/2022

ninamis - 4/4/2022
Dave - 4/4/2022
You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.

I'm so sorry. I didn't think about it haha. I'm a bit stressed. I'm using differen pictures than in the final version of experiment. That's confusing even for me. I've just changed names of pictures. I hope it will help. I attach the script and pictures so you can play everything. As I said, the problem is that the pairs are changing throughout the conditioning. 
Thank you so much for help!


Conditioning

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>


<item CSpos>
/1 = "neutral1.bmp"
</item>

<item CSneg>
/1 = "neutral4.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("positive1.bmp","positive2.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("negative1.bmp","negative2.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block drawing>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial conditioning>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>



<block 4>
/trials = [1-64=noreplace(conditioning)]
</block>

Okay, and you want to do what exactly? Randomly pair each of the 4 neutral images with one of the 4 other (postive / negative) images? E.g.

neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

?
By ninamis - 4/4/2022

Dave - 4/4/2022
ninamis - 4/4/2022
Dave - 4/4/2022
You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.

I'm so sorry. I didn't think about it haha. I'm a bit stressed. I'm using differen pictures than in the final version of experiment. That's confusing even for me. I've just changed names of pictures. I hope it will help. I attach the script and pictures so you can play everything. As I said, the problem is that the pairs are changing throughout the conditioning. 
Thank you so much for help!


Conditioning

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>


<item CSpos>
/1 = "neutral1.bmp"
</item>

<item CSneg>
/1 = "neutral4.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("positive1.bmp","positive2.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("negative1.bmp","negative2.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block drawing>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial conditioning>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>



<block 4>
/trials = [1-64=noreplace(conditioning)]
</block>

Okay, and you want to do what exactly? Randomly pair each of the 4 neutral images with one of the 4 other (postive / negative) images? E.g.

neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

?

Exactly! Make random pairs that stay tougether till the end of conditioning.
For example participnt 1 sees this pairs.
neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

Participant 2:
neutral1 - positive1
neutral2 - negative1
neutral3 - negative2
neutral4 - positive2

ect. Randomly



By ninamis - 4/4/2022

ninamis - 4/4/2022
Dave - 4/4/2022
ninamis - 4/4/2022
Dave - 4/4/2022
You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.

I'm so sorry. I didn't think about it haha. I'm a bit stressed. I'm using differen pictures than in the final version of experiment. That's confusing even for me. I've just changed names of pictures. I hope it will help. I attach the script and pictures so you can play everything. As I said, the problem is that the pairs are changing throughout the conditioning. 
Thank you so much for help!


Conditioning

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>


<item CSpos>
/1 = "neutral1.bmp"
</item>

<item CSneg>
/1 = "neutral4.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("positive1.bmp","positive2.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("negative1.bmp","negative2.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block drawing>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial conditioning>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>



<block 4>
/trials = [1-64=noreplace(conditioning)]
</block>

Okay, and you want to do what exactly? Randomly pair each of the 4 neutral images with one of the 4 other (postive / negative) images? E.g.

neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

?

Exactly! Make random pairs that stay tougether till the end of conditioning.
For example participnt 1 sees this pairs.
neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

Participant 2:
neutral1 - positive1
neutral2 - negative1
neutral3 - negative2
neutral4 - positive2

ect. Randomly



Sorry for all the mistakes in spelling :( Than you sooo much for help
By Dave - 4/4/2022

ninamis - 4/4/2022
ninamis - 4/4/2022
Dave - 4/4/2022
ninamis - 4/4/2022
Dave - 4/4/2022
You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.

I'm so sorry. I didn't think about it haha. I'm a bit stressed. I'm using differen pictures than in the final version of experiment. That's confusing even for me. I've just changed names of pictures. I hope it will help. I attach the script and pictures so you can play everything. As I said, the problem is that the pairs are changing throughout the conditioning. 
Thank you so much for help!


Conditioning

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>


<item CSpos>
/1 = "neutral1.bmp"
</item>

<item CSneg>
/1 = "neutral4.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("positive1.bmp","positive2.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("negative1.bmp","negative2.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block drawing>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial conditioning>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>



<block 4>
/trials = [1-64=noreplace(conditioning)]
</block>

Okay, and you want to do what exactly? Randomly pair each of the 4 neutral images with one of the 4 other (postive / negative) images? E.g.

neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

?

Exactly! Make random pairs that stay tougether till the end of conditioning.
For example participnt 1 sees this pairs.
neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

Participant 2:
neutral1 - positive1
neutral2 - negative1
neutral3 - negative2
neutral4 - positive2

ect. Randomly



Sorry for all the mistakes in spelling :( Than you sooo much for help

Then you can simply do someting like this:

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
/ select = values.USitemnumber
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
/ select = values.CSitemnumber
</picture>

// list.cs and list.us pair item numbers
<list cs>
</list>

<list us>
/ items = (1,2,3,4)
/ selectionmode = list.cs.currentindex
</list>

<list randomizecs>
/ poolsize = 4
/ selectionrate = always
</list>

<values>
/ CSitemnumber = 1
/ USitemnumber = 1
</values>

<trial conditioning>
/ ontrialbegin = [
    values.CSitemnumber = list.cs.nextvalue;
    values.USitemnumber = list.us.nextvalue;
]

/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>

<block 4>
/ onblockbegin = [
    var i = 0;
    while(i < 4) {
        list.cs.appenditem(list.randomizecs.nextindex);
        i += 1;
    };
]
/trials = [1-64=noreplace(conditioning)]
</block>
By ninamis - 4/4/2022

Dave - 4/4/2022
ninamis - 4/4/2022
ninamis - 4/4/2022
Dave - 4/4/2022
ninamis - 4/4/2022
Dave - 4/4/2022
You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.

I'm so sorry. I didn't think about it haha. I'm a bit stressed. I'm using differen pictures than in the final version of experiment. That's confusing even for me. I've just changed names of pictures. I hope it will help. I attach the script and pictures so you can play everything. As I said, the problem is that the pairs are changing throughout the conditioning. 
Thank you so much for help!


Conditioning

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>


<item CSpos>
/1 = "neutral1.bmp"
</item>

<item CSneg>
/1 = "neutral4.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("positive1.bmp","positive2.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("negative1.bmp","negative2.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block drawing>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial conditioning>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>



<block 4>
/trials = [1-64=noreplace(conditioning)]
</block>

Okay, and you want to do what exactly? Randomly pair each of the 4 neutral images with one of the 4 other (postive / negative) images? E.g.

neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

?

Exactly! Make random pairs that stay tougether till the end of conditioning.
For example participnt 1 sees this pairs.
neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

Participant 2:
neutral1 - positive1
neutral2 - negative1
neutral3 - negative2
neutral4 - positive2

ect. Randomly



Sorry for all the mistakes in spelling :( Than you sooo much for help

Then you can simply do someting like this:

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
/ select = values.USitemnumber
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
/ select = values.CSitemnumber
</picture>

// list.cs and list.us pair item numbers
<list cs>
</list>

<list us>
/ items = (1,2,3,4)
/ selectionmode = list.cs.currentindex
</list>

<list randomizecs>
/ poolsize = 4
/ selectionrate = always
</list>

<values>
/ CSitemnumber = 1
/ USitemnumber = 1
</values>

<trial conditioning>
/ ontrialbegin = [
    values.CSitemnumber = list.cs.nextvalue;
    values.USitemnumber = list.us.nextvalue;
]

/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>

<block 4>
/ onblockbegin = [
    var i = 0;
    while(i < 4) {
        list.cs.appenditem(list.randomizecs.nextindex);
        i += 1;
    };
]
/trials = [1-64=noreplace(conditioning)]
</block>

Wow, it's working!! I'm very grateful !!!!!! I need to learn more about Inquisit :))
By Dave - 4/4/2022

ninamis - 4/4/2022
Dave - 4/4/2022
ninamis - 4/4/2022
ninamis - 4/4/2022
Dave - 4/4/2022
ninamis - 4/4/2022
Dave - 4/4/2022
You should explain what this code is supposed to do in the first place. As-is, it does not make any sense.

I'm so sorry. I didn't think about it haha. I'm a bit stressed. I'm using differen pictures than in the final version of experiment. That's confusing even for me. I've just changed names of pictures. I hope it will help. I attach the script and pictures so you can play everything. As I said, the problem is that the pairs are changing throughout the conditioning. 
Thank you so much for help!


Conditioning

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>


<item CSpos>
/1 = "neutral1.bmp"
</item>

<item CSneg>
/1 = "neutral4.bmp"
</item>

<counter los_bodz_pos>
/ select = noreplace
/ selectionrate = always
/ items = ("positive1.bmp","positive2.bmp")
</counter>

<counter los_bodz_neg>
/ select = noreplace
/ selectionrate = always
/ items = ("negative1.bmp","negative2.bmp")
</counter>

<trial los_pos>
/ trialduration = 0
/ ontrialend = [
    item.CSpos.item = counter.los_bodz_pos.selectedvalue
]
</trial>
<trial los_neg>
/ trialduration = 0
/ ontrialend = [
    item.CSneg.item = counter.los_bodz_neg.selectedvalue
]
</trial>

<block drawing>
/ onblockbegin = [
    item.CSpos.clearitems(); item.CSneg.clearitems()
]
/ trials = [1-4 = noreplace(los_pos,los_neg)]

</block>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
</picture>


<trial conditioning>
/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>



<block 4>
/trials = [1-64=noreplace(conditioning)]
</block>

Okay, and you want to do what exactly? Randomly pair each of the 4 neutral images with one of the 4 other (postive / negative) images? E.g.

neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

?

Exactly! Make random pairs that stay tougether till the end of conditioning.
For example participnt 1 sees this pairs.
neutral1 - positive2
neutral2 - negative2
neutral3 - negative1
neutral4 - positive1

Participant 2:
neutral1 - positive1
neutral2 - negative1
neutral3 - negative2
neutral4 - positive2

ect. Randomly



Sorry for all the mistakes in spelling :( Than you sooo much for help

Then you can simply do someting like this:

<item US>
/ 1 = "neutral1.bmp"
/ 2 = "neutral2.bmp"
/ 3 = "neutral3.bmp"
/ 4 = "neutral4.bmp"
</item>

<item CS>
/ 1 = "positive1.bmp"
/ 2 = "negative1.bmp"
/ 3 = "positive2.bmp"
/ 4 = "negative2.bmp"
</item>

<picture US>
/ items = US
/ position = (50%, 50%)
/ size = (30%, 30%)
/ select = values.USitemnumber
</picture>

<picture CS>
/ items = CS
/ position = (50%, 50%)
/ size = (30%, 30%)
/ select = values.CSitemnumber
</picture>

// list.cs and list.us pair item numbers
<list cs>
</list>

<list us>
/ items = (1,2,3,4)
/ selectionmode = list.cs.currentindex
</list>

<list randomizecs>
/ poolsize = 4
/ selectionrate = always
</list>

<values>
/ CSitemnumber = 1
/ USitemnumber = 1
</values>

<trial conditioning>
/ ontrialbegin = [
    values.CSitemnumber = list.cs.nextvalue;
    values.USitemnumber = list.us.nextvalue;
]

/ stimulustimes = [0= picture.CS; 1000=picture.US]
/ timeout = 4000
/ pretrialpause = 2000
</trial>

<block 4>
/ onblockbegin = [
    var i = 0;
    while(i < 4) {
        list.cs.appenditem(list.randomizecs.nextindex);
        i += 1;
    };
]
/trials = [1-64=noreplace(conditioning)]
</block>

Wow, it's working!! I'm very grateful !!!!!! I need to learn more about Inquisit :))

The programmer's manual is a good starting point: https://www.millisecond.com/support/Inquisit%20Programmer's%20Manual.pdf