Howdy, Stranger!

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

Supported by

Auto Updating Session and Participation number when running the experiment

Hi,

In my experiment, I wish to automatically assign the session and participant number without having to completely rely on human inputs to minimise error. Is there a way to do so in an open sesame script? Also, if possible I would like to keep the GUI input method as well but it should contain the auto updated session number, so if the experimenter wants to change it can do so easily.

Thanks for the help.

Comments

  • Hi,

    I think the easiest solution is choosing your session and subject numbers based on the files in your directory and or filepool. So, retrieve a list with all log files, check the number of the most recent subject/session and set var.subject_nr accordingly. Do you see what I mean?

    Let me know if you need help with the implementation.

    Eduard

    Buy Me A Coffee

  • Thank you Eduard,
    I have been able to update the subject number based upon the log file being created in much a similar way as you have mentioned but only concern right now is can I also update these values for the auto generated gui asking for the participant's numbers and location of saving the log file.
    Well, for now, I just let it be whatever be the entry (this is annoying at times so wants it to auto update) but use the inline script to update the subject number and accordingly saves the log file.

Sign In or Register to comment.