Group: Forum Members
Posts: 7,
Visits: 40
|
Hi,
I have developed a task that runs as intended when the script is executed on my local computer. However, when I upload the script to the web, and execute it using a web-link, the task no longer runs correctly. Specifically, if I make a response before the screen has been cleared, then I get a 'flash'. It seems to be that, once a response is made, all of the images on-screen are cleared and then redrawn, before the final clearscreen command (as mentioned, this doesn't happen when I run the script locally). I've copied what I assume is the most relevant bit of the script below. Are there any generic reasons why the task would run differently when executed over the web or is it something specific to my script?
Thanks in advance for any help.
Ben
/ stimulustimes = [0 = prac_left, prac_right; 500 = probe_left, probe_right; 700 = prac_left, prac_right; 1000 = clearscreen] / inputdevice = keyboard / beginresponsetime = 500 / responseinterrupt = trial / validresponse = (79, 80, 81, 75, 77, 71, 72, 73) / iscorrectresponse = [trial.probeprac.response == values.probeleftcorr || trial.probeprac.response == values.proberightcorr] / ontrialend = [values.lastprobeleft = values.probeleft; values.lastproberight = values.proberight] / posttrialpause = 500 </trial>
|