Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

DahmSF

About

Username
DahmSF
Joined
Visits
254
Last Active
Roles
Member
Thanked
7

Comments

  • Seems like a reason. Yes, it happened on Windows. I did not attend the sessions when the problem occured. I keep on telling everybody to not pause for too long. How do it set python priorities to high?
  • @sebastiaan , that does make sense. But shouldn't the 'press Q to quit' information disappear when pressing the space bar? @eduard : i am using the actual version 3.2.5. And yes i often used the abort button already
  • Hi Christian, have you already looked into your output? Maybe you are summing up some values (e.g. None) that you do not want in that sum? Just an idea. Another idea: put some print recent_acc in your code, to see what the variable values a…
  • Have you already tried to save your images in another format (e.g. tif). Open them with a picture program and save as image.tif
  • Having center=True (as for canvas.text) would be nice for rectangles too (canvas.rect). Is there something to delete text from a canvas? Sometimes you want to show the same stimulus various times (in a loop), but tell the participants the trial…
  • I found out that the last 3 button presses that were logged, where logged twice (two lines). It does not seem logical to me that a participant presses: 1,2,3,4,5,6,6,7,7,8,8 and then the program aborts Seems more like a software/hardware proble…
  • Hi Sannee, i have not worked with sound yet. For your questions 2 and 3: This piece of code may help you further. Of course, you need to adopt it for your purpose. Especially the x and y positions. It is a questionnaire with 12 items on one pa…
  • Hi regina, i just had the same problem. My experiment includes 4 equal sessions. In session 3, this happened almost at the end. It does not occur often. 'til now it happened in one of 20 cases. And i hope it will not occure anymore Otherw…
  • Hi Gérard, if you are using Apple, this could be your problem. Greetz Stephan
  • Always check your logfile before starting data collection! PS: I even write the complete data handling (calculating means of trials etc.) in an R script before i start data collection. Then you notice if every variable is in your logfile. Some …
  • Hi Vatsal, have you seen the paper from 2012? Maybe an updated paper (2018) is needed for the new versions. But that's Sebastiaans work * I think the inline_scripts are very powerful. Much easier to use than in eprime. You can also use scr…
  • Hi Sportpsy, as far as i know you need only one logger item at the end of your experiment. That's what i use. Various logger may lead to problems. Many people have been asking about how to get various logfiles (e.g. two for one experiment). …
  • Hi Yovan, as I said: define your variables (stimuli, color, size) in a loop. Loops are very powerfull Cheers Stephan
  • Hi Kian, that's exactly what i was asking for in the last comment in the wishlist http://forum.cogsci.nl/index.php?p=/discussion/284/wishlist-what-would-you-like-to-see-in-opensesame#latest What you can do at the moment: Probably you have a…
  • Hi Yovan, I imagine you defined the stims in a loop. Stimuli (stim1, stim2) Probably you just need a second variable called Color, with the values of your colors (green, red). If you wrote a script this may help: if var.Stimuli == 'stim1': …
  • Hi Ilja, i am quite sure you need to change something in this line: Letter = widgets.label(form, var.alfabet) Try to add font_size = 32, color = 'blue' , or font_bold = True. I am not sure, but maybe like this Letter = widgets.label(form, …
  • Hi Amihai, did you try the experiment i attached in the link? It contains not much more than pressing a button and keeping it pressed while some stimuli are presented. The duration you are asking for is easy to code. Just create a new variable:…
  • Hi boraste, Maybe you get an 'indentation error'? In python it is important to mind the spaces/tabs of the beginning in each line. In your code you need a tab at the beginning of the second line. Just go at the end of the first line and press '…
  • Hi azrael, From the Manual: https://osdoc.cogsci.nl/3.2/manual/variables/ subject_parity Is 'odd' if subject_nr is odd and 'even' if subject_nr is even. Useful for counterbalancing. Have you tried [subject_parity] == 'odd' ? Another option:…
  • The example is in the experiment which is uploaded in the linked discussion. If you lift the button too early you get back to the beginning. --> There you need to keep the mouse button pressed, but you can easily change it to the space key on t…
  • It happened on a macos high sierra Version10.13.6, MacBook Pro
  • Hi sebastiaan and @Daniel, It was the same issue: Two stimuli after each other with the first only having a clock. sleep The workaround with any kb.flush() before clock sleep helped! The issue occured with 3.2.5 Kafkaesque Koffka using an old…
  • Possibly, it had to do with the operating system. Actually, it was never present on a certain MacBook. And there it never appeared in the logfile. However, i want to be independent from operating systems (one of the strengths of OS!) using participa…
  • For online testing you can try https://lab.js.org/
  • Hi Amihai, If you use an inline_script it may help to write a while loop, and ask for keylifts. You can find an example here: http://forum.cogsci.nl/index.php?p=/discussion/comment/14335#Comment_14335 Good luck Stephan
  • Hi Amir, i am not sure if that helps, but here some suggestions. Your operation += is not (yet) supported. Try to run just this code: total_correct_t += 1 Suggestion: Implement the variable beforehand (maybe another inline_script) var.to…
  • Update: Actually, my workaround with the copy of the variable helped. Although not visible in the inspector, the values of the new variable Sex are logged in the logfile. However, the old variable sex is not in the logfile. Seems like a temporary v…
  • Hi Kevin, I believe you are looking for this: https://forum.cogsci.nl/discussion/4111/calculating-specific-accuracy-with-decimals Good luck Stephan
  • I shortened the script a little: button_ok = Button(text=u'Ok') #label_gender= Label(u'Your gender') checkbox_male = Checkbox(text=u'Maennlich', group=u'sex', var=u'sex') checkbox_female = Checkbox(text=u'Weiblich', group=u'sex', var=u'sex') # B…
  • Hi eduard, I just replicated the error on the second run (new day, same problem). Yesterday i also made like 10 runs, where it worked. I cannot say how often it occurs. I am using Win7, expyriment backend. The error also occured on Mac. May…