Elise

Forum Replies Created

Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • in reply to: Adaptation of elements to different screen sizes #5874
    Elise
    Participant

    Hi Jeremy,

    thanks a lot! The canvas solution is much more intuitive!
    I tried to position the objects in one canvas and now it is working.

    Best,
    Elise

    in reply to: Feedback after selecting an image #4954
    Elise
    Participant

    Yes, thank you so much for all your help!!!

    Best,
    Elise

    in reply to: Feedback after selecting an image #4952
    Elise
    Participant

    Thanks, the feedback is now there:)

    Since I see a frame when selecting the image now, I noticed that the keys are not related to the position of the images anymore. They seem to be related to the image (for example always when I press the “J” key, the Covered Picture is chosen, no matter in which position it is and the other way around). I think that this is coming from the counterbalancing of the pictures.

    Could you show me how to do the counterbalancing in the table or is it easy to solve this issue by changing a bit of code?

    Best,
    Elise

    in reply to: Feedback after selecting an image #4950
    Elise
    Participant

    Hi Jermey,

    last question, I promise!

    Is it possible to implement response feedback with a selector element? I implemented a column (“Target”) in my csv that says what the target response (CoveredPicture / VisualPicutre) is. This is my code so far:

    PennController.Template( "Filler_orig.csv" ,
        row => ["filler_orig",
            "DashedSentence", {s: row.Sentence},
            "PennController", PennController(
             defaultImage.size(400,400)   
        ,
        newImage("CoveredPicture", "covered.jpg")
            ,  
        newImage("VisualPicture", row.Picture)
           ,
        newCanvas(800,400)
            .add(   -25 , 0 , newCanvas("left" , 400, 400) )  
            .add( 425 , 0 , newCanvas("right", 400, 400) )  
            .print()
            .settings.log()
            ,
        newCanvas(50,50)
            .settings.add(-75,-200, newText("(F)"))
            .settings.add(850,-200, newText("(J)"))
            .print()
            ,
        newVar("toggle", 1)  // Initialize with value 1
            .global().set( v=>v-1 ).test.is(1)  
            .success(
                getImage("CoveredPicture").print(0,0,getCanvas("left")),  
                getImage( "VisualPicture").print(0,0,getCanvas("right"))   
            )
            .failure(
                getImage("CoveredPicture").print(0,0,getCanvas("right")),
                getImage( "VisualPicture").print( 0,0,getCanvas("left") )
            )
            ,
        newSelector()
            .settings.disableClicks()
            .settings.add( getImage("CoveredPicture") , getImage("VisualPicture") )
            .settings.keys(          "F"    ,          "J"   )
            .settings.log()
            .wait()
            )
            .log('Condition', row.Condition)
            .log('Item', row.Item)
    ])

    I tried to work with the Var element to save the participants response, but I don’t know how to test if response and target response matches. .success / .failure are just applicable to specific elements right?

    Best,
    Elise

    in reply to: .zip file problems #4947
    Elise
    Participant

    Thanks, Jeremy!

    I have nearly 80 pictures, but I will have a look they don’t exceed the limit.

    Best,
    Elise

    in reply to: .zip file problems #4945
    Elise
    Participant

    Okay, than AWS seems to be a good choice:)

    Something has changed now: After the dashed sentence, loading takes place (with the original preloading sentence, my moving object is missing) and the page is displayed- just the picture that should be loaded from the zip file is missing.

    I will try out different things the next days and hopefully just my IP address has been flagged.
    Thanks for all your help today!

    Elise

    in reply to: .zip file problems #4943
    Elise
    Participant

    Yes, I see it on Firefox (but only on my computer, for other computers firefox worked).

    Do you have other recommendations for a webserver? Maybe I should try another one than amazonaws to see if the same problem arises…

    Elise

    in reply to: .zip file problems #4941
    Elise
    Participant

    I tried it, but it said “ERROR: You must define the ‘items’ variable.”, when starting the experiment :/

    I also downloaded the Firefox and it’s not working. Could it be about my computer? I sent the link to five other people and it’s working fine for them.

    Best,
    Elise

    in reply to: .zip file problems #4939
    Elise
    Participant

    I also thought it might be something browers specific: I use Opera. I also tried to run the experiment in Internet Explorer, but the same error appeared (page was empty after loading).
    But I tried it on two other computers with Firefox and Internet Explorer and it worked perfectly fine. So maybe it is a computer specific problem? I will ask some people to run the experiment and let you know if I could find out, if it’s just me facing this problem.

    I am glad to hear that the CheckPreloaded() command is also working with zip-files!

    Thank you for help!

    in reply to: .zip file problems #4937
    Elise
    Participant

    Hi Jeremy,

    I made the changes you proposed, but the error message still occurs in the console :/ (since two hours)

    I don’t think it has something to do with amazonaws, because one of the pictures that should appear after the dashed sentence is on the local server of PCIbex and this one is also not displayed:

    So the dashed sentence works perfectly fine and then my preloading message with the moving object appears. After a while it disappears and the page is empty except for the progress bar. I can just move to the next trial by using the sequence option of the debugger. So pressing the “j” or “f” key that normally leads to the next trial is also not working.

    What do you think: Should I try another server or is there something else I can try?

    Best,
    Elise

    in reply to: .zip file problems #4926
    Elise
    Participant

    Hi Jeremy,

    thanks for your fast reply!
    Yesterday it showed me the 404 error in the console. The pictures preloaded,but they were not displayed. When I click on the experiment today, it was working fine at first. After running the experiment a few times to check if all pictures are displayed correctly, the zip file got downloaded (reported in the debugger), but the pictures are not shown at all (also the pictures I load locally from PCIbex is not shown)

    This was shown in the console:

    server.py?include=js:880 Uncaught (in promise) TypeError: Cannot set property ‘style’ of null
    at l.uponCreation (server.py?include=js:880)
    at l.n.uponCreation (server.py?include=js:880)
    at server.py?include=js:880
    at new Promise (<anonymous>)
    at Array.<anonymous> (server.py?include=js:880)
    at server.py?include=js:873

    Most times I run the experiment, the pictures are shown, but sometimes nothing at all is displayed after the dashed sentence. I am afraid that this will happen when running the experiment with participants. Do you have an idea what is going on?

    in reply to: .zip file problems #4922
    Elise
    Participant

    Hi Jeremy,

    is there a solution to the 404 error?
    I also uploaded the zip file on amazonaws and added the CORS rules accordingly to my bucket.

    This is the link to my experiment: https://expt.pcibex.net/ibexexps/Potsdam-experiments/Chai/experiment.html

    And this is the link to the zip folder: https://chaipictures.s3.eu-central-1.amazonaws.com/Pictures.zip

    If amazonaws is not usable for preloading a zip-file with images, could you recommend a webserver where I can rent storage and which allows cross domain request?

    Best,
    Elise

    in reply to: Feedback after selecting an image #4695
    Elise
    Participant

    Hey Jeremy,

    thanks for your reply. You were right, the button and the feedback massage were behind the picture. But the feedback massage “Wrong” is printed without pressing any key. I took the pictures and the dashed sentence out and it is still the case that the feedback massage “Wrong” is printed although no key was pressed. I would be very thankful if you could help fixing this problem.

    Elise

    in reply to: Feedback after selecting an image #4693
    Elise
    Participant

    Hi Jeremy,

    thank you for your help!

    The problem now is, that I can’t press any key anymore. If I comment out that part:

    newButton("continue", "Next")
            .print()
            .wait()  // You need to wait before going to the next trial

    I can select a picture, but the next trial starts immediately. I suppose that the feedback is there, but I can’t see it.
    Do I have to implement the .wait command somewhere else?

    Elise

Viewing 14 posts - 16 through 29 (of 29 total)