Millisecond Forums

Visual Dot Probe duration

https://forums.millisecond.com/Topic25290.aspx

By stefaniafranja - 7/18/2018

Hi there, 
I am needing my dot probe to remain on screen until a response is made, and am wondering how to do that. In my parameters section, currently I can change the duration to a number (i.e. 2000ms), but am wondering what type of code is required to change it to remain until a response is made. 
Thank you kindly in advance for your assistance!
stefania 
By Dave - 7/18/2018

stefaniafranja - Wednesday, July 18, 2018
Hi there, 
I am needing my dot probe to remain on screen until a response is made, and am wondering how to do that. In my parameters section, currently I can change the duration to a number (i.e. 2000ms), but am wondering what type of code is required to change it to remain until a response is made. 
Thank you kindly in advance for your assistance!
stefania 

If you are referring to one of the generic Dot Probe scripts at the bottom of https://www.millisecond.com/download/library/dotprobe/

then what you need to do is remove the /timeout attributes from the <trial> elements if you wish to have the probe remain on-screen and the trial last until a response is made. The value you specify for parameters.probeduration doesn't matter in this case. See the attached revision of the text-based generic Dot Probe script, which will display the probe on-screen indefinitely until a response is given.