Perceptual Vigilance Task


Author
Message
Eric del Rio
Eric del Rio
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
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>

Attachments
Test2 Adjusting PArameters.iqx (611 views, 18.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Eric del Rio - 8 Years Ago
Dave - 8 Years Ago
Eric del Rio - 8 Years Ago
Dave - 8 Years Ago
                     + x [quote] [b] Dave - Sunday, March 5, 2017 [/b] +...
Eric del Rio - 8 Years Ago
                         + x [quote] [b] Eric del Rio - Monday, March 6, 2017 [/b]...
Dave - 8 Years Ago
                             + x [quote] [b] Dave - Monday, March 6, 2017 [/b] +...
Eric del Rio - 8 Years Ago
                                 + x [quote] [b] Eric del Rio - Wednesday, March 8, 2017...
Dave - 8 Years Ago
                                     + x [quote] [b] Dave - Wednesday, March 8, 2017 [/b]...
Eric del Rio - 8 Years Ago
                                         + x [quote] [b] Eric del Rio - Wednesday, March 8, 2017...
Dave - 8 Years Ago
                                             + x [quote] [b] Dave - Wednesday, March 8, 2017 [/b]...
Dave - 8 Years Ago
                                                 + x [quote] [b] Dave - Wednesday, March 8, 2017 [/b]...
Eric del Rio - 8 Years Ago
                                                     + x [quote] [b] Eric del Rio - Wednesday, March 8, 2017...
Eric del Rio - 8 Years Ago
                                                         + x [quote] [b] Eric del Rio - Wednesday, March 8, 2017...
Dave - 8 Years Ago
                                             + x [quote] [b] Dave - Wednesday, March 8, 2017 [/b]...
Eric del Rio - 8 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search