Howdy, Stranger!

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

Supported by

images and keyboard response

Hello everyone!


I am not good in programming or coding at all. I have been facing some problems designing my experiment. I have to images of two faces one of them is "happy" the other one is a "sad" face. The participants are expected to press "1" when they see a "happy" face and press "3" when they see a "sad" face. I created a practice loop, I inserted a "practice_sequence" in it. You can see my variables below.

For the "experiment_loop" I added some more "sad" and "happy". The number of displays is as I want them to be; but the problem is the test doesnt run as I listed them in the loop. It goes one happy one sad continuously. I dont really know what to do. And the data in logger (when saved) is confusing all variables divided by " " (quotation marks). I would appreciate any tip!

Thanks in advance!


Özlem

Comments

  • Hi Özlem,

    > The number of displays is as I want them to be; but the problem is the test doesnt run as I listed them in the loop. It goes one happy one sad continuously.

    That sounds like the order of the sequence is set to 'sequential'. Would that be it?

    > And the data in logger (when saved) is confusing all variables divided by " " (quotation marks). I would appreciate any tip!

    By default, Excel (assuming that's what you're using to view the data) doesn't recognize the format of the data files. You can fix this using the Data → Text to columns option in Excel, which allows you to indicate that the data consists of comma-separated columns.

    Cheers!

    Sebastiaan

  • edited October 2019

    Thanks for the very quick reply!


    I actually could not find the setting for making the order of sequence 'sequential'. The excel problem is solved:) thank you!

    Now what I did is I shuffled the "happy" "sad" pictures myself by hand. Now it works as I want. Still I would have to change the order of the visual stimuli (i.e. happy-sad faces by hand again). I guess the problem is I dont know how to refer to the visual stimuli in loop table. The sad face image's name is "09F_SA_C_.BMP" and the happy one is "happy_female.BMP". Yet on the sketchpad I named them as "happy" and "sad"


    When I added keyboard response, the "correct_response" column was recognised and I didnt even have to type anything for that. I checked if it collects my responses and yes it does. I tried some other things as well but this was the best (!) thing I came up with.

    I feel really helpless, going through the tutorials ans yet still not being able to do a thing... I tried the flanker test, when the stimuli is a text I could manage it but I could not do it with visual stimuli.

  • Hello again!

    I solved the problem by following the cues in here: https://osdoc.cogsci.nl/2.9.3/tutorials/step-by-step-tutorial/

    It took me a few hours yet my experiment works just great. I was having trouble naming my sketchpad and the loop rows.


    The problem was that I was trying to create different sketchpads for both happy and sad, but apparently I just needed to do the naming correctly in brackets. Thanks a lot! It really saved my life.


    Regards,

    Özlem

  • Hi Özlem,

    Good to hear that you solved it! The last screenshot looks much better indeed.

    Cheers,

    Sebastiaan

Sign In or Register to comment.