PennController for IBEX › Forums › Support › Modifying SendResults()
- This topic has 2 replies, 2 voices, and was last updated 2 years, 5 months ago by baheimer.
December 2, 2020 at 1:09 pm #6428baheimerParticipant
I’m running a study that is quite long. For piloting, it has been taking people 40-50 minutes. For the real study, we’ll actually be running on blind participants and anticipate it taking even longer.
Because we have such specific participants and the study takes so long, we would really like to have the results saved very often. I’ve found another forum posts where you explained how to block the pop-up message that accompanies this. This was super helpful! But the other issue is that, as you know, each time that SendResults runs, it saves every trial that has been done so far, not just the trials that have happened since the last SendResults. And because of the length of the study, we end up with a ton of redundant data. We set up a new server for online studies just for this reason — our results files were quickly surpassing the PCIbex size limit.
It is not the worst thing in the world, but since I’ve now set up this experiment server, my lab will continue to use the server going forward. So if possible, I would like to set things up such that running and analyzing data is as straightforward as possible and space never becomes an issue.
Thanks so much for all you do!
BriannaDecember 2, 2020 at 3:49 pm #6429JeremyKeymaster
Try editing the file other_includes/main.js and find line 204, t.options._finishedCallback(); and insert a new line before that:
allResults = ;
I haven’t tested it so you should do so yourself, but if things work as I expect them to, you should see a new entry in your results file for each SendResults, as if it were coming from a new participant, but which should only contain lines for the unsaved trials so far
Let me know if this solution worked
JeremyDecember 9, 2020 at 2:49 pm #6440baheimerParticipant
Sorry for the delay in getting back to you. This solution worked perfectly! Thank you for the help.
- You must be logged in to reply to this topic.