up Inquisit Language Reference

inputMask property

A binary mask determining which pins on a parallel port an input device should use.

Member of

<trial> <likert> <openended> <sliderTrial> <surveyPage>

Syntax

trial.name.inputMask

Read/Write

Type

integer

Remarks

For each pin, a value of 0 indicates that any input device connected to the port should not change the state of the corresponding pin. A value of 1 indicates the input device can change the corresponding pin. This is useful in cases where different pins on a parallel port are being used simultaneously for input and output. By restricting the pins affected by the input device, the input will not interfere with output signals.

Examples

The following displays the value of inputMask in a text stimulus:

<text myText>
/ items= ("inputMask = <% trial.foo.inputMask %>")
</text>

The following displays the value of inputMask in an instruction page:

<page myPage>
inputmask = <% trial.myTrial.inputMask %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.