Pia
About
- Username
- Pia
- Joined
- Visits
- 6
- Last Active
- Roles
- Member
Comments
-
Hi eduard, thank you! However, I have only one sketchpad therefore I didn't use that script in the first place. I only included the inline-scripts to define the variable and to break the loop. So, I have a sketchpad, which is in a loop and the posi…
-
Hi eduard, thank you. I think I understand, but when I change braking_variable (in the inline-scripts only) to var.breaking_variable I get the following error: AttributeError: response not found So I changed the duration of the sketchpad to 0 (inste…
-
Hi eduard, I tried what you described here. So, in order to break a loop, I put breaking_variable = True in an inline-scripte before the loop, and an inline-script containing if exp.response == 'space': breaking_variable = False in the last pos…
-
Thanks a lot! It works!
-
Yes, I uploaded it!
-
Thank you both! The experiment runs when I change the variable to var.coordinates_list and also when I change it to exp.coordinates_list but the list doesn't appear in the logfile, somehow. I also tried to add the variable to the logger, but it com…
-
Hi eduard, thanks, the error message disappears, but unfortunately I can't find my variable (coordinates_list) in the logfile. I placed an logger after the inline-script. And because the variable didn't show up automatically (with "log all vari…
-
Thanks! Hm, unfortunately this gives an error-message, which I unfortunately don't understand: File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\inline_script.py", line 102, in run self.experiment.python_workspace…
-
Thanks a lot, it works!! :smiley:
-
Thank you! It works (I didn't know that I didn't had to put the ´´var.´´), but I noticed it's not what I wanted. So, if I do it like this: color_of_draw_var = "color_of_draw" + var.jar_nr port.sendMessage("Draw Jar" + str(var.ja…
-
Thanks again. Now I have another, very much related, problem. So some of my variables have this format (in the inline-script): [color_of_draw[jar_nr]] (So the variable names are color_of_draw1, color_of_draw2, and so on.) I try to send those to the…
-
Thanks a lot!!
-
Hi, I now included a suggestion you gave elsewhere to write something to the debug window to test if the trigger had been send with the print statement just after exp.trigger.write(chr(1)) And it does show up there! (In the debug window, what I prin…
-
Hi Sebastiaan, I have an eye-tracking experiment (no EEG-experiment, sorry for the confusion, I was just using this thread because I thought it makes no difference if I record EEG or eye-tracking on another computer) where I want to send triggers f…
-
Hi Sebastiaan, thank you! I also tried to use an inline_script and it didn't give any error message but I can't see the triggers on the other computer. (I opend notepad to check if I receive the triggers, not sure that method works, but shouldn't I …
-
Hi everyone, I tried both methods described here. For the plugin, if I want to drag the serial_port_trigger item to the correct place in my experiment I get an error message (which I send): Traceback (most recent call last): File "C:\Program…
-
Solved it! (Sorry for asking, but at the time I really had no ideas left). Had to copy the two subfolders of the opensesame_plugin_-_parallel_port_trigger-master folder in the plugin directory directly.
-
I'm sorry to ask again, but I have no idea what to do... so do any of you have any? Also if it may not work I can try if I know what to try... Thank you!
-
Thank you!!
-
This is what my experiment and the parallel port plugin looks like: (Image) Does anyone have any idea? Thank you!
-
Thank you! I had the duration set to "keypress" but now I set it to "0" and this works. I didn't think of this, so thank you very much!