The pretrialsignal attribute specifies that before running a trial, Inquisit should wait for a signal from an external device.
Applies to
<trial> <likert> <openended> <namingtrial>
Syntax
/ pretrialsignal = (modality, signal)Parameters
| modality | One of the following values:
|
||||||||||
| signal | An integer representing the numeric signal to wait for. If the modality is keyboard, this is the scancode of the key. |
Remarks
This is useful for requiring a confirmation response from subjects before starting a trial, or for synchronizing Inquisit with an external device such as an EEG.
Examples
The following trial requires the subject to press the spacebar to start the trial:
<trial mytrial>
/ stimulusframes = [1=sometext]
/ validresponse = (57)
/ pretrialsignal = (keyboard, 57)
</trial>