post timeout feedback


Author
Message
Kacha
Kacha
Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)
Group: Forum Members
Posts: 20, Visits: 46
Dave, you are the best! Thank you. Also, for the very quick reply.
It took me a bit to incorporate this to my script, but works! I would never have solved this myself.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
Kacha - 7/15/2021
I would like to display a text message after the timeout (only if a participant did not respond in time, and timeout worked), set the time for this message to be visible and then progress normally to post trial pause and to the next trial.
If there is a valid response - then no message.

I would appreciate a piece of advice on how to achieve that :)

Thanks,
Kasia

<block exampleblock>
/ trials = [1-10 = trial.example]
</block>

<trial example>
/ stimulustimes = [0=space]
/ validresponse = (57, 0)
/ branch = [
    if (trial.example.response == 0){
        return trial.timeoutmessage;
    } else {
        return trial.iti;
    };
]
/ timeout = 3000
</trial>

<trial timeoutmessage>
/ stimulustimes = [0=outoftime]
/ trialduration = 2000
/ branch = [
    return trial.iti;
]
/ recorddata = false
</trial>

<trial iti>
/ stimulustimes = [0=clearscreen]
/ trialduration = 500
/ recorddata = false
</trial>

<text space>
/ items = ("Press SPACE or wait for the timeout")
/ erase = false
</text>

<text outoftime>
/ items = ("You ran out of time.")
/ erase = false
/ position = (50%, 70%)
/ txcolor = red
</text>

Kacha
Kacha
Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)Associate Member (292 reputation)
Group: Forum Members
Posts: 20, Visits: 46
I would like to display a text message after the timeout (only if a participant did not respond in time, and timeout worked), set the time for this message to be visible and then progress normally to post trial pause and to the next trial.
If there is a valid response - then no message.

I would appreciate a piece of advice on how to achieve that :)

Thanks,
Kasia
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search