Inquisit 5 script convert Inquisit 4 on the Short Term Memory Bind Test


Author
Message
ezgi
ezgi
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Awaiting Activation
Posts: 4, Visits: 13
Hello Dave,

I'm having a problem with the short term memory bind test running on Inquisit 4. I tried to make some adjustments yet, I cannot use valid answer keys (E & I). Experiment is using all keyboard buttons as answer keys. Can you please help me with that? Also, another problem is this not all .jpg pictures are shown on the screen during the experiment. Only 2 pictures out of 4 are presented on the screen while a participant is supposed to give an answer.  I have tried to solve these problems however I could not. I'd appreciate if you'd help me. Thank you very much, best wishes.

Ezgi.



P.S.: the script is attached.
Attachments
Dave
Dave
Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)
Group: Administrators
Posts: 10K, Visits: 62K
ezgi - 11/13/2020
Hello Dave,

I'm having a problem with the short term memory bind test running on Inquisit 4. I tried to make some adjustments yet, I cannot use valid answer keys (E & I). Experiment is using all keyboard buttons as answer keys. Can you please help me with that? Also, another problem is this not all .jpg pictures are shown on the screen during the experiment. Only 2 pictures out of 4 are presented on the screen while a participant is supposed to give an answer.  I have tried to solve these problems however I could not. I'd appreciate if you'd help me. Thank you very much, best wishes.

Ezgi.



P.S.: the script is attached.

This is not vaiid Inquisit 4 syntax:

/ isvalidresponse = [(values.leftKey), (values.rightKey)]

As addressed many times before on here, the proper Inquisit 4 construct is

<trial example>
...
/ isvalidresponse = [trial.example.response == values.leftKey || trial.example.response == values.rightKey]
...
</trial>

ezgi
ezgi
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Awaiting Activation
Posts: 4, Visits: 13
Thank you for your quick reply Dave. While waiting for your answer I changed it as written on forum. But it is still not working. Where did I go wrong?
Attachments
Dave
Dave
Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)
Group: Administrators
Posts: 10K, Visits: 62K
ezgi - 11/13/2020
Thank you for your quick reply Dave. While waiting for your answer I changed it as written on forum. But it is still not working. Where did I go wrong?

<trial getReady>
/ stimulusframes = [1 = getReady]
/ trialduration = 3000
/ isvalidresponse = [(values.leftKey), (values.rightKey)]
/ beginresponsetime = 3000
/ errormessage = false
/ recorddata = false
/ inputdevice = keyboard
</trial>

is still as wrong as it was before.
ezgi
ezgi
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Awaiting Activation
Posts: 4, Visits: 13
Thank you Dave,  you are right. I fixed it but still the problem persists both with the response keys and missing pictures. I do not know where else I should change. Can you please help? I really appreciate it.
Thanks
Attachments
Dave
Dave
Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)
Group: Administrators
Posts: 10K, Visits: 62K
ezgi - 11/13/2020
Thank you Dave,  you are right. I fixed it but still the problem persists both with the response keys and missing pictures. I do not know where else I should change. Can you please help? I really appreciate it.
Thanks

<trial array2_binding_same>
...
/ isvalidresponse = [trial.array2_color_different.response == values.leftKey || trial.array2_color_different.response == values.rightKey]
/ iscorrectresponse = [trial.array2_color_different.response == values.sameKey]
...
</trial>

Please double-check your syntax first. In the above, you'e looking for responses to <trial array2_color_different> in <trial array2_binding_same>. That obviously cannot work.
ezgi
ezgi
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Awaiting Activation
Posts: 4, Visits: 13

It was careless of me, thanks Dave

Dave
Dave
Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)Supreme Being (871K reputation)
Group: Administrators
Posts: 10K, Visits: 62K
ezgi - 11/13/2020

It was careless of me, thanks Dave

Regarding the other issue, you have stray statement separators in your /ontrialbegin logic throughout. Those will cause problems. E.g.

<trial array2_shape_different>
/ pretrialpause = values.blankPresentationTime
/ ontrialbegin = [
    item.arrayStimuli.reset();
    list.changeItems.reset();
    list.changeItems.poolsize = values.arraySize;
    values.array = 2;
        
    values.change1 = list.changeItems.nextindex;
    values.change2 = list.changeItems.nextindex;
    expressions.changeShapes;
    
    values.location1 = list.location.nextvalue;
    values.location = values.location1;
    values.location1x = list.xpositions.nextvalue;
    values.location1y = list.ypositions.nextvalue;; <--- HERE
    values.shape = values.shape1;
    values.index = 1;
    expressions.createArray;    

    values.location2 = list.location.nextvalue;
    values.location = values.location2;
    values.location2x = list.xpositions.nextvalue;
    values.location2y = list.ypositions.nextvalue;; <--- HERE
    values.shape = values.shape2;
    values.index = 2;
    expressions.createArray;    

    values.location3 = list.location.nextvalue;
    values.location = values.location3;
    values.location3x = list.xpositions.nextvalue;
    values.location3y = list.ypositions.nextvalue;; <--- HERE
    values.shape = values.shape3;
    values.index = 3;
    expressions.createArray;

    values.location4 = list.location.nextvalue;
    values.location = values.location4;
    values.location4x = list.xpositions.nextvalue;
    values.location4y = list.ypositions.nextvalue;; <--- HERE
    values.shape = values.shape4;
    values.index = 4;
    expressions.createArray;
    
    if (values.arraySize > 2){
        trial.array2_shape_different.insertstimulusframe(picture.shape3, 1);        
    };
    if (values.arraySize > 3){
        trial.array2_shape_different.insertstimulusframe(picture.shape4, 1);        
    };    

]


Fix those and it should work.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search