SINE
About
- Username
- SINE
- Joined
- Visits
- 84
- Last Active
- Roles
- Member
Comments
-
Hi @eduard, thanks for the code, it looks very helpful! I was wondering whether you would know where I can find info about the pylink functions? I have been looking for a github repository or code on SRresearch, but I can't fine them. Thanks again!
-
PS for some reason the indentations are messed up in the code that I pasted
-
Hi @eduard, thanks! actually I had already tried this, but it means that the response can be given in an extremely narrow temporal window, and so it gets missed most of the times. Since I need very high time precision (the effect I am looking for is…
-
Hi @ eduard, I realized what the problem was, and I am not sure there is an easy way out. The problem is that the function srbox.get_button_pressed() has a timeout argument. This means that it is not possible to get a timestamp value for the srbox a…
-
Ah, while copying the code I see that I wrote srbox.stop() both inside the loop and the other at the end of the function. I had actually written it only at the end of the function in the original code (and yet, it does not work)
-
Hi @eduard , many thanks for your reply. So, I managed to solve the first problem (it was really a silly thing - to be able to access the device srbox from the inline Python script, you need to drag the srbox plugin at the beginning of the experime…
-
Many thanks for your reply @kri , in the end the problem was due that for some reason the pngs that were uploaded with the experiment were not there anymore. Perhaps there has been a crash of the server and I did not know about it. All the Best
-
@elisa if there is a way to retrieve the data I would be extremely grateful. It happened half an hour ago, I do not know if this matters.
-
Hi @elisa, I just write it here in case someone experiences the same problem. In the end, I realised that the problem was that I had used OpenSesame to write the JavaScript, and, from what I understood, there was no JQuery library. I by-passed the …
-
Dear @elisa , I have adjusted my script by using bits of the one that you posted on your answer above. However, when I check at the very beginning whether the batch data is empty (which should be the case), I get for the line var existingData = jato…
-
Many thanks @elisa for your extensive answer, I was considering to skip component 1 and assign the subject to a condition directly from within the component 2 (which would be my component 1) and then save that as an output that component 3 (my compo…
-
Dear @elisa , many thanks for your prompt reply. Yes, the flag idea sounds good, and indeed I was thinking about something similar. I am coding the experiment in OpenSesame, so I have two files (two "experiments"). The first session consi…
-
Many thanks @sebastiaan ! Just to let you know what the problem was (if someone encounters it in the future), there were two reasons why I was getting that error: 1) one of the graphic drivers of the computer was incompatible with pygame 2) one of t…
-
Dear @sebastiaan and @eduard, many thanks for your answers. I have done as suggested, but for some reason pygame 2.0.1 does not seem to work on the computer with OpenSesame. The error that I keep getting is: Traceback: File "C:\Program Files …
-
Dear @eduard , going back to my original question about installing the last version of pygame, that works successfully: pygame 2.0.1 (SDL 2.0.14, Python 3.7.6) Hello from the pygame community. https://www.pygame.org/contribute.html However, once I c…
-
Also, do you believe that it is actually possible to register touch responses in opensesame by using pygame._sdl2 or is there any constraint that I would not be able to get around? Thanks again for your precious help!
-
Many thanks Eduard, it works now! 🤗 I take this occasion also to ask you a doubt that came to me about drawing stimuli using the pygame/legacy back-end. From what I could understand, in Pygame you do not clear the canvas, but, everytime that you ha…
-
Hi Sebastiaan, many thanks for your reply. Strangely enough, I see that my pygame version is 1.9.6 and that for some reason it recognizes inputs such as pygame.FINGERDOWN, and pygame.FINGERMOTION, which I thought should be available only from pygame…