Howdy, Stranger!

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

Supported by

Last Slide of Experiment does not go away

Hello,

I am currently trying to set up a self-paced reading study using OpenSesame. I have some welcome screens, then the trial sequence, and then some demographic questions followed by a goodbye screen. The first problem is that this goodbye screen will not go away. I have currently set the duration of the goodbye screen (sketchpad) to 'keypress' but no matter what key I press, it will not go away and so the experiment cannot end properly. I have also tried to set the duration to 3000ms but it will also not go away after that time. This problem only occurs when I set the experiment to OSWeb backend. In the PsychoPy backend, I did not have this problem.

The other problem I have is that it seems like the logger is not saving the answers to the demographic questions at the end to the results file.

Can anybody help me with these problems?

I have attached the experiment file to this post.

Thank you in advance!

Comments

  • Hi @AHaan,

    I can't see the experiment file, could you try sending it again?

    Thanks,

    Claire

  • edited February 4

    Sorry, here it is @cvanbuck!

    The experiment is in German, but you basically only have to press any key to get through the sentences and the screens that have buttons should be clear.

  • Hi @AHaan,

    This peaked my curiosity and so I had a quick look. Turns out that the issue is not the last Sketchpad but the logger. If you use some inline_javascript to write something to the console right after the sketchpad, you can see that it actually gets there (meaning that the keypress to the sketchpad has been processed). Hence the issue must be the logger.

    I'm not sure why but OSWeb doesn't seem to like the logger there on its own outside a loop. I tried inserting the end of your task into a single trial loop, within a sequence, and the task then runs fine.

    Hope this helps,

    Fab.

    Buy Me A Coffee

  • edited February 4

    I was going to suggest unlinking the logger at the end (the one "on its own"), which also seemed to solve this, but @Fab's solution is cleaner. :) 

    Also, @AHaan, you might want to rename one of the response variables of your form items (the ones in this new loop, Muttersprache and was_gemessen), so that the response of the second one doesn't overwrite the response of the first one in your results file.

    Cheers,

    Claire

  • Thank you @Fab, that definitely fixed the problem of the experiment not finishing!

    However, I still have the problem that the responses to the demographic questions are not being logged into the results file. @cvanbuck what do you mean about renaming the response variables? They don't have the same names ('Muttersprache' is different from 'was_gemessen'), so why would one override the other? At this point, both are not being logged.

    Can one of you help me with this?

    Thank you in advance!

    Sophie

  • edited February 4

    Sorry if this was unclear, I was talking about the response variable names, here:

    Does it help? If not, try and see if the 'unlinked logger' version works for you:

    Claire

  • Yes, sorry, I didn't understand before that the variable would have a different name from the form. I changed it now and it's logging properly. Thank you so much you two!

    Best,

    Sophie

Sign In or Register to comment.