up Inquisit Language Reference

expt element

The expt element defines a sequence of blocks and instruction pages to be run.

Attributes

<expt name>
/ blocks = [blocknumber, blocknumber = blockname;blocknumber = listname; blocknumber-blocknumber = selectMode(blockname, blockname,...); blocknumber, blocknumber-blocknumber = blockname]
/ groupAssignment = assignment
/ groups = (integer, integer, integer, ... of modulus)
/ onBlockBegin = { script }
/ onBlockEnd = { script }
/ onExptBegin = { script }
/ onExptEnd = { script }
/ postInstructions = (pagename, pagename, pagename, ...)
/ preInstructions = (pagename, pagename, pagename, ...)
/ sessions = (integer, integer, integer, ... of modulus)
/ subjects = (integer, integer, integer, ... of modulus)
/ branch = { script }
/ correctMessage = true(stimulusname, duration)
/ correctMessage = false

/ dataStreams = (datastream, eyetracker)
/ dataStreams = false

/ errorMessage = true(stimulusname, duration)
/ errorMessage = false

/ onTrialBegin = { script }
/ onTrialEnd = { script }
/ photoCapture = boolean
/ quit = { script }
/ recordData = option
/ response = responsename
/ response = timeout(milliseconds)
/ response = window(center, width, stimulusname)
/ response = responsemode

/ screenCapture = boolean
/ showMouseCursor = boolean
/ skip = { script }
/ soundCapture = boolean
/ stop = { script }
/ timeout = integer
/ timeout = expression

</expt>

Properties

expt.name.blockCount
expt.name.currentBlockNumber
expt.name.currentGroupNumber
expt.name.currentTrialNumber
expt.name.groupCount
expt.name.correct
expt.name.correctCount
expt.name.correctStreak
expt.name.count
expt.name.elapsedTime
expt.name.error
expt.name.errorCount
expt.name.errorStreak
expt.name.inWindow
expt.name.inWindowCount
expt.name.inWindowStreak
expt.name.lastPhotoCapturePath
expt.name.lastScreenCapturePath
expt.name.lastSoundCapturePath
expt.name.latency
expt.name.maxLatency
expt.name.meanLatency
expt.name.medianLatency
expt.name.minLatency
expt.name.notInWindow
expt.name.notInWindowCount
expt.name.notInWindowStreak
expt.name.percentCorrect
expt.name.photoCapture
expt.name.recordData
expt.name.response
expt.name.responseMonitor
expt.name.responseText
expt.name.responseX
expt.name.responseY
expt.name.screenCapture
expt.name.sdLatency
expt.name.showMouseCursor
expt.name.soundCapture
expt.name.sumLatency
expt.name.timeout
expt.name.timestamp
expt.name.totalCorrectCount
expt.name.totalCount
expt.name.totalErrorCount
expt.name.totalMaxLatency
expt.name.totalMeanLatency
expt.name.totalMedianLatency
expt.name.totalMinLatency
expt.name.totalNumCorrect
expt.name.totalPercentCorrect
expt.name.totalSDLatency
expt.name.totalSumLatency
expt.name.totalTrialCount
expt.name.totalVarLatency
expt.name.trialCount
expt.name.varLatency
expt.name.windowCenter
expt.name.windowDecThreshold
expt.name.windowDecUnit
expt.name.windowHitDuration
expt.name.windowIncThreshold
expt.name.windowIncUnit
expt.name.windowMaxCenter
expt.name.windowMinCenter
expt.name.windowOffset
expt.name.windowOnset
expt.name.windowWidth
expt.name.name
expt.name.typeName

Functions

None.

Remarks

The primary function of the expt element is to define a randomly selected or sequentially ordered set of blocks to run. The expt element also controls whether instructions are provided at the beginning and end of the script.

Examples

The following expt runs one practice block followed by ten test blocks. An "intro" instruction page is displayed at the beginning of the script, and an "end" instruction page is displayed at the end.

<expt myExpt>
/ blocks=[1=practice; 2-11=test]
/ preInstructions = (intro)
/ postInstructions = (end)
</expt>

Copyright Millisecond Software, LLC. All rights reserved.