Presenting just one randomly picked item out of a pool of items


Author
Message
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: 99K
Clara - Tuesday, June 13, 2017
Hey Dave, 

could I also, instead of using a batch file or the include element, write literally everything of the 5 IATs in just one file and set up different <expt> element in that one file for each possible IAT-order?

Best, 
Clara

> could I also, instead of using a batch file or the include element, write literally everything of the 5 IATs in just one file and set up different <expt> element in
> that one file for each possible IAT-order?

Yes, you can absolutely do that. But note that this is basically the same as using <include>. All <include> does is effectively paste the contents of an external script file into the "main" file.


Edited 7 Years Ago by Dave
Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Dave - Tuesday, June 13, 2017
Clara - Tuesday, June 13, 2017
Hey Dave, 

could I also, instead of using a batch file or the include element, write literally everything of the 5 IATs in just one file and set up different <expt> element in that one file for each possible IAT-order?

Best, 
Clara

> could I also, instead of using a batch file or the include element, write literally everything of the 5 IATs in just one file and set up different <expt> element in
> that one file for each possible IAT-order?

Yes, you can absolutely do that. But note that this is basically the same as using <include>. All <include> does is effectively paste the contents of an external script file into the "main" file.


Thank you very much :) 
Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127



Hey Dave, as you may remember I paired pictures with values in my inquisit file. I did this in the inquisit 5.0 version and now I wanted to test the script in our laboratory which has only Inquisit 4.0 and this error message occurred. As you can see the brackets are not actually missing but I do not know how to resolve the problem. 
Maybe you can help me again, I would really appreciate that! 

Thanks 
Clara 

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: 99K
Clara - Wednesday, June 28, 2017



Hey Dave, as you may remember I paired pictures with values in my inquisit file. I did this in the inquisit 5.0 version and now I wanted to test the script in our laboratory which has only Inquisit 4.0 and this error message occurred. As you can see the brackets are not actually missing but I do not know how to resolve the problem. 
Maybe you can help me again, I would really appreciate that! 

Thanks 
Clara 

It needs to read

<list targetdlist_Cel>
/ items = (-0.65, -0.36, -0.16, 0.0, 0.16, 0.36, 0.65)
/ selectionmode = picture.targetdpicture_Cel.nextvalue
</list>

There is no /select attribute for <list>s in Inquisit 4.

I'd also recommend you use the version you're going to use to collect data (here: Inquisit 4) to program your scripts in the future. If you rely on syntax features that were only introduced in Inquisit 5, your script will not work under Inquisit 4.

Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Dave - Wednesday, June 28, 2017
Clara - Wednesday, June 28, 2017



Hey Dave, as you may remember I paired pictures with values in my inquisit file. I did this in the inquisit 5.0 version and now I wanted to test the script in our laboratory which has only Inquisit 4.0 and this error message occurred. As you can see the brackets are not actually missing but I do not know how to resolve the problem. 
Maybe you can help me again, I would really appreciate that! 

Thanks 
Clara 

It needs to read

<list targetdlist_Cel>
/ items = (-0.65, -0.36, -0.16, 0.0, 0.16, 0.36, 0.65)
/ selectionmode = picture.targetdpicture_Cel.nextvalue
</list>

There is no /select attribute for <list>s in Inquisit 4.

I'd also recommend you use the version you're going to use to collect data (here: Inquisit 4) to program your scripts in the future. If you rely on syntax features that were only introduced in Inquisit 5, your script will not work under Inquisit 4.

Thank you very much!
Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127

 Hey Dave, 

are there any differences in the following commands for MAC and Windows Versions?
The script is running fine in Inquisit 4 and 5 on my mac. But today I tried it with a windows PC in the Inquisit 4 Version and the "targetreminder" (showing the picture again, which was randomly chosen at the beginning in front of every respective IAT. They get 5 pictures at the beginning and then each picture will be shown again once during the experiment) did not work. It did not show the pictures which were randomly chosen at the beginning. Instead it showed any pictures from the collection.

Do you have any idea what I need to change that it will do the same in the inquisit 4 windows version? 
(I already changed the "select" from inquisit 5 to "selectionmode" in inquisit 4)

Thank you!




*****************************************
****************Asia IAT****************
*****************************************

<picture targetdpicture_As>
/ items = ("As-2.bmp", "As-1.bmp", "As0.bmp", "As+1.bmp", "As+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_As>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_As.nextvalue
</list>


<values>
/ targetd_As = 0
/ targetdmagnitude_As = ""
/ targetdpreferred_As = ""
/ targetdnotpreferred_As = ""
/ goalachieved_As = false
</values>


<trial targetdtrial_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_As = "geringe bis gar keine";
if( abs(values.targetd_As) > 0.15 ) values.targetdmagnitude_As = "leichte";
if( abs(values.targetd_As) > 0.35 ) values.targetdmagnitude_As = "moderate";
if( abs(values.targetd_As) >= 0.65 ) values.targetdmagnitude_As = "starke";
if (values.targetd_As >= 0.0) values.targetdpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdpreferred_As = item.outgroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdnotpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As >= 0.0) values.targetdnotpreferred_As = item.outgroupLabel_As.1;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_As>
/ trials = [1=targetdtrial_As]
</block>


<trial targetdreminder_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_As>
/ trials = [1=targetdreminder_As]
</block>



*****************************************
****************Black IAT****************
*****************************************
<picture targetdpicture_Bl>
/ items = ("Bl-2.bmp", "Bl-1.bmp", "Bl0.bmp", "Bl+1.bmp", "Bl+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_Bl>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_Bl.nextvalue
</list>


<values>
/ targetd_Bl = 0
/ targetdmagnitude_Bl = ""
/ targetdpreferred_Bl = ""
/ targetdnotpreferred_Bl = ""
/ goalachieved_Bl = false
</values>


<trial targetdtrial_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_Bl = "geringe bis gar keine";
if( abs(values.targetd_Bl) > 0.15 ) values.targetdmagnitude_Bl = "leichte";
if( abs(values.targetd_Bl) > 0.35 ) values.targetdmagnitude_Bl = "moderate";
if( abs(values.targetd_Bl) >= 0.65 ) values.targetdmagnitude_Bl = "starke";
if (values.targetd_Bl >= 0.0) values.targetdpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdpreferred_Bl = item.outgroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdnotpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl >= 0.0) values.targetdnotpreferred_Bl = item.outgroupLabel_Bl.1;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_Bl>
/ trials = [1=targetdtrial_Bl]
</block>


<trial targetdreminder_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_Bl>
/ trials = [1=targetdreminder_Bl]
</block>


*****not the whole experiment******

<expt>
/blocks = [1=givetargetd_As; 2=givetargetd_Bl; 3=targetdreminder_As; 4=targetdreminder_Bl]
</expt>



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: 99K
Clara - Friday, June 30, 2017

 Hey Dave, 

are there any differences in the following commands for MAC and Windows Versions?
The script is running fine in Inquisit 4 and 5 on my mac. But today I tried it with a windows PC in the Inquisit 4 Version and the "targetreminder" (showing the picture again, which was randomly chosen at the beginning in front of every respective IAT. They get 5 pictures at the beginning and then each picture will be shown again once during the experiment) did not work. It did not show the pictures which were randomly chosen at the beginning. Instead it showed any pictures from the collection.

Do you have any idea what I need to change that it will do the same in the inquisit 4 windows version? 
(I already changed the "select" from inquisit 5 to "selectionmode" in inquisit 4)

Thank you!




*****************************************
****************Asia IAT****************
*****************************************

<picture targetdpicture_As>
/ items = ("As-2.bmp", "As-1.bmp", "As0.bmp", "As+1.bmp", "As+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_As>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_As.nextvalue
</list>


<values>
/ targetd_As = 0
/ targetdmagnitude_As = ""
/ targetdpreferred_As = ""
/ targetdnotpreferred_As = ""
/ goalachieved_As = false
</values>


<trial targetdtrial_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_As = "geringe bis gar keine";
if( abs(values.targetd_As) > 0.15 ) values.targetdmagnitude_As = "leichte";
if( abs(values.targetd_As) > 0.35 ) values.targetdmagnitude_As = "moderate";
if( abs(values.targetd_As) >= 0.65 ) values.targetdmagnitude_As = "starke";
if (values.targetd_As >= 0.0) values.targetdpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdpreferred_As = item.outgroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdnotpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As >= 0.0) values.targetdnotpreferred_As = item.outgroupLabel_As.1;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_As>
/ trials = [1=targetdtrial_As]
</block>


<trial targetdreminder_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_As>
/ trials = [1=targetdreminder_As]
</block>



*****************************************
****************Black IAT****************
*****************************************
<picture targetdpicture_Bl>
/ items = ("Bl-2.bmp", "Bl-1.bmp", "Bl0.bmp", "Bl+1.bmp", "Bl+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_Bl>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_Bl.nextvalue
</list>


<values>
/ targetd_Bl = 0
/ targetdmagnitude_Bl = ""
/ targetdpreferred_Bl = ""
/ targetdnotpreferred_Bl = ""
/ goalachieved_Bl = false
</values>


<trial targetdtrial_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_Bl = "geringe bis gar keine";
if( abs(values.targetd_Bl) > 0.15 ) values.targetdmagnitude_Bl = "leichte";
if( abs(values.targetd_Bl) > 0.35 ) values.targetdmagnitude_Bl = "moderate";
if( abs(values.targetd_Bl) >= 0.65 ) values.targetdmagnitude_Bl = "starke";
if (values.targetd_Bl >= 0.0) values.targetdpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdpreferred_Bl = item.outgroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdnotpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl >= 0.0) values.targetdnotpreferred_Bl = item.outgroupLabel_Bl.1;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_Bl>
/ trials = [1=targetdtrial_Bl]
</block>


<trial targetdreminder_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_Bl>
/ trials = [1=targetdreminder_Bl]
</block>


*****not the whole experiment******

<expt>
/blocks = [1=givetargetd_As; 2=givetargetd_Bl; 3=targetdreminder_As; 4=targetdreminder_Bl]
</expt>



There are no syntax differences between the Mac and Windows versions of Inquisit 4. I'd suspect that the Windows PC you used has a different (outdated) Inquisit 4 version installed than you used on your Mac. Please make sure you use the same, latest Inquisit 4 release on both.

Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Dave - Friday, June 30, 2017
Clara - Friday, June 30, 2017

 Hey Dave, 

are there any differences in the following commands for MAC and Windows Versions?
The script is running fine in Inquisit 4 and 5 on my mac. But today I tried it with a windows PC in the Inquisit 4 Version and the "targetreminder" (showing the picture again, which was randomly chosen at the beginning in front of every respective IAT. They get 5 pictures at the beginning and then each picture will be shown again once during the experiment) did not work. It did not show the pictures which were randomly chosen at the beginning. Instead it showed any pictures from the collection.

Do you have any idea what I need to change that it will do the same in the inquisit 4 windows version? 
(I already changed the "select" from inquisit 5 to "selectionmode" in inquisit 4)

Thank you!




*****************************************
****************Asia IAT****************
*****************************************

<picture targetdpicture_As>
/ items = ("As-2.bmp", "As-1.bmp", "As0.bmp", "As+1.bmp", "As+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_As>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_As.nextvalue
</list>


<values>
/ targetd_As = 0
/ targetdmagnitude_As = ""
/ targetdpreferred_As = ""
/ targetdnotpreferred_As = ""
/ goalachieved_As = false
</values>


<trial targetdtrial_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_As = "geringe bis gar keine";
if( abs(values.targetd_As) > 0.15 ) values.targetdmagnitude_As = "leichte";
if( abs(values.targetd_As) > 0.35 ) values.targetdmagnitude_As = "moderate";
if( abs(values.targetd_As) >= 0.65 ) values.targetdmagnitude_As = "starke";
if (values.targetd_As >= 0.0) values.targetdpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdpreferred_As = item.outgroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdnotpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As >= 0.0) values.targetdnotpreferred_As = item.outgroupLabel_As.1;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_As>
/ trials = [1=targetdtrial_As]
</block>


<trial targetdreminder_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_As>
/ trials = [1=targetdreminder_As]
</block>



*****************************************
****************Black IAT****************
*****************************************
<picture targetdpicture_Bl>
/ items = ("Bl-2.bmp", "Bl-1.bmp", "Bl0.bmp", "Bl+1.bmp", "Bl+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_Bl>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_Bl.nextvalue
</list>


<values>
/ targetd_Bl = 0
/ targetdmagnitude_Bl = ""
/ targetdpreferred_Bl = ""
/ targetdnotpreferred_Bl = ""
/ goalachieved_Bl = false
</values>


<trial targetdtrial_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_Bl = "geringe bis gar keine";
if( abs(values.targetd_Bl) > 0.15 ) values.targetdmagnitude_Bl = "leichte";
if( abs(values.targetd_Bl) > 0.35 ) values.targetdmagnitude_Bl = "moderate";
if( abs(values.targetd_Bl) >= 0.65 ) values.targetdmagnitude_Bl = "starke";
if (values.targetd_Bl >= 0.0) values.targetdpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdpreferred_Bl = item.outgroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdnotpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl >= 0.0) values.targetdnotpreferred_Bl = item.outgroupLabel_Bl.1;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_Bl>
/ trials = [1=targetdtrial_Bl]
</block>


<trial targetdreminder_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_Bl>
/ trials = [1=targetdreminder_Bl]
</block>


*****not the whole experiment******

<expt>
/blocks = [1=givetargetd_As; 2=givetargetd_Bl; 3=targetdreminder_As; 4=targetdreminder_Bl]
</expt>



There are no syntax differences between the Mac and Windows versions of Inquisit 4. I'd suspect that the Windows PC you used has a different (outdated) Inquisit 4 version installed than you used on your Mac. Please make sure you use the same, latest Inquisit 4 release on both.

That could be the case actually! However, we do only have the license for this supposed outdated Inquisit 4 version. How can I find out which commands it need to run like I programmed it on the other versions (test versions) ... it's actually all about logistic difficulties, that I use different versions, but I'm afraid that the chair I'm working for won't update their inquest license... 
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: 99K
Clara - Sunday, July 2, 2017
Dave - Friday, June 30, 2017
Clara - Friday, June 30, 2017

 Hey Dave, 

are there any differences in the following commands for MAC and Windows Versions?
The script is running fine in Inquisit 4 and 5 on my mac. But today I tried it with a windows PC in the Inquisit 4 Version and the "targetreminder" (showing the picture again, which was randomly chosen at the beginning in front of every respective IAT. They get 5 pictures at the beginning and then each picture will be shown again once during the experiment) did not work. It did not show the pictures which were randomly chosen at the beginning. Instead it showed any pictures from the collection.

Do you have any idea what I need to change that it will do the same in the inquisit 4 windows version? 
(I already changed the "select" from inquisit 5 to "selectionmode" in inquisit 4)

Thank you!




*****************************************
****************Asia IAT****************
*****************************************

<picture targetdpicture_As>
/ items = ("As-2.bmp", "As-1.bmp", "As0.bmp", "As+1.bmp", "As+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_As>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_As.nextvalue
</list>


<values>
/ targetd_As = 0
/ targetdmagnitude_As = ""
/ targetdpreferred_As = ""
/ targetdnotpreferred_As = ""
/ goalachieved_As = false
</values>


<trial targetdtrial_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_As = "geringe bis gar keine";
if( abs(values.targetd_As) > 0.15 ) values.targetdmagnitude_As = "leichte";
if( abs(values.targetd_As) > 0.35 ) values.targetdmagnitude_As = "moderate";
if( abs(values.targetd_As) >= 0.65 ) values.targetdmagnitude_As = "starke";
if (values.targetd_As >= 0.0) values.targetdpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdpreferred_As = item.outgroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdnotpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As >= 0.0) values.targetdnotpreferred_As = item.outgroupLabel_As.1;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_As>
/ trials = [1=targetdtrial_As]
</block>


<trial targetdreminder_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_As>
/ trials = [1=targetdreminder_As]
</block>



*****************************************
****************Black IAT****************
*****************************************
<picture targetdpicture_Bl>
/ items = ("Bl-2.bmp", "Bl-1.bmp", "Bl0.bmp", "Bl+1.bmp", "Bl+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_Bl>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_Bl.nextvalue
</list>


<values>
/ targetd_Bl = 0
/ targetdmagnitude_Bl = ""
/ targetdpreferred_Bl = ""
/ targetdnotpreferred_Bl = ""
/ goalachieved_Bl = false
</values>


<trial targetdtrial_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_Bl = "geringe bis gar keine";
if( abs(values.targetd_Bl) > 0.15 ) values.targetdmagnitude_Bl = "leichte";
if( abs(values.targetd_Bl) > 0.35 ) values.targetdmagnitude_Bl = "moderate";
if( abs(values.targetd_Bl) >= 0.65 ) values.targetdmagnitude_Bl = "starke";
if (values.targetd_Bl >= 0.0) values.targetdpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdpreferred_Bl = item.outgroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdnotpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl >= 0.0) values.targetdnotpreferred_Bl = item.outgroupLabel_Bl.1;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_Bl>
/ trials = [1=targetdtrial_Bl]
</block>


<trial targetdreminder_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_Bl>
/ trials = [1=targetdreminder_Bl]
</block>


*****not the whole experiment******

<expt>
/blocks = [1=givetargetd_As; 2=givetargetd_Bl; 3=targetdreminder_As; 4=targetdreminder_Bl]
</expt>



There are no syntax differences between the Mac and Windows versions of Inquisit 4. I'd suspect that the Windows PC you used has a different (outdated) Inquisit 4 version installed than you used on your Mac. Please make sure you use the same, latest Inquisit 4 release on both.

That could be the case actually! However, we do only have the license for this supposed outdated Inquisit 4 version. How can I find out which commands it need to run like I programmed it on the other versions (test versions) ... it's actually all about logistic difficulties, that I use different versions, but I'm afraid that the chair I'm working for won't update their inquest license... 

You don't need a new license or a license upgrade. Updates within a major version (e.g. Inquisit 4.0.3.0 to Inquisit 4.0.10.0) do not cost anything. Simply download the latest Inquisit 4 release from the download page https://www.millisecond.com/download/ and install it.

Clara
Clara
Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)Expert (1.1K reputation)
Group: Forum Members
Posts: 20, Visits: 127
Dave - Monday, July 3, 2017
Clara - Sunday, July 2, 2017
Dave - Friday, June 30, 2017
Clara - Friday, June 30, 2017

 Hey Dave, 

are there any differences in the following commands for MAC and Windows Versions?
The script is running fine in Inquisit 4 and 5 on my mac. But today I tried it with a windows PC in the Inquisit 4 Version and the "targetreminder" (showing the picture again, which was randomly chosen at the beginning in front of every respective IAT. They get 5 pictures at the beginning and then each picture will be shown again once during the experiment) did not work. It did not show the pictures which were randomly chosen at the beginning. Instead it showed any pictures from the collection.

Do you have any idea what I need to change that it will do the same in the inquisit 4 windows version? 
(I already changed the "select" from inquisit 5 to "selectionmode" in inquisit 4)

Thank you!




*****************************************
****************Asia IAT****************
*****************************************

<picture targetdpicture_As>
/ items = ("As-2.bmp", "As-1.bmp", "As0.bmp", "As+1.bmp", "As+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_As>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_As.nextvalue
</list>


<values>
/ targetd_As = 0
/ targetdmagnitude_As = ""
/ targetdpreferred_As = ""
/ targetdnotpreferred_As = ""
/ goalachieved_As = false
</values>


<trial targetdtrial_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_As = "geringe bis gar keine";
if( abs(values.targetd_As) > 0.15 ) values.targetdmagnitude_As = "leichte";
if( abs(values.targetd_As) > 0.35 ) values.targetdmagnitude_As = "moderate";
if( abs(values.targetd_As) >= 0.65 ) values.targetdmagnitude_As = "starke";
if (values.targetd_As >= 0.0) values.targetdpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdpreferred_As = item.outgroupLabel_As.1;
if (values.targetd_As < 0.0) values.targetdnotpreferred_As = item.ingroupLabel_As.1;
if (values.targetd_As >= 0.0) values.targetdnotpreferred_As = item.outgroupLabel_As.1;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_As>
/ trials = [1=targetdtrial_As]
</block>


<trial targetdreminder_As>
/ ontrialbegin = [
values.targetd_As = list.targetdlist_As.nextvalue;]
/ stimulustimes = [1=targetdpicture_As]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_As>
/ trials = [1=targetdreminder_As]
</block>



*****************************************
****************Black IAT****************
*****************************************
<picture targetdpicture_Bl>
/ items = ("Bl-2.bmp", "Bl-1.bmp", "Bl0.bmp", "Bl+1.bmp", "Bl+2.bmp")
/ select = noreplace
/ selectionrate = experiment
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<list targetdlist_Bl>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_Bl.nextvalue
</list>


<values>
/ targetd_Bl = 0
/ targetdmagnitude_Bl = ""
/ targetdpreferred_Bl = ""
/ targetdnotpreferred_Bl = ""
/ goalachieved_Bl = false
</values>


<trial targetdtrial_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_Bl = "geringe bis gar keine";
if( abs(values.targetd_Bl) > 0.15 ) values.targetdmagnitude_Bl = "leichte";
if( abs(values.targetd_Bl) > 0.35 ) values.targetdmagnitude_Bl = "moderate";
if( abs(values.targetd_Bl) >= 0.65 ) values.targetdmagnitude_Bl = "starke";
if (values.targetd_Bl >= 0.0) values.targetdpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdpreferred_Bl = item.outgroupLabel_Bl.1;
if (values.targetd_Bl < 0.0) values.targetdnotpreferred_Bl = item.ingroupLabel_Bl.1;
if (values.targetd_Bl >= 0.0) values.targetdnotpreferred_Bl = item.outgroupLabel_Bl.1;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_Bl>
/ trials = [1=targetdtrial_Bl]
</block>


<trial targetdreminder_Bl>
/ ontrialbegin = [
values.targetd_Bl = list.targetdlist_Bl.nextvalue;]
/ stimulustimes = [1=targetdpicture_Bl]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_Bl>
/ trials = [1=targetdreminder_Bl]
</block>


*****not the whole experiment******

<expt>
/blocks = [1=givetargetd_As; 2=givetargetd_Bl; 3=targetdreminder_As; 4=targetdreminder_Bl]
</expt>



There are no syntax differences between the Mac and Windows versions of Inquisit 4. I'd suspect that the Windows PC you used has a different (outdated) Inquisit 4 version installed than you used on your Mac. Please make sure you use the same, latest Inquisit 4 release on both.

That could be the case actually! However, we do only have the license for this supposed outdated Inquisit 4 version. How can I find out which commands it need to run like I programmed it on the other versions (test versions) ... it's actually all about logistic difficulties, that I use different versions, but I'm afraid that the chair I'm working for won't update their inquest license... 

You don't need a new license or a license upgrade. Updates within a major version (e.g. Inquisit 4.0.3.0 to Inquisit 4.0.10.0) do not cost anything. Simply download the latest Inquisit 4 release from the download page https://www.millisecond.com/download/ and install it.

Thank you, I found a way to solve it :) .... 

<picture targetdpicture_Cel>
/ items = ("Cel-2.bmp", "Cel-1.bmp", "Cel0.bmp", "Cel+1.bmp", "Cel+2.bmp")
/position = (50, 50)
/ select = noreplace
/ size = (100%, 100%)
</picture>


<list targetdlist_Cel>
/ items = (-0.36, -0.16, 0.0, 0.16, 0.36)
/ selectionmode = picture.targetdpicture_Cel.nextvalue
</list>


<values>
/ targetd_Cel = 0
/ targetdmagnitude_Cel = ""
/ targetdpreferred_Cel = ""
/ targetdnotpreferred_Cel = ""
/ goalachieved_Cel = false
</values>


<trial targetdtrial_Cel>
/ ontrialbegin = [
values.targetd_Cel = list.targetdlist_Cel.nextvalue;]
/ ontrialbegin = [
values.targetdmagnitude_Cel = "geringe bis gar keine";
if( abs(values.targetd_Cel) > 0.15 ) values.targetdmagnitude_Cel = "leichte";
if( abs(values.targetd_Cel) > 0.35 ) values.targetdmagnitude_Cel = "moderate";
if( abs(values.targetd_Cel) >= 0.65 ) values.targetdmagnitude_Cel = "starke";
if (values.targetd_Cel >= 0.0) values.targetdpreferred_Cel = item.ingroupLabel_Cel.1;
if (values.targetd_Cel < 0.0) values.targetdpreferred_Cel = item.outgroupLabel_Cel.1;
if (values.targetd_Cel < 0.0) values.targetdnotpreferred_Cel = item.ingroupLabel_Cel.1;
if (values.targetd_Cel >= 0.0) values.targetdnotpreferred_Cel = item.outgroupLabel_Cel.1;]
/ stimulustimes = [1=targetdpicture_Cel]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block givetargetd_Cel>
/ trials = [1=targetdtrial_Cel]
</block>


<picture targetdpictureShow_Cel>
/ items = ("Cel-2.bmp", "Cel-1.bmp", "Cel0.bmp", "Cel+1.bmp", "Cel+2.bmp")
/select = picture.targetdpicture_Cel.currentindex
/position = (50, 50)
/ size = (100%, 100%)
</picture>


<trial targetdreminder_Cel>
/ stimulustimes = [1=targetdpictureShow_Cel]
/ validresponse = (" ")
/ recorddata = false
</trial>


<block targetdreminder_Cel>
/ trials = [1=targetdreminder_Cel]


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search