The trial element controls the timing and the content of stimulus presentation.
trial.name.altLatency
trial.name.beginResponseFrame
trial.name.beginResponseTime
trial.name.inputMask
trial.name.lastDropLatency
trial.name.lastDropSource
trial.name.lastDropTarget
trial.name.postTrialPause
trial.name.preTrialPause
trial.name.trialCode
trial.name.trialDuration
trial.name.correct
trial.name.correctCount
trial.name.correctStreak
trial.name.count
trial.name.elapsedTime
trial.name.error
trial.name.errorCount
trial.name.errorStreak
trial.name.inWindow
trial.name.inWindowCount
trial.name.inWindowStreak
trial.name.lastPhotoCapturePath
trial.name.lastScreenCapturePath
trial.name.lastSoundCapturePath
trial.name.latency
trial.name.maxLatency
trial.name.meanLatency
trial.name.medianLatency
trial.name.minLatency
trial.name.notInWindow
trial.name.notInWindowCount
trial.name.notInWindowStreak
trial.name.percentCorrect
trial.name.photoCapture
trial.name.recordData
trial.name.response
trial.name.responseMonitor
trial.name.responseText
trial.name.responseX
trial.name.responseY
trial.name.screenCapture
trial.name.sdLatency
trial.name.showMouseCursor
trial.name.soundCapture
trial.name.sumLatency
trial.name.timeout
trial.name.timestamp
trial.name.totalCorrectCount
trial.name.totalCount
trial.name.totalErrorCount
trial.name.totalMaxLatency
trial.name.totalMeanLatency
trial.name.totalMedianLatency
trial.name.totalMinLatency
trial.name.totalNumCorrect
trial.name.totalPercentCorrect
trial.name.totalSDLatency
trial.name.totalSumLatency
trial.name.totalTrialCount
trial.name.totalVarLatency
trial.name.trialCount
trial.name.varLatency
trial.name.windowCenter
trial.name.windowDecThreshold
trial.name.windowDecUnit
trial.name.windowHitDuration
trial.name.windowIncThreshold
trial.name.windowIncUnit
trial.name.windowMaxCenter
trial.name.windowMinCenter
trial.name.windowOffset
trial.name.windowOnset
trial.name.windowWidth
trial.name.name
trial.name.typeName
trial.name.clearStimulusFrames
trial.name.insertStimulusFrame
trial.name.insertStimulusTime
trial.name.removeStimulusFrame
trial.name.removeStimulusTime
trial.name.resetStimulusFrames
trial.name.setStimulusFrame
trial.name.setStimulusTime
trial.name.stimulusFrame
trial.name.stimulusTime
The trial element is the primary tool for controlling the flow of an experimental task. Trials allow customization of stimulus presentation, response procedure, time constraints, and response feedback. Each time a trial is executed, a line of data is written to the data file. Inquisit supports a number of specialized kinds of trials that provide a simple way to configure specific, commonly used types of tasks. Specialized trials include openended, likert, and surveypage.
The following trial runs <em>happytrial</em> if the response is "a" and <em>sadtrial</em> if the response is "b":
<trial myTrial>
/ stimulusTimes = [0=myText]
/ validResponse = ("a", "b")
/ responseTrial = ("a", happytrial)
/ responseTrial = ("b", sadtrial)
</trial>
The following trial presents a rapid series of 5 pictures at 10 millisecond intervals. The subject may respond by clicking the left or right mouse button. If the left button is clicked, an error message appears. If the right button is clicked, a correct message appears.
<trial myTrial>
/ stimulusTimes = [0=pic1; 10=pic2; 20=pic3; 30=pic4; 40=pic5]
/ inputDevice = mousekey
/ validResponse = (lButtonDown, rButtonDown)
/ errorMessage = (redx, 500)
/ correctMessage = (greenstar, 500)
</trial>