PennController for IBEX › Forums › Support › Trouble logging participant information › Reply To: Trouble logging participant information
June 29, 2021 at 8:50 am
#7096
Larissa_Cury
Participant
Dear Jeremy,
I’m having a similar problem. I tried this solution but it didn’t work. I need to log the filenames of the images in my Canvas. However, I only see “canvas” in the results file, not the filename (which would tell me the indendepent variables of my experiment). This is the relevant part of my code:
My csv file is called “tabela-target.csv” and the relavant collun (in which my images are) is called “imagem”)
Template("tabela-target.csv" , row => newTrial("trial_1_no_cue_UP", newText("D1", " <br> <b>+</b>") .cssContainer({ "font-size":"100px", "color":"blue"}) .center() .print() , newTimer("timer-D1",1000) .start() .wait() , getText("D1") .remove() , newImage("imagens", row.imagem) .size(500, 200) , newText("cruz_central", "<br> <b>+</b>") .cssContainer({ "font-size":"100px", "color":"red"}) .center() .print() , //para cima// newCanvas("center", 200,200) .add( "center at 50%" , "center at 50%" , getImage("imagens")) .cssContainer({ "position": "relative", "margin-left": "-40px", "margin-right": "-50px", "margin-top": "-285px", "margin-bottom": "0px", "left": "40%", "width": "50%"}) .log() .print() , newKey("keypress1","EI") .wait() .log() , getText("cruz_central") .remove() , getCanvas("center") .remove() , newText("separacao", "<br> <b>+</b>") .cssContainer({ "font-size":"100px", "color":"yellow"}) .center() .print() , newTimer("wait-separacao",2500) .start() .wait() .log("imagens", row.imagem) .log("item", row.versao) ));
Indeed, I also have another collum called “versao” in which I have the corresponding numbers of my items, which is not logging as well 🙁
Thank you in advance!