Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Slider: Changing initial_fill value to something else when no response is given until time limit

edited November 2019 in OpenSesame

Hi everyone,

I am quite new in Phyton. I read previous discussions, they helped me a lot (thank you all very much!), but I cannot find solution for one thing. I will be appreciated if you help me with this.

In a loop, I am using Slider (comes from an inline-script) and it perfectly works. My slider has a timeout, so if the participant does not respond in 5000 msec, experiment proceeds with the next trial (which is again a slider). So participant can either respond by clicking on slide or wait for 5000 msec. The thing is that if participant does not click on anywhere, the response variable is again the initial_fill value (lets say 0.5). So I cannot figure out whether "0.5" was the participant's actual response, or she did not respond to that trial at all.

Is there any way to make the initial_fill value empty so that the response variable will be saved only after the participant clicks on slider? (I'm saying "empty", not 0, because again I cannot differentiate whether 0 is an actual response or stands there because there is no response before timeout) Or is there any other way to do this?

Thank you so much in advance!

Comments

  • Hi Pinarke,

    You could modify the script to keep track of whether a timeout occurred or not. But to get help with that you would of course need to upload the script here so that we can see what you did exactly!

    A pragmatic solution might also be to look at the timestamps. You have the onset time of the slider script, and the onset time of the item that follows it. Therefore, you can use the difference between those timestamps to see whether or not a timeout occurred, in which case the difference should be at least 5000 ms.

    Cheers!

    Sebastiaan

Sign In or Register to comment.