+xHey there.
I've adapted a script using inquisit 5 and have just found out that we only have access to version 4 to run on the web.
I saw from similar posts that I have to go trough manually and change out expressions. So I downloaded a different version of the ANT (for inquisit 4) to see where I should be going and it looks so different that I'm a bit lost were to start. Are there some obvious replacements i can make or would I be better off starting again with a version 4 script?
thanks
Instead of <parameters> you need to use <values>, Inquisit 4 syntax knows no <parameters> element. In the <data> and <summarydata> elements' /columns attributes, you need to use [ ], not ( ), in Inquisi 4. /validresponse doesn't work with parameters or values in Inquisit 4, you need to use /isvalidresponse instead. So things like
<trial centercue>
...
/ validresponse = (parameters.responsekey_left, parameters.responsekey_right)
...
</trial>
need to be changed to
<trial centercue>
...
/ isvalidresponse = [trial.centercue.response == values.responsekey_left || trial.centercue.response == values.responsekey_right]
...
</trial>
Similarly,
<trial centercue>
...
/ response = timeout(values.target_duration)
...
</trial>
needs to be replaced with
<trial centercue>
...
/ timeout = values.fixation1_duration+values.cue_duration+values.ISI_cuetarget + values.target_duration
...
</trial>
There is no built-in clearscreen element in Inquisit 4, so you need to define a blank <shape> covering the entire screen instead.
<shape clearscreen>
/ shape = rectangle
/ color = white
/ size = (100%, 100%)
/ erase = false
</shape>
Finally, and probably most importantly, <list> elements in Inquisit 4 do not have mean, median, standarddeviation properties, so things like
<expressions>
/ overallACC = list.accuracy.mean * 100
/ meanRT_correct = list.latencies.mean
/ACCnocue = list.accuracy_nocue.mean*100
/ACCcentercue = list.accuracy_centercue.mean*100
/ACCspatialcue = list.accuracy_spatialcue.mean*100
/ meanRT_correctNoCue = list.latencies_nocue.mean
/ meanRT_correctCenterCue = list.latencies_centercue.mean
/ meanRT_correctSpatialCue = list.latencies_spatialcue.mean
/ACCcongruent = list.accuracy_congruent.mean*100
/ACCincongruent = list.accuracy_incongruent.mean*100
/ meanRT_correctCongruent = list.latencies_congruent.mean
/ meanRT_correctInCongruent = list.latencies_incongruent.mean
...
</expressions>
won't work. You need to sum up the latencies of interest in additional <values> instead and divide by the respective N to get those means.