up Inquisit Language Reference

expt element

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

Syntax

<expt exptname>
/ blocks = [blocknumber, blocknumber = blockname;blocknumber = list.name; blocknumber-blocknumber = selectmode(blockname, blockname,...); blocknumber, blocknumber-blocknumber = blockname]
/ correctmessage = false or true(stimulusname, duration)
/ datastreams = (eyetracker) or eyetracker or false
/ errormessage = false or true(stimulusname, duration)
/ groupassignment = assignment
/ groups = (integer, integer, integer, ... of modulus)
/ onblockbegin = [expression; expression; expression; ...]
/ onblockend = [expression; expression; expression; ...]
/ onexptbegin = [expression; expression; expression; ...]
/ onexptend = [expression; expression; expression; ...]
/ ontrialbegin = [expression; expression; expression; ...]
/ ontrialend = [expression; expression; expression; ...]
/ postinstructions = (pagename, pagename, pagename, ...)
/ preinstructions = (pagename, pagename, pagename, ...)
/ quit = [expression; expression; expression; ...]
/ recorddata = boolean
/ response = responsename or timeout(milliseconds) or window(center, width, stimulusname) or responsemode
/ screencapture = boolean
/ sessions = (integer, integer, integer, ... of modulus)
/ showmousecursor = boolean
/ skip = [expression; expression; expression; ...]
/ soundcapture = boolean
/ stop = [expression; expression; expression; ...]
/ subjects = (integer, integer, integer, ... of modulus)
/ timeout = integer expression
</expt>

Properties

expt.exptname.blockscount
expt.exptname.correct
expt.exptname.correctcount
expt.exptname.correctstreak
expt.exptname.count
expt.exptname.currentblocknumber
expt.exptname.currentgroupnumber
expt.exptname.currenttrialnumber
expt.exptname.elapsedtime
expt.exptname.error
expt.exptname.errorcount
expt.exptname.errorstreak
expt.exptname.groupcount
expt.exptname.inwindow
expt.exptname.latency
expt.exptname.maxlatency
expt.exptname.meanlatency
expt.exptname.medianlatency
expt.exptname.minlatency
expt.exptname.name
expt.exptname.percentcorrect
expt.exptname.percentinwindow
expt.exptname.recorddata
expt.exptname.response
expt.exptname.responsemonitor
expt.exptname.responsetext
expt.exptname.responsex
expt.exptname.responsey
expt.exptname.screencapture
expt.exptname.sdlatency
expt.exptname.showmousecursor
expt.exptname.sumlatency
expt.exptname.timeout
expt.exptname.timestamp
expt.exptname.totalcorrectcount
expt.exptname.totalcount
expt.exptname.totalerrorcount
expt.exptname.totalmaxlatency
expt.exptname.totalmeanlatency
expt.exptname.totalmedianlatency
expt.exptname.totalminlatency
expt.exptname.totalnuminwindow
expt.exptname.totalpercentcorrect
expt.exptname.totalpercentinwindow
expt.exptname.totalsdlatency
expt.exptname.totalsumlatency
expt.exptname.totaltrialcount
expt.exptname.totalvarlatency
expt.exptname.trialcount
expt.exptname.typename
expt.exptname.varlatency

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>
/ blocks=[1=practice; 2-11=test]
/ preinstructions = (intro)
/ postinstructions = (end)
</expt>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.