Millisecond Forums

Stimulus glitch

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

By Chiquita - 4/10/2014

Hi,

I have two pictures presented on the screen. However, it shows a repeat of the one of the two pictures (for example, it shows left.jpg twice). I have checked the original picture files and names, which seem to be fine. I cannot figure out why this is happening. Here is a snippet of the code that is supposed to work.

<picture yesleft>
/items = ("left.jpg")
/ position = (25%, 80%)
</picture>

<picture yesright>
/items = ("right.jpg")
/ position = (75%, 80%)
</picture>


By Dave - 4/10/2014

There is a near 100% chance that this is not a glitch in Inquisit but an actual error in your script. You need to thoroughly double-check it. (And if you can't find it, post *all relevant code sections*).
By Chiquita - 4/10/2014

Here is the other code that refers to the pictures. I have double checked the code, and it looks fine to me unless I'm missing something obvious in the code below. FYI, there are 3 prime conditions and two position conditions for a total of six conditions.

<trial 1>

/stimulustimes = [0=primetrait; 20=bmask, maleA,femaleB,question, yesleft, yesright]

/validresponse = (yesleft, yesright)

/ontrialbegin = [values.choice=0]

/ontrialbegin = [values.cond=0]

/ontrialend = [if(trial.1.response=="yesright")values.choice= values.choice + 1]

/ontrialend = [if(trial.1.response=="yesright")values.cond= values.cond + 1]

/ontrialend = [if(trial.1.response=="yesleft")values.cond= values.cond + 1]

</trial>

<trial 2>

/stimulustimes = [0=primetrait; 20=bmask, maleB,femaleA,question, yesleft, yesright]

/validresponse = (yesleft, yesright)

/ontrialbegin = [values.choice=0]

/ontrialbegin = [values.cond=0]

/ontrialend = [if(trial.2.response=="yesleft")values.choice= values.choice + 1]

/ontrialend = [if(trial.2.response=="yesright")values.cond= values.cond + 1]

/ontrialend = [if(trial.2.response=="yesleft")values.cond= values.cond + 1]

</trial>

<trial 3>

/stimulustimes = [0=primerole; 20=bmask, maleB,femaleA,question, yesleft, yesright]

/validresponse = (yesleft, yesright)

/ontrialbegin = [values.choice=0]

/ontrialbegin = [values.cond=0]

/ontrialend = [if(trial.3.response=="yesleft")values.choice= values.choice + 1]

/ontrialend = [if(trial.3.response=="yesright")values.cond= values.cond + 2]

/ontrialend = [if(trial.3.response=="yesleft")values.cond= values.cond + 2]

</trial>

<trial 4>

/stimulustimes = [0=primerole; 20=bmask, maleA,femaleB,question, yesleft, yesright]

/validresponse = (yesleft, yesright)

/ontrialbegin = [values.choice=0]

/ontrialbegin = [values.cond=0]

/ontrialend = [if(trial.4.response=="yesright")values.choice= values.choice + 1]

/ontrialend = [if(trial.4.response=="yesright")values.cond= values.cond + 2]

/ontrialend = [if(trial.4.response=="yesleft")values.cond= values.cond + 2]

</trial>

<trial 5>

/stimulustimes = [0=primenon; 20=bmask, maleA,femaleB,question, yesleft, yesright]

/validresponse = (yesleft, yesright)

/ontrialbegin = [values.choice=0]

/ontrialbegin = [values.cond=0]

/ontrialend = [if(trial.5.response=="yesright")values.choice= values.choice + 1]

</trial>

<trial 6>

/stimulustimes = [0=primenon; 20=bmask, maleB,femaleA,question, yesleft, yesright]

/validresponse = (yesleft, yesright)

/ontrialbegin = [values.choice=0]

/ontrialbegin = [values.cond=0]

/ontrialend = [if(trial.6.response=="yesleft")values.choice= values.choice + 1]

</trial>

**BLOCK**

<block vote>

/trials = [1=noreplace(1,2,3,4,5,6)]

</block>

By Dave - 4/10/2014

There is no obvious issue in those additional parts. Please zip everything up and attach the file(s) to this thread. Please also make sure your Inquisit installation is up to date. Thanks.
By Chiquita - 4/10/2014

My Inquisit is up to date. Thank you for taking the time.
By Dave - 4/10/2014

Thanks for providing the files. Unfortunately I seem to be absolutely unable to reproduce the issue you reported despite running extensive tests -- in every case, the picture elements displayed exactly what they were supposed to display ("Candidate A" on the left, "Candidate B" on the right). I don't see anything in the script that could possibly cause this to fail, nor do I see anything that could cause this in the Inquisit engine itself (such a bug should stick out like a sore thumb).

Are you absolutely sure that you're seeing this happening with the actual script you attached, not perhaps some prior revision that does something different? Can you provide a screenshot showing the error (i.e. both picture elements displaying the same item)?

Thanks.
By Chiquita - 4/11/2014

This is a screenshot from the script that I sent you. I just tried the script on a different computer, and it works fine. I just can't figure out why it does this on this computer when I have never had issues before.
By Dave - 4/11/2014

Hmm, this is extremely puzzling. Anything special about that computer? What's its OS and exact Inquisit build running on it (Help -> About Inquisit...)?

How frequently does the issue actually occur on that box (in x out of y runs)?

Could you post (i.e. attach) a data file from one (or several) of those faulty runs (preferably after removing the script's <data> element)?
By Chiquita - 4/11/2014

I am running Windows 7 on Bootcamp. I have Inquisit build 2444.

It displays "Candidate B" twice in every single run. I also have encountered times where the same photo will be displayed.

I think it has something to do with my computer display.
By Dave - 4/11/2014

Thanks for the data file. To make matters even weirder, the data file suggests that everything was fine even on that run (i.e correct items were displayed in the correct position):

stimulusnumber6  stimulusitem6  stimulushpos6  stimulusnumber7  stimulusitem7  stimulushpos7
1                left.jpg       25pct          1                right.jpg      75pct

> I am running Windows 7 on Bootcamp.

So this is a Mac. Q: Are you seeing the same thing using the Inquisit Mac version on that box (i.e., not running Win7 via Bootcamp)? Otherwise, my best guess at this point is that Bootcamp is doing something funky here.
By Chiquita - 4/12/2014

I tried it on the Mac side, and it works fine. Bootcamp is the issue. Thanks for your help.