The inputMask attribute determines which bits should be used in evaluating a response through a parallel port device.
<trial> <likert> <openended> <sliderTrial> <surveyPage>
Name | Type | Description |
---|---|---|
mask | string | A string of eight 0s and 1s serving as a bit mask. |
The inputMask attribute consists of a sequence of eight 0s and 1s that determine which bits to read from the parallel report in determining a response. This is useful if, for example, a given port is being used simultaneously for both input and output, in which case the mask can be used to prevent Inquisit from including output bits when determining the value of the response. Bits marked with 0 are ignored. Those marked with 1 are used.
The following tells Inquisit to ignore all but the lowest order bit when reading data from an input device connected to LPT1.
<trial myTrial>
/ inputMask = "00000001"
/ inputDevice = LPT1
</trial>