Inquisit 4 to Inquisit 3


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: 13K, Visits: 109K
<counter> elements are covered in the Inquisit 4 language reference in the Inquisit 4 documentation; a better place to look is the Inquisit 3 documentation. I would in addition recommend (re-)writing / modifying your script using Inquisit 3 if that's the version you are ultimately going to use / collect data with. In addition, hundreds of examples using <counter> elements are available in the Inquisit 3 section of this forum: https://www.millisecond.com/forums/Forum12.aspx

The equivalent to

<list slidevalues>
/ items = (5,8,20,50,125,5,8,20,50,125,5,8,20,50,125,5,8,20,50,125,5,8,20,50,125)
/selectionmode = random
</list>

<list slideprob>
/ items = (13, 13, 13, 13, 13, 25, 25, 25, 25, 25, 38, 38, 38, 38, 38, 50, 50, 50, 50, 50, 75, 75, 75, 75, 75)
/selectionmode = list.slidevalues.currentindex
</list>

would be

<counter slidevalues>
/ items = (5,8,20,50,125,5,8,20,50,125,5,8,20,50,125,5,8,20,50,125,5,8,20,50,125)
/ select = noreplace
</counter>

<counter slideprob>
/ items = (13, 13, 13, 13, 13, 25, 25, 25, 25, 25, 38, 38, 38, 38, 38, 50, 50, 50, 50, 50, 75, 75, 75, 75, 75)
/ select = current(slidevalues)
</counter>

with

<trial sometrial>
/ ontrialbegin = [values.s_value = counter.slidevalues.selectedvalue;
    values.s_prob = counter.slideprob.selectedvalue; ]
...
</trial>

<values>
/ s_value = 0
/ s_prob = 0
</values>

to sample items from the two counters.

I've laid out the most important differences between Inquisit 4 and 3 syntax, including what you need to change to go from 4 to 3, throughout various threads. See e.g. https://www.millisecond.com/forums/Topic16606.aspx and https://www.millisecond.com/forums/Topic15587.aspx#bm15588 .

nonamenick
nonamenick
Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)
Group: Awaiting Activation
Posts: 20, Visits: 100
Oh. Ok. I use the list function quite a bit. I use it to pair up two different numbers with each picture (A winning amount and a winning percentage)

<list slidevalues>
/ items = (5,8,20,50,125,5,8,20,50,125,5,8,20,50,125,5,8,20,50,125,5,8,20,50,125)
/selectionmode = random
</list>

<list slideprob>
/ items = (13, 13, 13, 13, 13, 25, 25, 25, 25, 25, 38, 38, 38, 38, 38, 50, 50, 50, 50, 50, 75, 75, 75, 75, 75)
/selectionmode = list.slidevalues.currentindex
</list>

I could not find anything on counters in the language reference, and simply replacing all the "list" language with counters did not work. Is there a certain way to pair these numbers with these pictures using the counter function?

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: 13K, Visits: 109K
There are no <list> elements in Inquisit 3 syntax. <list> elements were introduced in Inquisit 4. You need to replace them with the Inquisit 3 predecessor: <counter> elements.

nonamenick
nonamenick
Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)
Group: Awaiting Activation
Posts: 20, Visits: 100
So I wrote the script for my experiment in Inquisit 4 but for the purpose of the lab it must also be compatible with Inqusist 3. After opening my experiment in Inquisit 3, I get a number of errors regarding the pictures I have in the script. 

It has trouble finding them, however, it works fine in Inqusit 4. All the pictures are in .jpg form and are located in the same file as the experiment. 

Here is an example of some script:

<picture risk_slides>
/items = ("1#5#13.jpg","1#8#13.jpg","1#20#13.jpg","1#50#13.jpg","1#125#13.jpg",
"1#5#25.jpg","1#8#25.jpg","1#20#25.jpg","1#50#25.jpg","1#125#25.jpg",
"1#5#38.jpg","1#8#38.jpg","1#20#38.jpg","1#50#38.jpg","1#125#38.jpg",
"1#5#50.jpg","1#8#50.jpg","1#20#50.jpg","1#50#50.jpg","1#125#50.jpg",
"1#5#75.jpg","1#8#75.jpg","1#20#75.jpg","1#50#75.jpg","1#125#75.jpg",)
/ size = (82%, 82%)
/ select = list.slidevalues.currentindex
</picture>

There are a few of these item lists for different pictures. There are also errors involving the list.slidevalues.currentindex, however, I think that is just an issue with the program not being able to find the pictures.

Any help would be much appreciated. 

Thanks

Nick
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search