Problem when script is run using a web-link


Author
Message
BG
BG
Respected Member (350 reputation)Respected Member (350 reputation)Respected Member (350 reputation)Respected Member (350 reputation)Respected Member (350 reputation)Respected Member (350 reputation)Respected Member (350 reputation)Respected Member (350 reputation)Respected Member (350 reputation)
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>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
BG - 8 Years Ago
Dave - 8 Years Ago
BG - 8 Years Ago
Dave - 8 Years Ago
                     + x [quote] [b] Dave - Tuesday, March 28, 2017 [/b] +...
BG - 8 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search