[open] All stimuli not shown in logger
Hi,
I have a problem with the logger. In each trial the words which have been presented as stimuli are not seen in the logger (only the last word is seen). The responses given in these trials are seen.
Please help.
Comments
Hi,
Could you provide us with some more information? How did you define the variables that you don't see in the logger item?
My first guess is that you gave all the words the same identifier name (e.g. 'word'). As a consequence, the value of this variable is continuously being overwritten by the next 'word' and only the value of the last one (which is not overwritten) appears in the logger item.
Perhaps you could upload your experimental script, such that we can have a closer look at it. You can do this by executing the following steps:
Best,
Lotje
Did you like my answer? Feel free to

Hi,
Here is the link to my script(experiment)--
http://pastebin.com/4EKAMiEa
I have not made any changes in the above script.
I tried changing the name of the variable in each loop and accordingly I changed the variable name in the sketchpad however, changing the variable name in one sketchpad changes the variable name in all the sketchpads.
Hi,
If you want to log all the variables that are used in a given loop, you have to place a logger item at the end of the sequence that this loop is iterating over. In your case, this means that you should append the existing logger item at the end of the sequence containing the sketchpad item showing the words.
I hope this helps!
Please let us know if you have any further questions.
Best wishes,
Lotje
Did you like my answer? Feel free to

Hello,
I did as you said. I added a logger in the sequence under every loop. Although now, the words (stimulus) are seen but there are repetitions of the last word of every trial. Also the responses that are given to these stimuli is shown 5 times (which should actually be shown only once) under different columns and not getting displayed across their respective stimulus words in the spreadsheet.
I have mentioned the link to my logger data. It is on column 'CV' Kindly do let me know what can be done about it.
http://www.filedropper.com/loggerdata_1
Hi,
Every time the logger item is executed, a new row is created in your output file. So:
I guess what you're looking for is a column header containing all the words presented on a given memory task in a single cell (such that one row corresponds to one memory task. To achieve this, you can do the following:
Append a couple of inline_script items to your experimental overview like so:
And paste (something like) the following code into them (see comments for more explanations):
1. define_list_variable:
Place the following code in the Prepare phase tab:
2. make_word_list:
Place the following code in the Prepare phase tab:
3. reset_list:
Place the following code in the Run phase tab (because resetting the list during the preparation phase of the experiment is too early):
After applying the above steps, you will find the variable of interest in the colum 'word_list' in your logger item.
Note that since you made a new sequence item for every word loop, you will have to append the existing make_word_list inline_script item to every word sequence separately.
Also, you have to append the reset_list item after every logger manually, to get the desired result.
Does this make sense?
I uploaded a new variable of your experiment here:
Does this help?
Best wishes,
Lotje
Did you like my answer? Feel free to

Hi,
Thank you very very much for the help. It is currently running fine.
I wanted to ask that, since my experiment requires counterbalancing the conditions, I have done it manually. Now, if I want to know what are the other ways in which I can present my conditions, do I need to do that manually? Is there any other method to do the same?
There's a section on counterbalancing, which you can find here:
Chris Longmore also created a very informative video tutorial in which he explains a couple of ways to implement counterbalancing, for simple as well as more complex paradigms:
[youtube:zP8ucRtWU5g]
Hope this helps!
Check out SigmundAI.eu for our OpenSesame AI assistant!
Thanks for the video.
When I change the text in any one of the text_display it changes the script in some of the text_display while some are unchanged. Why is this happening? The text_display is outside the loop.
Please help as soon as possible.
Regards,
dv_r
Hi,
When appending a sketchad item to the sequences within your loops, you have chosen 'append existing item'. That means that the newly-appended item is a copy of an already-existing one. Thus, if you change something in this sketchpad, it will change all of its copies as well.
If you want to use a new sketchpad for a new sequence, choose 'append new item'.
Good luck!
Lotje
Did you like my answer? Feel free to
