The postTrialSignal attribute specifies that after running a trial, Inquisit should wait for a signal from an external device before moving on to the next trial.
<trial> <likert> <openended> <sliderTrial>
or
/ postTrialSignal = (mouse, stimulusname)or
/ postTrialSignal = (mouse, mouseevent)Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
modality | signaltypeenum |
|
||||||||||||||||||||||||||||||||||||||||||||
signal | integer | An integer representing the numeric signal to wait for. If the modality is keyboard, this is the scancode of the key. | ||||||||||||||||||||||||||||||||||||||||||||
mouseevent | mouseeventenum |
|
||||||||||||||||||||||||||||||||||||||||||||
stimulusname | stimulus | The name of a visual stimulus element defined elsewhere in the script. |
This is useful for requiring a second confirmation response from subjects before proceeding to the next trial, or for synchronizing Inquisit with an external device such as an EEG.
The following trial waits for a signal value of 8 on the COM1 port before advancing to the next trial:
<trial myTrial>
/ stimulusTimes = [0=myText]
/ validResponse = (57)
/ postTrialSignal = (com1, 8)
</trial>