[open] Experiment does not save anymore
Hi,
The experiment attached does not save all of its data. It did before, but not anymore since I inserted an inline script for the randomization of sequences (copied from another topic here) and created a dummylist with these sequences in it. Could you please take a look?
This is the experiment: https://www.dropbox.com/s/kmqo2p7levslkwf/Master_Titratie_pilotRT_definitief4.opensesame.tar.opensesame.tar.gz
This is how the logger saved the data before (and how I would like it to save the data): https://www.dropbox.com/s/5l3fin74dra2nzq/LoggerCORRECT.xlsx
This is how its saves the data now: https://www.dropbox.com/s/tvxa8us5ar2wfx1/loggerFOUT.xlsx
Thank you so much.
Marianne
Comments
Hi Marianne,
If variables are missing from the logfile, you can add them explicitly by disabling 'Automatically detect and log all variables' in the
logger, and add the missing variables through the 'Add custom variable' button.If this doesn't solve things, could you describe your problem in more detail so we don't have deduce the problem from inspecting your experiment and logfiles!
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
I'm sorry, i'll try my best to explain in more detail.
We present subjects with eye-movements (smooth-pursuit plugin) and beeps at the same time. There are high and low beeps and participants have to respond as fast as possible to the beeps by pressing "z" or "/" on the keyboard. Simultaneously they have to follow the movement of the dot with their eyes. After that they have to recall a memory and make the same eye movements while thinking of that memory. Afterwards they score the memory on 2 VAS (slider plugin).
This loop is repeated for eye-movements of different frequencies (0.4, 0.6, 0.8, 1.0, 1.2 Hz and no eye-movements (blank)). These loops are presented randomly.
A loop of one certain frequency (smoothpursuit+beeps only) looks like this:
I want opensesame to record the reaction time to each beep, and whether the response is correct (high or low tone). When a button is pressed, the next beep must be presented with an interval of 2600 ms +/- 400 ms. The experiment has to wait with presenting a new tone until a button is pressed in response to last tone OR until 2000 ms are over (Timeout = 2000 ms).
So: beep - wait - buttonpress - 2600+/-400ms - beep
Or: beep - wait - 2000 ms timeout - 2600+/-400ms - beep
Did I do this correctly? (I guess not)
Right now the logger does not log all responses. For most beeps the output file says response = none (despite the fact that I really pressed the buttons). Furthermore the experiment always seems to wait for 2000 ms until presenting a new tone, even when a button was pressed.
Furthermore the logger does not log which eye_movement frequency was presented. I declared a new variable in "LoopDualTask", i.e., "EyeMovement_frequency" with the correct frequency underneath. But the logger does not record this; displays NA instead.
I want to note that for random presentation of the different loops of different frequencies, I had to use an inline script from this website:
...and I had to create a dummy list with all the frequency loops. This dummy list is set to "run if = never". I'm not sure whether this interferes with logging, but after I inserted this script the experiment did not log everything anymore.
Before, the experiment DID log all responses, DID log EyeMovement_frequency (and I believe it did not wait till 2000 ms before continuing to the next beep, but I'm not sure). Of course, before the frequency loops were not presented at random.
I'm a total noob and can't figure out what went wrong.
I have another question about this study design. It is not very elegant to present the smooth_pursuit for 170.000 ms, which is a guestimation of how long it would take for a participant to respond to all beeps. It would be nice if the eye movements stopped after the participant responds to the last beep. How can i do that?
So how can you make to operations in a Parallel stop at the same time?
Thank you in advance
Hi Marianne,
Well that's quite a lot that you want to do at the same time! I think you'll be much better of using an
inline_scriptthan trying to build this using the GUI. It may be possible, but it will end up being a complicated mess (looking at the structure you describe above, that may have already happened!).Below you see a script that does the following, which, from what I understand, is about what you need:
This is script is a bit tricky, because it requires some bookkeeping about where you are in the trial. But if you carefully walk through the logic of the loop and carefully read the comments, you should be able to figure out how it works.
Good luck!
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!