-
Hello, I am writing an experiment that involves visual search circles and want to set a time limit to how many seconds a participant has to give a response before the trial is counted as incorrect. For example, I would like the participant to have 5 seconds from the onset of the visual stimuli to record a response (which is done by either pressing 'f' or 'j') before finishing the trial and moving onto the next. Does anyone know how this would work? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @sethamarx, You can use the var trial = {
type: jsPsychVisualSearchCircle,
target: 'img/backwardN.gif',
foil: 'img/normalN.gif',
fixation_image: 'img/fixation.gif',
target_present: true,
set_size: 4,
trial_duration: 5000
} If no response is given, the RT will be recorded as |
Beta Was this translation helpful? Give feedback.
Hi @sethamarx,
You can use the
trial_duration
parameter to control the maximum length of response.If no response is given, the RT will be recorded as
null
and correct will befalse
.