Seemingly random variables logging
Hi, I'm currently having an issue with my experiment. I have several blocks with variables defined using vars.VARIABLENAME using inline javascript. At the end of each block, I have (the same) logger with all of those variables logged (and have the all variables logged checked off anyway).
However, only a few of the variables are actually coming out in the logger? A couple that are are values are, but even that seems to be random (I have two different images whose positions are coordinates, but only one of those is tracked). One of the strings, but not any of the others.
Even if there's not a clean fix, I'd love a way to get these in the logger somehow. I've tried JSON.stringify the dictionary for each trial and logging that, I've tried making copies of each individual variable,toString(), nothing is working.
Nothing is being defined with let either, so everything should be global?
Comments
Edit: Okay had a mini crisis since that experiment didn't load again, but here's a backup from last night that does open.
edit: sorry I didn't mean to post this one and I can't figure out how to delete it.
Okay finally just deleted everything that I was excluding. I didn't have any of those specific variables in there but it fixed the issue. I probably was using the * incorrectly? I'll paste what I had in there:
backgroundcanvas_backend
clock_backendcolor_backendcorrect_practice_instructions
disable_garbage_collection
descriptionexperiment_fileexperiment_path
font_boldfont_familyfont_italicfont_sizefont_underline foreground
form_clicksfullscreenheightikeyboard_backend
live_rowlive_row_practice_loop
logfilemouse_backendnew_column_1opensesame_version
opensesame_codename
repeat_cycleresponse_blockinstructions response_new_10_keyboard_response response_new_11_keyboard_response response_new_1_feedback response_new_1_keyboard_response response_new_2_feedback response_new_3_feedback response_new_4_feedback response_new_4_sketchpad response_new_5_keyboard_response response_new_5_sketchpad response_new_6_sketchpad response_new_7_sketchpad response_new_8_keyboard_response response_new_feedback response_new_sketchpad response_practice_instructions response_practice_instructions_sketchpad
response_time_practice_instructions
response_time_new_sketchpad
sampler_backend
round_decimalssound_buf_sizesound_channelssound_freqsound_sample_size
startthirdsubject_paritytime_block1_loop_inline_script time_block1_sequence time_block2_inline_script time_block2_sequence time_block3_sequence
time_new_1_form_text_input
time_new_1_reset_feedback time_new_1_sequence time_new_1_sketchpad
time_practice_block time_practice_block_sequence
widthtitletime_practice_sequence
time_practice_instructions_sketchpad
empty_column
count*
font_underlinepageXOffsetscreenLeftscreenTopscreenXscreenYscrollXscrollYforegroundpageYOffsetPERSISTENTTEMPORARYname