Group: Forum Members
Posts: 10,
Visits: 29
|
Hi Millisecond Forum, I am new to Inquisit and am excited to run my first experiment on it. I am attempting to adapt the Perceptual Vigilance task to my methods, but instead of having the red circle be the target stimulus, I would like to have one of 3 image stimulus combinations for each trial. When there is not a target stimulus, I would like there to be a non-target stimulus at all times on the screen. (I accomplished this by adding / bgstim to blocks).
The issue I've been having is replacing the target circle with my images (in <trials>). I would ideally like to have 3 different stimuli combinations appear at the same intervals that the circle would.
So far, I have this, which works for <trial start>, but after a response to the first target, the other target just sits around and doesn't change when a response is required. There should also be an interval before it appears.
Being new to this program, I'm not sure if this is enough information, but would appreciate any input the community may have to offer.
Thanks! Eric
<trial start> /stimulusframes = [1 = TargetBP, NonFace] /validresponse = (lbuttondown, rbuttondown) </trial>
Note: Main trial: presents the fixationcross and the stimulus (either in a fixed position or randomly) and waits for mouse click <trial TargFace> / stimulusframes = [2 = NonBP, TargetFace] /ontrialbegin = [ values.rt = 0;
values.stiminterval = list.stimulusinterval.nextvalue; trial.TargFace.insertstimulustime(picture.TargetFace, picture.NonBP, values.stiminterval); ] /ontrialend = [trial.TargFace.resetstimulusframes()] /responseinterrupt = immediate /beginresponsetime = 0 /validresponse = (lbuttondown, rbuttondown) / isvalidresponse = [ trial.TargFace.latency > values.stiminterval ] /ontrialend = [ if (trial.TargFace.response == "lbuttondown" || trial.TargFace.response == "rbuttondown") { values.rt = trial.TargFace.latency - values.stiminterval; list.latencies.insertitem(values.rt, 1); } ] / branch = [if (parameters.presenttrialfeedback == true) trial.rt_feedback else trial.TargFace] </trial>
Note: presents latency feedback for parameters.rtfeedback_duration (editable value) <trial RT_feedback> /stimulusframes = [1 = RT_feedback] /trialduration = parameters.rtfeedback_duration /recorddata = false /branch = [trial.TargFace] </trial>
|