Millisecond Forums

Data Issues & Trial Transition Issues

https://forums.millisecond.com/Topic30181.aspx

By KempInquisit - 11/17/2020

I am having issues with my data output. Two of my expressions are not "refreshing/updating" with new values after the first trial. Instead of refreshing/updating the same value that was printed in the first trial is reprinted over and over again.

Specifically, in my output file its the "expressions.topic" column and "expressions.statementtype" column. 

I am also having problems with the transitions between trial's within a block. The transition from my first trial (labelled: <trial testcue> ) to my second trial (labelled <trial makeTestBeliefs> ) is smooth and there is a 500 ISI. However, the transition from my second trial (labelled <trial makeTestBeliefs> ) and third trial (labelled <trial makeCRResponse> ) is very obtrusive. Obtrusive in the sense that the whole screen turns black for a second or two and it's very clear that it's not a clean transition.

Thank you very much for your help.

By KempInquisit - 11/17/2020

KempInquisit - 11/18/2020
I am having issues with my data output. Two of my expressions are not "refreshing/updating" with new values after the first trial. Instead of refreshing/updating the same value that was printed in the first trial is reprinted over and over again.

Specifically, in my output file its the "expressions.topic" column and "expressions.statementtype" column. 

I am also having problems with the transitions between trial's within a block. The transition from my first trial (labelled: <trial testcue> ) to my second trial (labelled <trial makeTestBeliefs> ) is smooth and there is a 500 ISI. However, the transition from my second trial (labelled <trial makeTestBeliefs> ) and third trial (labelled <trial makeCRResponse> ) is very obtrusive. Obtrusive in the sense that the whole screen turns black for a second or two and it's very clear that it's not a clean transition.

Thank you very much for your help.

I was unable to upload the relevant ZIP file due to "exceeding" my limit, even though the compressed file is 3.4 MB.
By Dave - 11/18/2020

KempInquisit - 11/18/2020
KempInquisit - 11/18/2020
I am having issues with my data output. Two of my expressions are not "refreshing/updating" with new values after the first trial. Instead of refreshing/updating the same value that was printed in the first trial is reprinted over and over again.

Specifically, in my output file its the "expressions.topic" column and "expressions.statementtype" column. 

I am also having problems with the transitions between trial's within a block. The transition from my first trial (labelled: <trial testcue> ) to my second trial (labelled <trial makeTestBeliefs> ) is smooth and there is a 500 ISI. However, the transition from my second trial (labelled <trial makeTestBeliefs> ) and third trial (labelled <trial makeCRResponse> ) is very obtrusive. Obtrusive in the sense that the whole screen turns black for a second or two and it's very clear that it's not a clean transition.

Thank you very much for your help.

I was unable to upload the relevant ZIP file due to "exceeding" my limit, even though the compressed file is 3.4 MB.

I cannot answer your questions without the code. Please provide it.
By KempInquisit - 11/18/2020

Dave - 11/18/2020
KempInquisit - 11/18/2020
KempInquisit - 11/18/2020
I am having issues with my data output. Two of my expressions are not "refreshing/updating" with new values after the first trial. Instead of refreshing/updating the same value that was printed in the first trial is reprinted over and over again.

Specifically, in my output file its the "expressions.topic" column and "expressions.statementtype" column. 

I am also having problems with the transitions between trial's within a block. The transition from my first trial (labelled: <trial testcue> ) to my second trial (labelled <trial makeTestBeliefs> ) is smooth and there is a 500 ISI. However, the transition from my second trial (labelled <trial makeTestBeliefs> ) and third trial (labelled <trial makeCRResponse> ) is very obtrusive. Obtrusive in the sense that the whole screen turns black for a second or two and it's very clear that it's not a clean transition.

Thank you very much for your help.

I was unable to upload the relevant ZIP file due to "exceeding" my limit, even though the compressed file is 3.4 MB.

I cannot answer your questions without the code. Please provide it.


------------------------------------------------------------------------------------------

<defaults>
/ fontstyle = ("Arial", 20pt)
/ screencolor = black
/ txcolor = white
/ halign = center
/ canvassize = (100%, 100%)
/ windowsize = (100%, 100%)
</defaults>

<values>
/ pairnumber = 1
/ beliefpairnumber = 1
/ left_border = 1
/ right_border = 1

/ currentinst = 0
/ instructnum = 1
/ trialCount = 0
/ testCount = 0

/ CB = "NA"
/ group = "NA"
/ topic = "NA"
/ statement = "NA"
/ statementtype = "NA"

/ statements_test_left = "NA"
/ statements_test_right = "NA"
/ testresponse = 0

/ makeTestBeliefs = 0
/ makeCRResponse = 0
/ likertRT = 0
</values>

<parameters>
/ nBlocks = 4
/ nTrials = 60
/ nTest = nTrials
/ ISI = 500
</parameters>

<expressions>
/ instructnum = if (contains(script.currenttrial, "Instructions")){values.instructnum} else {"NA"}
/ trialCount = if(script.currentblock == "Test"){values.testCount} else {"NA"}

/ topic = if(script.currentblock == "Test"){values.topic} else{"NA"}
/ statement = if(script.currentblock == "Test"){values.statement} else{"NA"}
/ statementtype = if(script.currentblock == "Test"){values.statementtype} else{"NA"}

/ makeTestBeliefs = if(script.currenttrial == "makeTestBeliefs"){values.makeTestBeliefs} else {"NA"}
/ makeTestBeliefs = if(script.currenttrial == "makeTestBeliefs"){values.makeTestBeliefs} else {"NA"}

/ makeCRResponse = if(script.currenttrial == "makeCRResponse"){values.makeCRResponse} else {"NA"}

/ testresponse = if(script.currenttrial == "testcue"){values.testresponse} else {"NA"}

/ statements_test_left = if (script.currentblock == "Test"){values.statements_test_left} else {"NA"}
/ statements_test_right = if (script.currentblock == "Test"){values.statements_test_right} else {"NA"}
</expressions>

CB1:
<expt CB1>
/ onexptbegin = [if (computer.platform != "mac" && computer.platform != "win") script.abort()]
/ onexptbegin = [values.CB = 1]
/ subjects = (1 of 1)
/ groupassignment = groupnumber
/ blocks = [1=Test]
</expt>

------------------------------------------------------------------------------------------
****** DATA
------------------------------------------------------------------------------------------
<data>
/ file = "Test.iqdat"
/ separatefiles = true
/ labels = true
/ columns = [subject, group, date, time, blockcode, trialcode,
            expressions.instructnum, expressions.trialCount, response, latency,
            expressions.statements_test_left, expressions.statements_test_right,
            expressions.topic, expressions.statement, expressions.statementtype,
            expressions.testresponse,expressions.makeTestBeliefs, expressions.makeCRResponse]
</data>

------------------------------------------------------------------------------------------
****** BLOCK
------------------------------------------------------------------------------------------
         
<block Test>
/ onblockbegin = [values.testCount = 0; values.testresponse = 1; values.makeTestBeliefs = 1; values.instructnum = 11]
/ trials = [1-3 = Instructions; 4-8 = sequence (testcue, makeTestBeliefs, makeCRResponse)]
</block>

------------------------------------------------------------------------------------------
****** TRIALS        
------------------------------------------------------------------------------------------

<trial testcue>
/ ontrialbegin = [values.testCount += 1]
/ ontrialbegin = [
    values.pairnumber = list.itempairnumbers.nextindex;
  values.topic = list.topic_test.nextvalue;
  values.statementtype = list.statementtype_test.nextvalue;
    values.beliefpairnumber = list.testbeliefpairnumbers.nextindex
]
/ inputdevice = mouse
/ stimulusframes = [1 = clearscreen, testcue, statements_test_left, statements_test_right]
/ validresponse = (statements_test_left, statements_test_right)
/ ontrialend = [values.statements_test_left = picture.statements_test_left.currentitem;
                values.statements_test_right = picture.statements_test_right.currentitem;
                if (trial.testcue.response == "statements_test_left") {values.testresponse = picture.statements_test_left.currentitem;}
                else if (trial.testcue.response == "statements_test_right") {values.testresponse = picture.statements_test_right.currentitem};]
/ posttrialpause = parameters.ISI
</trial>

<trial makeTestBeliefs>
/ inputdevice = mouse
/ ontrialbegin = [
    if (trial.testcue.response == "statements_test_left") {
        values.left_border = 2;
        values.right_border = 1;
    } else if (trial.testcue.response == "statements_test_right") {
        values.left_border = 1;
        values.right_border = 2;
    };
]
/ stimulusframes = [1 = TestBeliefQuestion, Belief1, Belief2, Belief3, Belief4, Belief5, Belief6, 1, 2, 3, 4, 5, 6, Border_Left, Border_Right, statements_test_left, statements_test_right]
/ validresponse = (1, 2, 3, 4, 5, 6, Belief1, Belief2, Belief3, Belief4, Belief5, Belief6)
/ ontrialend = [if (trial.makeTestBeliefs.response == "Belief1" || trial.makeTestBeliefs.response == "1") {values.makeTestBeliefs = 1;}
                 else if (trial.makeTestBeliefs.response == "Belief2" ||trial.makeTestBeliefs.response == "2") {values.makeTestBeliefs = 2}
                 else if (trial.makeTestBeliefs.response == "Belief3" ||trial.makeTestBeliefs.response == "3") {values.makeTestBeliefs = 3}
                 else if (trial.makeTestBeliefs.response == "Belief4" ||trial.makeTestBeliefs.response == "4") {values.makeTestBeliefs = 4}
                 else if (trial.makeTestBeliefs.response == "Belief5" ||trial.makeTestBeliefs.response == "5") {values.makeTestBeliefs = 5}
                 else if (trial.makeTestBeliefs.response == "Belief6" ||trial.makeTestBeliefs.response == "6") {values.makeTestBeliefs = 6}
         if (trial.testcue.response == "statements_test_left") {values.statement = picture.statements_test_left.currentitem;}
                 else if (trial.testcue.response == "statements_test_right") {values.statement = picture.statements_test_right.currentitem};
                 values.topic = list.topic_test.nextvalue;
                 values.statementtype = list.statementtype_test.nextvalue]
/ posttrialpause = parameters.ISI
</trial>

<trial makeCRResponse>
/ ontrialbegin = [
    if (trial.testcue.response == "statements_test_left") {
        values.left_border = 1;
        values.right_border = 2;
    } else if (trial.testcue.response == "statements_test_right") {
        values.left_border = 2;
        values.right_border = 1;
    };
]
/ inputdevice = mouse
/ stimulusframes = [1 = CRQuestion, NoCR, YesCR, Border_Left, Border_Right, statements_test_left, statements_test_right]
/ validresponse = (NoCR, YesCR)
/ ontrialend = [if (trial.testcue.response == "statements_test_left") {values.statement = picture.statements_test_right.currentitem;}
                else if (trial.testcue.response == "statements_test_right") {values.statement = picture.statements_test_left.currentitem;}
                if (trial.makeCRResponse.response == "YesCR") {values.makeCRResponse = 1;}
                else if (trial.makeCRResponse.response == "NoCR") {values.makeCRResponse = 0};
                values.topic = list.topic_test.nextvalue;
                values.statementtype = list.statementtype_test.nextvalue]
</trial>
    
------------------------------------------------------------------------------------------
****** INSTRUCTIONS
------------------------------------------------------------------------------------------
<item Instructions>
/ 1 = "11 TestInstr1b.jpg"
/ 2 = "12 TestInstr2b.jpg"
/ 3 = "13 TestInstr3b.jpg"
</item>

<picture InstructionsDisplay>
/ items = Instructions
/ select = sequence
/ size = (100%, 100%)
/ position = (50%, 50%)
</picture>

<trial Instructions>
/ stimulusframes = [1 = InstructionsDisplay, ContinueButton]
/ inputdevice = mouse
/ validresponse = (ContinueButton)
</trial>

------------------------------------------------------------------------------------------
****** TEST PHASE
------------------------------------------------------------------------------------------

<item testcue>
/1 = "Select the correct headline from phase 2"
</item>

<text testcue>
/ items = testcue
/ position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<item TestBeliefQuestion>
/1 = "Rate your belief that this is true"
</item>

<text TestBeliefQuestion>
/items = TestBeliefQuestion
/position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<text Belief1>
/ items = ("Definitely False")
/ position = (15%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief2>
/ items = ("Likely False")
/ position = (29%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief3>
/ items = ("Maybe False")
/ position = (43%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text Belief4>
/ items = ("Maybe True")
/ position = (57%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text Belief5>
/ items = ("Likely True")
/ position = (71%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief6>
/ items = ("Definitely True")
/ position = (85%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text 1>
/ items = ("1")
/ position = (15%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 2>
/ items = ("2")
/ position = (29%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 3>
/ items = ("3")
/ position = (43%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 4>
/ items = ("4")
/ position = (57%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 5>
/ items = ("5")
/ position = (71%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 6>
/ items = ("6")
/ position = (85%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<item CRQuestion>
/1 = "Is the fake news from Phase 1?"
</item>

<text CRQuestion>
/ items = CRQuestion
/ position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<text YesCR>
/ items = ("Yes")
/ position = (40%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text NoCR>
/ items = ("No")
/ position = (60%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (10%, 5%)
/ vjustify = center
</text>

<picture Border_Left>
/ items = ("NoBorder.jpg", "Border.jpg")
/ size = (55%, 55%)
/ position = (30, 32)
/ select = values.left_border
</picture>

<picture Border_Right>
/ items = ("NoBorder.jpg", "Border.jpg")
/ size = (55%, 55%)
/ position = (70, 32)
/ select = values.right_border
</picture>


------------------------------------------------------------------------------------------
****** LISTS - TEST
------------------------------------------------------------------------------------------
<list itempairnumbers>
/ poolsize = 4
/ selectionmode = sequence
</list>

<list testbeliefpairnumbers>
/ poolsize = 4
/ selectionmode = sequence
</list>

<picture statements_test_left>
/ items = ("CoronaBeer_COVID_C.png","Clinton_Nkorea_C.png","Alabama_Senate_M.png","Test_American_Cars_M.png")
/ size = (50%, 50%)
/ position = (30, 32)
/ select = values.pairnumber
/ select = values.beliefpairnumber
/ erase = false
</picture>

<picture statements_test_right>
/ items = ("CoronaBeer_COVID_M.png","Clinton_Nkorea_M.png","Alabama_Senate_C.png","Test_American_Cars_C.png")
/ size = (50%, 50%)
/ position = (70, 32)
/ select = values.pairnumber
/ select = values.beliefpairnumber
/ erase = false
</picture>

<list topic_test>
/ items = ("CoronaBeer_COVID","Clinton_Nkorea","Alabama_Senate","Test_American_Cars")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

<list statementtype_test>
/ items = ("Correct_1","Correct_3","Repeated","Correct_3")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

As this code contains png files I can also email you the code if that makes it easier.
Thank you for the help.
By Dave - 11/18/2020

KempInquisit - 11/18/2020
Dave - 11/18/2020
KempInquisit - 11/18/2020
KempInquisit - 11/18/2020
I am having issues with my data output. Two of my expressions are not "refreshing/updating" with new values after the first trial. Instead of refreshing/updating the same value that was printed in the first trial is reprinted over and over again.

Specifically, in my output file its the "expressions.topic" column and "expressions.statementtype" column. 

I am also having problems with the transitions between trial's within a block. The transition from my first trial (labelled: <trial testcue> ) to my second trial (labelled <trial makeTestBeliefs> ) is smooth and there is a 500 ISI. However, the transition from my second trial (labelled <trial makeTestBeliefs> ) and third trial (labelled <trial makeCRResponse> ) is very obtrusive. Obtrusive in the sense that the whole screen turns black for a second or two and it's very clear that it's not a clean transition.

Thank you very much for your help.

I was unable to upload the relevant ZIP file due to "exceeding" my limit, even though the compressed file is 3.4 MB.

I cannot answer your questions without the code. Please provide it.


------------------------------------------------------------------------------------------

<defaults>
/ fontstyle = ("Arial", 20pt)
/ screencolor = black
/ txcolor = white
/ halign = center
/ canvassize = (100%, 100%)
/ windowsize = (100%, 100%)
</defaults>

<values>
/ pairnumber = 1
/ beliefpairnumber = 1
/ left_border = 1
/ right_border = 1

/ currentinst = 0
/ instructnum = 1
/ trialCount = 0
/ testCount = 0

/ CB = "NA"
/ group = "NA"
/ topic = "NA"
/ statement = "NA"
/ statementtype = "NA"

/ statements_test_left = "NA"
/ statements_test_right = "NA"
/ testresponse = 0

/ makeTestBeliefs = 0
/ makeCRResponse = 0
/ likertRT = 0
</values>

<parameters>
/ nBlocks = 4
/ nTrials = 60
/ nTest = nTrials
/ ISI = 500
</parameters>

<expressions>
/ instructnum = if (contains(script.currenttrial, "Instructions")){values.instructnum} else {"NA"}
/ trialCount = if(script.currentblock == "Test"){values.testCount} else {"NA"}

/ topic = if(script.currentblock == "Test"){values.topic} else{"NA"}
/ statement = if(script.currentblock == "Test"){values.statement} else{"NA"}
/ statementtype = if(script.currentblock == "Test"){values.statementtype} else{"NA"}

/ makeTestBeliefs = if(script.currenttrial == "makeTestBeliefs"){values.makeTestBeliefs} else {"NA"}
/ makeTestBeliefs = if(script.currenttrial == "makeTestBeliefs"){values.makeTestBeliefs} else {"NA"}

/ makeCRResponse = if(script.currenttrial == "makeCRResponse"){values.makeCRResponse} else {"NA"}

/ testresponse = if(script.currenttrial == "testcue"){values.testresponse} else {"NA"}

/ statements_test_left = if (script.currentblock == "Test"){values.statements_test_left} else {"NA"}
/ statements_test_right = if (script.currentblock == "Test"){values.statements_test_right} else {"NA"}
</expressions>

CB1:
<expt CB1>
/ onexptbegin = [if (computer.platform != "mac" && computer.platform != "win") script.abort()]
/ onexptbegin = [values.CB = 1]
/ subjects = (1 of 1)
/ groupassignment = groupnumber
/ blocks = [1=Test]
</expt>

------------------------------------------------------------------------------------------
****** DATA
------------------------------------------------------------------------------------------
<data>
/ file = "Test.iqdat"
/ separatefiles = true
/ labels = true
/ columns = [subject, group, date, time, blockcode, trialcode,
            expressions.instructnum, expressions.trialCount, response, latency,
            expressions.statements_test_left, expressions.statements_test_right,
            expressions.topic, expressions.statement, expressions.statementtype,
            expressions.testresponse,expressions.makeTestBeliefs, expressions.makeCRResponse]
</data>

------------------------------------------------------------------------------------------
****** BLOCK
------------------------------------------------------------------------------------------
         
<block Test>
/ onblockbegin = [values.testCount = 0; values.testresponse = 1; values.makeTestBeliefs = 1; values.instructnum = 11]
/ trials = [1-3 = Instructions; 4-8 = sequence (testcue, makeTestBeliefs, makeCRResponse)]
</block>

------------------------------------------------------------------------------------------
****** TRIALS        
------------------------------------------------------------------------------------------

<trial testcue>
/ ontrialbegin = [values.testCount += 1]
/ ontrialbegin = [
    values.pairnumber = list.itempairnumbers.nextindex;
  values.topic = list.topic_test.nextvalue;
  values.statementtype = list.statementtype_test.nextvalue;
    values.beliefpairnumber = list.testbeliefpairnumbers.nextindex
]
/ inputdevice = mouse
/ stimulusframes = [1 = clearscreen, testcue, statements_test_left, statements_test_right]
/ validresponse = (statements_test_left, statements_test_right)
/ ontrialend = [values.statements_test_left = picture.statements_test_left.currentitem;
                values.statements_test_right = picture.statements_test_right.currentitem;
                if (trial.testcue.response == "statements_test_left") {values.testresponse = picture.statements_test_left.currentitem;}
                else if (trial.testcue.response == "statements_test_right") {values.testresponse = picture.statements_test_right.currentitem};]
/ posttrialpause = parameters.ISI
</trial>

<trial makeTestBeliefs>
/ inputdevice = mouse
/ ontrialbegin = [
    if (trial.testcue.response == "statements_test_left") {
        values.left_border = 2;
        values.right_border = 1;
    } else if (trial.testcue.response == "statements_test_right") {
        values.left_border = 1;
        values.right_border = 2;
    };
]
/ stimulusframes = [1 = TestBeliefQuestion, Belief1, Belief2, Belief3, Belief4, Belief5, Belief6, 1, 2, 3, 4, 5, 6, Border_Left, Border_Right, statements_test_left, statements_test_right]
/ validresponse = (1, 2, 3, 4, 5, 6, Belief1, Belief2, Belief3, Belief4, Belief5, Belief6)
/ ontrialend = [if (trial.makeTestBeliefs.response == "Belief1" || trial.makeTestBeliefs.response == "1") {values.makeTestBeliefs = 1;}
                 else if (trial.makeTestBeliefs.response == "Belief2" ||trial.makeTestBeliefs.response == "2") {values.makeTestBeliefs = 2}
                 else if (trial.makeTestBeliefs.response == "Belief3" ||trial.makeTestBeliefs.response == "3") {values.makeTestBeliefs = 3}
                 else if (trial.makeTestBeliefs.response == "Belief4" ||trial.makeTestBeliefs.response == "4") {values.makeTestBeliefs = 4}
                 else if (trial.makeTestBeliefs.response == "Belief5" ||trial.makeTestBeliefs.response == "5") {values.makeTestBeliefs = 5}
                 else if (trial.makeTestBeliefs.response == "Belief6" ||trial.makeTestBeliefs.response == "6") {values.makeTestBeliefs = 6}
         if (trial.testcue.response == "statements_test_left") {values.statement = picture.statements_test_left.currentitem;}
                 else if (trial.testcue.response == "statements_test_right") {values.statement = picture.statements_test_right.currentitem};
                 values.topic = list.topic_test.nextvalue;
                 values.statementtype = list.statementtype_test.nextvalue]
/ posttrialpause = parameters.ISI
</trial>

<trial makeCRResponse>
/ ontrialbegin = [
    if (trial.testcue.response == "statements_test_left") {
        values.left_border = 1;
        values.right_border = 2;
    } else if (trial.testcue.response == "statements_test_right") {
        values.left_border = 2;
        values.right_border = 1;
    };
]
/ inputdevice = mouse
/ stimulusframes = [1 = CRQuestion, NoCR, YesCR, Border_Left, Border_Right, statements_test_left, statements_test_right]
/ validresponse = (NoCR, YesCR)
/ ontrialend = [if (trial.testcue.response == "statements_test_left") {values.statement = picture.statements_test_right.currentitem;}
                else if (trial.testcue.response == "statements_test_right") {values.statement = picture.statements_test_left.currentitem;}
                if (trial.makeCRResponse.response == "YesCR") {values.makeCRResponse = 1;}
                else if (trial.makeCRResponse.response == "NoCR") {values.makeCRResponse = 0};
                values.topic = list.topic_test.nextvalue;
                values.statementtype = list.statementtype_test.nextvalue]
</trial>
    
------------------------------------------------------------------------------------------
****** INSTRUCTIONS
------------------------------------------------------------------------------------------
<item Instructions>
/ 1 = "11 TestInstr1b.jpg"
/ 2 = "12 TestInstr2b.jpg"
/ 3 = "13 TestInstr3b.jpg"
</item>

<picture InstructionsDisplay>
/ items = Instructions
/ select = sequence
/ size = (100%, 100%)
/ position = (50%, 50%)
</picture>

<trial Instructions>
/ stimulusframes = [1 = InstructionsDisplay, ContinueButton]
/ inputdevice = mouse
/ validresponse = (ContinueButton)
</trial>

------------------------------------------------------------------------------------------
****** TEST PHASE
------------------------------------------------------------------------------------------

<item testcue>
/1 = "Select the correct headline from phase 2"
</item>

<text testcue>
/ items = testcue
/ position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<item TestBeliefQuestion>
/1 = "Rate your belief that this is true"
</item>

<text TestBeliefQuestion>
/items = TestBeliefQuestion
/position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<text Belief1>
/ items = ("Definitely False")
/ position = (15%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief2>
/ items = ("Likely False")
/ position = (29%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief3>
/ items = ("Maybe False")
/ position = (43%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text Belief4>
/ items = ("Maybe True")
/ position = (57%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text Belief5>
/ items = ("Likely True")
/ position = (71%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief6>
/ items = ("Definitely True")
/ position = (85%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text 1>
/ items = ("1")
/ position = (15%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 2>
/ items = ("2")
/ position = (29%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 3>
/ items = ("3")
/ position = (43%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 4>
/ items = ("4")
/ position = (57%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 5>
/ items = ("5")
/ position = (71%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 6>
/ items = ("6")
/ position = (85%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<item CRQuestion>
/1 = "Is the fake news from Phase 1?"
</item>

<text CRQuestion>
/ items = CRQuestion
/ position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<text YesCR>
/ items = ("Yes")
/ position = (40%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text NoCR>
/ items = ("No")
/ position = (60%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (10%, 5%)
/ vjustify = center
</text>

<picture Border_Left>
/ items = ("NoBorder.jpg", "Border.jpg")
/ size = (55%, 55%)
/ position = (30, 32)
/ select = values.left_border
</picture>

<picture Border_Right>
/ items = ("NoBorder.jpg", "Border.jpg")
/ size = (55%, 55%)
/ position = (70, 32)
/ select = values.right_border
</picture>


------------------------------------------------------------------------------------------
****** LISTS - TEST
------------------------------------------------------------------------------------------
<list itempairnumbers>
/ poolsize = 4
/ selectionmode = sequence
</list>

<list testbeliefpairnumbers>
/ poolsize = 4
/ selectionmode = sequence
</list>

<picture statements_test_left>
/ items = ("CoronaBeer_COVID_C.png","Clinton_Nkorea_C.png","Alabama_Senate_M.png","Test_American_Cars_M.png")
/ size = (50%, 50%)
/ position = (30, 32)
/ select = values.pairnumber
/ select = values.beliefpairnumber
/ erase = false
</picture>

<picture statements_test_right>
/ items = ("CoronaBeer_COVID_M.png","Clinton_Nkorea_M.png","Alabama_Senate_C.png","Test_American_Cars_C.png")
/ size = (50%, 50%)
/ position = (70, 32)
/ select = values.pairnumber
/ select = values.beliefpairnumber
/ erase = false
</picture>

<list topic_test>
/ items = ("CoronaBeer_COVID","Clinton_Nkorea","Alabama_Senate","Test_American_Cars")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

<list statementtype_test>
/ items = ("Correct_1","Correct_3","Repeated","Correct_3")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

As this code contains png files I can also email you the code if that makes it easier.
Thank you for the help.

<list topic_test>
/ items = ("CoronaBeer_COVID","Clinton_Nkorea","Alabama_Senate","Test_American_Cars")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

<list statementtype_test>
/ items = ("Correct_1","Correct_3","Repeated","Correct_3")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

These selection modes do not make sense. They ought to be

<list topic_test>
/ items = ("CoronaBeer_COVID","Clinton_Nkorea","Alabama_Senate","Test_American_Cars")
/ selectionmode = values.beliefpairnumber
</list>

<list statementtype_test>
/ items = ("Correct_1","Correct_3","Repeated","Correct_3")
/ selectionmode = values.beliefpairnumber
</list>

just like in the respective <picture> elements.

As for

> However, the transition from my second trial (labelled <trial makeTestBeliefs> ) and third trial (labelled <trial makeCRResponse> ) is very obtrusive. Obtrusive in the sense that the
> whole screen turns black for a second or two and it's very clear that it's not a clean transition.

stimuli are erased at the end of a trial by default. That is what will cause a "black screen". Set /erase = false in the stimulus elements you don't want erased in this manner.
By KempInquisit - 11/18/2020

Dave - 11/18/2020
KempInquisit - 11/18/2020
Dave - 11/18/2020
KempInquisit - 11/18/2020
KempInquisit - 11/18/2020
I am having issues with my data output. Two of my expressions are not "refreshing/updating" with new values after the first trial. Instead of refreshing/updating the same value that was printed in the first trial is reprinted over and over again.

Specifically, in my output file its the "expressions.topic" column and "expressions.statementtype" column. 

I am also having problems with the transitions between trial's within a block. The transition from my first trial (labelled: <trial testcue> ) to my second trial (labelled <trial makeTestBeliefs> ) is smooth and there is a 500 ISI. However, the transition from my second trial (labelled <trial makeTestBeliefs> ) and third trial (labelled <trial makeCRResponse> ) is very obtrusive. Obtrusive in the sense that the whole screen turns black for a second or two and it's very clear that it's not a clean transition.

Thank you very much for your help.

I was unable to upload the relevant ZIP file due to "exceeding" my limit, even though the compressed file is 3.4 MB.

I cannot answer your questions without the code. Please provide it.


------------------------------------------------------------------------------------------

<defaults>
/ fontstyle = ("Arial", 20pt)
/ screencolor = black
/ txcolor = white
/ halign = center
/ canvassize = (100%, 100%)
/ windowsize = (100%, 100%)
</defaults>

<values>
/ pairnumber = 1
/ beliefpairnumber = 1
/ left_border = 1
/ right_border = 1

/ currentinst = 0
/ instructnum = 1
/ trialCount = 0
/ testCount = 0

/ CB = "NA"
/ group = "NA"
/ topic = "NA"
/ statement = "NA"
/ statementtype = "NA"

/ statements_test_left = "NA"
/ statements_test_right = "NA"
/ testresponse = 0

/ makeTestBeliefs = 0
/ makeCRResponse = 0
/ likertRT = 0
</values>

<parameters>
/ nBlocks = 4
/ nTrials = 60
/ nTest = nTrials
/ ISI = 500
</parameters>

<expressions>
/ instructnum = if (contains(script.currenttrial, "Instructions")){values.instructnum} else {"NA"}
/ trialCount = if(script.currentblock == "Test"){values.testCount} else {"NA"}

/ topic = if(script.currentblock == "Test"){values.topic} else{"NA"}
/ statement = if(script.currentblock == "Test"){values.statement} else{"NA"}
/ statementtype = if(script.currentblock == "Test"){values.statementtype} else{"NA"}

/ makeTestBeliefs = if(script.currenttrial == "makeTestBeliefs"){values.makeTestBeliefs} else {"NA"}
/ makeTestBeliefs = if(script.currenttrial == "makeTestBeliefs"){values.makeTestBeliefs} else {"NA"}

/ makeCRResponse = if(script.currenttrial == "makeCRResponse"){values.makeCRResponse} else {"NA"}

/ testresponse = if(script.currenttrial == "testcue"){values.testresponse} else {"NA"}

/ statements_test_left = if (script.currentblock == "Test"){values.statements_test_left} else {"NA"}
/ statements_test_right = if (script.currentblock == "Test"){values.statements_test_right} else {"NA"}
</expressions>

CB1:
<expt CB1>
/ onexptbegin = [if (computer.platform != "mac" && computer.platform != "win") script.abort()]
/ onexptbegin = [values.CB = 1]
/ subjects = (1 of 1)
/ groupassignment = groupnumber
/ blocks = [1=Test]
</expt>

------------------------------------------------------------------------------------------
****** DATA
------------------------------------------------------------------------------------------
<data>
/ file = "Test.iqdat"
/ separatefiles = true
/ labels = true
/ columns = [subject, group, date, time, blockcode, trialcode,
            expressions.instructnum, expressions.trialCount, response, latency,
            expressions.statements_test_left, expressions.statements_test_right,
            expressions.topic, expressions.statement, expressions.statementtype,
            expressions.testresponse,expressions.makeTestBeliefs, expressions.makeCRResponse]
</data>

------------------------------------------------------------------------------------------
****** BLOCK
------------------------------------------------------------------------------------------
         
<block Test>
/ onblockbegin = [values.testCount = 0; values.testresponse = 1; values.makeTestBeliefs = 1; values.instructnum = 11]
/ trials = [1-3 = Instructions; 4-8 = sequence (testcue, makeTestBeliefs, makeCRResponse)]
</block>

------------------------------------------------------------------------------------------
****** TRIALS        
------------------------------------------------------------------------------------------

<trial testcue>
/ ontrialbegin = [values.testCount += 1]
/ ontrialbegin = [
    values.pairnumber = list.itempairnumbers.nextindex;
  values.topic = list.topic_test.nextvalue;
  values.statementtype = list.statementtype_test.nextvalue;
    values.beliefpairnumber = list.testbeliefpairnumbers.nextindex
]
/ inputdevice = mouse
/ stimulusframes = [1 = clearscreen, testcue, statements_test_left, statements_test_right]
/ validresponse = (statements_test_left, statements_test_right)
/ ontrialend = [values.statements_test_left = picture.statements_test_left.currentitem;
                values.statements_test_right = picture.statements_test_right.currentitem;
                if (trial.testcue.response == "statements_test_left") {values.testresponse = picture.statements_test_left.currentitem;}
                else if (trial.testcue.response == "statements_test_right") {values.testresponse = picture.statements_test_right.currentitem};]
/ posttrialpause = parameters.ISI
</trial>

<trial makeTestBeliefs>
/ inputdevice = mouse
/ ontrialbegin = [
    if (trial.testcue.response == "statements_test_left") {
        values.left_border = 2;
        values.right_border = 1;
    } else if (trial.testcue.response == "statements_test_right") {
        values.left_border = 1;
        values.right_border = 2;
    };
]
/ stimulusframes = [1 = TestBeliefQuestion, Belief1, Belief2, Belief3, Belief4, Belief5, Belief6, 1, 2, 3, 4, 5, 6, Border_Left, Border_Right, statements_test_left, statements_test_right]
/ validresponse = (1, 2, 3, 4, 5, 6, Belief1, Belief2, Belief3, Belief4, Belief5, Belief6)
/ ontrialend = [if (trial.makeTestBeliefs.response == "Belief1" || trial.makeTestBeliefs.response == "1") {values.makeTestBeliefs = 1;}
                 else if (trial.makeTestBeliefs.response == "Belief2" ||trial.makeTestBeliefs.response == "2") {values.makeTestBeliefs = 2}
                 else if (trial.makeTestBeliefs.response == "Belief3" ||trial.makeTestBeliefs.response == "3") {values.makeTestBeliefs = 3}
                 else if (trial.makeTestBeliefs.response == "Belief4" ||trial.makeTestBeliefs.response == "4") {values.makeTestBeliefs = 4}
                 else if (trial.makeTestBeliefs.response == "Belief5" ||trial.makeTestBeliefs.response == "5") {values.makeTestBeliefs = 5}
                 else if (trial.makeTestBeliefs.response == "Belief6" ||trial.makeTestBeliefs.response == "6") {values.makeTestBeliefs = 6}
         if (trial.testcue.response == "statements_test_left") {values.statement = picture.statements_test_left.currentitem;}
                 else if (trial.testcue.response == "statements_test_right") {values.statement = picture.statements_test_right.currentitem};
                 values.topic = list.topic_test.nextvalue;
                 values.statementtype = list.statementtype_test.nextvalue]
/ posttrialpause = parameters.ISI
</trial>

<trial makeCRResponse>
/ ontrialbegin = [
    if (trial.testcue.response == "statements_test_left") {
        values.left_border = 1;
        values.right_border = 2;
    } else if (trial.testcue.response == "statements_test_right") {
        values.left_border = 2;
        values.right_border = 1;
    };
]
/ inputdevice = mouse
/ stimulusframes = [1 = CRQuestion, NoCR, YesCR, Border_Left, Border_Right, statements_test_left, statements_test_right]
/ validresponse = (NoCR, YesCR)
/ ontrialend = [if (trial.testcue.response == "statements_test_left") {values.statement = picture.statements_test_right.currentitem;}
                else if (trial.testcue.response == "statements_test_right") {values.statement = picture.statements_test_left.currentitem;}
                if (trial.makeCRResponse.response == "YesCR") {values.makeCRResponse = 1;}
                else if (trial.makeCRResponse.response == "NoCR") {values.makeCRResponse = 0};
                values.topic = list.topic_test.nextvalue;
                values.statementtype = list.statementtype_test.nextvalue]
</trial>
    
------------------------------------------------------------------------------------------
****** INSTRUCTIONS
------------------------------------------------------------------------------------------
<item Instructions>
/ 1 = "11 TestInstr1b.jpg"
/ 2 = "12 TestInstr2b.jpg"
/ 3 = "13 TestInstr3b.jpg"
</item>

<picture InstructionsDisplay>
/ items = Instructions
/ select = sequence
/ size = (100%, 100%)
/ position = (50%, 50%)
</picture>

<trial Instructions>
/ stimulusframes = [1 = InstructionsDisplay, ContinueButton]
/ inputdevice = mouse
/ validresponse = (ContinueButton)
</trial>

------------------------------------------------------------------------------------------
****** TEST PHASE
------------------------------------------------------------------------------------------

<item testcue>
/1 = "Select the correct headline from phase 2"
</item>

<text testcue>
/ items = testcue
/ position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<item TestBeliefQuestion>
/1 = "Rate your belief that this is true"
</item>

<text TestBeliefQuestion>
/items = TestBeliefQuestion
/position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<text Belief1>
/ items = ("Definitely False")
/ position = (15%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief2>
/ items = ("Likely False")
/ position = (29%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief3>
/ items = ("Maybe False")
/ position = (43%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text Belief4>
/ items = ("Maybe True")
/ position = (57%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text Belief5>
/ items = ("Likely True")
/ position = (71%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text Belief6>
/ items = ("Definitely True")
/ position = (85%, 85%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (white)
/ txbgcolor = (black)
/ size = (12%, 5%)
/ vjustify = center
</text>

<text 1>
/ items = ("1")
/ position = (15%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 2>
/ items = ("2")
/ position = (29%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 3>
/ items = ("3")
/ position = (43%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 4>
/ items = ("4")
/ position = (57%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 5>
/ items = ("5")
/ position = (71%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<text 6>
/ items = ("6")
/ position = (85%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (5%, 5%)
/ vjustify = center
</text>

<item CRQuestion>
/1 = "Is the fake news from Phase 1?"
</item>

<text CRQuestion>
/ items = CRQuestion
/ position = (50, 70)
/ select = sequence
/ txcolor = (white)
/ txbgcolor = black
/ fontstyle = ("Arial", 3.0%, true, false, false, false, 5, 1)
</text>

<text YesCR>
/ items = ("Yes")
/ position = (40%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (10%, 5%)
/ vjustify = center
</text>

<text NoCR>
/ items = ("No")
/ position = (60%, 80%)
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/ txcolor = (black)
/ txbgcolor = (white)
/ size = (10%, 5%)
/ vjustify = center
</text>

<picture Border_Left>
/ items = ("NoBorder.jpg", "Border.jpg")
/ size = (55%, 55%)
/ position = (30, 32)
/ select = values.left_border
</picture>

<picture Border_Right>
/ items = ("NoBorder.jpg", "Border.jpg")
/ size = (55%, 55%)
/ position = (70, 32)
/ select = values.right_border
</picture>


------------------------------------------------------------------------------------------
****** LISTS - TEST
------------------------------------------------------------------------------------------
<list itempairnumbers>
/ poolsize = 4
/ selectionmode = sequence
</list>

<list testbeliefpairnumbers>
/ poolsize = 4
/ selectionmode = sequence
</list>

<picture statements_test_left>
/ items = ("CoronaBeer_COVID_C.png","Clinton_Nkorea_C.png","Alabama_Senate_M.png","Test_American_Cars_M.png")
/ size = (50%, 50%)
/ position = (30, 32)
/ select = values.pairnumber
/ select = values.beliefpairnumber
/ erase = false
</picture>

<picture statements_test_right>
/ items = ("CoronaBeer_COVID_M.png","Clinton_Nkorea_M.png","Alabama_Senate_C.png","Test_American_Cars_C.png")
/ size = (50%, 50%)
/ position = (70, 32)
/ select = values.pairnumber
/ select = values.beliefpairnumber
/ erase = false
</picture>

<list topic_test>
/ items = ("CoronaBeer_COVID","Clinton_Nkorea","Alabama_Senate","Test_American_Cars")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

<list statementtype_test>
/ items = ("Correct_1","Correct_3","Repeated","Correct_3")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

As this code contains png files I can also email you the code if that makes it easier.
Thank you for the help.

<list topic_test>
/ items = ("CoronaBeer_COVID","Clinton_Nkorea","Alabama_Senate","Test_American_Cars")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

<list statementtype_test>
/ items = ("Correct_1","Correct_3","Repeated","Correct_3")
/ selectionmode = (picture.statements_test_left.currentindex || picture.statements_test_right.currentindex)
</list>

These selection modes do not make sense. They ought to be

<list topic_test>
/ items = ("CoronaBeer_COVID","Clinton_Nkorea","Alabama_Senate","Test_American_Cars")
/ selectionmode = values.beliefpairnumber
</list>

<list statementtype_test>
/ items = ("Correct_1","Correct_3","Repeated","Correct_3")
/ selectionmode = values.beliefpairnumber
</list>

just like in the respective <picture> elements.

As for

> However, the transition from my second trial (labelled <trial makeTestBeliefs> ) and third trial (labelled <trial makeCRResponse> ) is very obtrusive. Obtrusive in the sense that the
> whole screen turns black for a second or two and it's very clear that it's not a clean transition.

stimuli are erased at the end of a trial by default. That is what will cause a "black screen". Set /erase = false in the stimulus elements you don't want erased in this manner.

Wow, thank you so much!!!