kazald
About
- Username
- kazald
- Joined
- Visits
- 3
- Last Active
- Roles
- Member
Comments
-
Thank you eduard and sebastian. One note for anyone else, the original _form/py code reads as ms = mouse(self.experiment, timeout=0) Adding the buttonlist here fixed the issue.
-
one additional note, i tried a form with multiple image buttons and a mouse response limited to 1;3, however scrolling over one image button and then clicking another will result as the scrolled button being read as clicked.
-
https://forum.cogsci.nl/uploads/396/ZNTFE99O9CM2.osexp
-
Hi Eduard, the streamlining of the code does seem to have helped, project isn't freezing any more. Thank you for your help, I must admit I am confused as to why altering the if/then statements outside the loop fixed the problem. I guess if anyone …
-
https://forum.cogsci.nl/uploads/645/GCTREWI95AWV.osexp Hi Eduard, thank you for your reply. Here is a copy of the experiment, per my notes in the other posted question referencing this problem, the issue seems to lie with the while loop on line 9 o…
-
Note two: problem is CPU usage during the while loops.
-
Note two for future devs: code for timing example is here. I found adding get_key(timeout=0) helped with the freezing problem.
-
a note: changing the while loops to clock.sleep(duration) for each canvas solves the issue, so the while loop seems to be the problem, however it doesn't allow for accurate recording of response time by continuous checking of get_key(), and I've see…