Larissa_Cury

Forum Replies Created

Viewing 2 posts - 91 through 92 (of 92 total)
  • Author
    Posts
  • in reply to: Trouble logging participant information #7099
    Larissa_Cury
    Participant

    Dear Jeremy,

    I honestly can’t thank you enough! You’ve solved my problem, now it’s working! Thank you so so much!!

    in reply to: Trouble logging participant information #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!

Viewing 2 posts - 91 through 92 (of 92 total)