Millisecond Forums

Adding Slider to Question to End of Corsi Block Tapping Backwards Task

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

By charsiubhau - 8/25/2022

Hi there,

I'm looking to add a slider trial asking about perception at the end of the reverse corsi block tapping task. I have a code for the question below as a draft but I'm not sure where to insert it. I'd appreciate any help!

<slidertrial corsiperception>
/ stimulusframes = [1=clearscreen, perceptionquestion]
/ range = (0,100)
/ increment = 1
/ orientation = horizontal
/ labels = ("<font color=white>0</font>", "<font color=white>100</font>")
/ required = true
/ position = (50%, 60%)
/ size = (90%, 20%)
/ buttonlabel = "Submit"
</slidertrial>

<text perceptionquestion>
/ items = ("Please enter the percentage you believe you got correct on the Reverse Corsi Block Tapping task")
/ txcolor = white
/ txbgcolor = black
/ position = (50%, 30%)
</text>    


By Dave - 8/25/2022

charsiubhau - 8/25/2022
Hi there,

I'm looking to add a slider trial asking about perception at the end of the reverse corsi block tapping task. I have a code for the question below as a draft but I'm not sure where to insert it. I'd appreciate any help!

<slidertrial corsiperception>
/ stimulusframes = [1=clearscreen, perceptionquestion]
/ range = (0,100)
/ increment = 1
/ orientation = horizontal
/ labels = ("<font color=white>0</font>", "<font color=white>100</font>")
/ required = true
/ position = (50%, 60%)
/ size = (90%, 20%)
/ buttonlabel = "Submit"
</slidertrial>

<text perceptionquestion>
/ items = ("Please enter the percentage you believe you got correct on the Reverse Corsi Block Tapping task")
/ txcolor = white
/ txbgcolor = black
/ position = (50%, 30%)
</text>    



You need to be more specific about what you mean by "at the end." Do you consider that to be before or after the score presentation?
By charsiubhau - 8/25/2022

Dave - 8/25/2022
charsiubhau - 8/25/2022
Hi there,

I'm looking to add a slider trial asking about perception at the end of the reverse corsi block tapping task. I have a code for the question below as a draft but I'm not sure where to insert it. I'd appreciate any help!

<slidertrial corsiperception>
/ stimulusframes = [1=clearscreen, perceptionquestion]
/ range = (0,100)
/ increment = 1
/ orientation = horizontal
/ labels = ("<font color=white>0</font>", "<font color=white>100</font>")
/ required = true
/ position = (50%, 60%)
/ size = (90%, 20%)
/ buttonlabel = "Submit"
</slidertrial>

<text perceptionquestion>
/ items = ("Please enter the percentage you believe you got correct on the Reverse Corsi Block Tapping task")
/ txcolor = white
/ txbgcolor = black
/ position = (50%, 30%)
</text>    



You need to be more specific about what you mean by "at the end." Do you consider that to be before or after the score presentation?

Sorry about that, I mean at the end of the task. I also wanted to have the score/feedback presentation removed. Would you know how to do that?
By charsiubhau - 8/25/2022

charsiubhau - 8/25/2022
Dave - 8/25/2022
charsiubhau - 8/25/2022
Hi there,

I'm looking to add a slider trial asking about perception at the end of the reverse corsi block tapping task. I have a code for the question below as a draft but I'm not sure where to insert it. I'd appreciate any help!

<slidertrial corsiperception>
/ stimulusframes = [1=clearscreen, perceptionquestion]
/ range = (0,100)
/ increment = 1
/ orientation = horizontal
/ labels = ("<font color=white>0</font>", "<font color=white>100</font>")
/ required = true
/ position = (50%, 60%)
/ size = (90%, 20%)
/ buttonlabel = "Submit"
</slidertrial>

<text perceptionquestion>
/ items = ("Please enter the percentage you believe you got correct on the Reverse Corsi Block Tapping task")
/ txcolor = white
/ txbgcolor = black
/ position = (50%, 30%)
</text>    



You need to be more specific about what you mean by "at the end." Do you consider that to be before or after the score presentation?

Sorry about that, I mean at the end of the task. I also wanted to have the score/feedback presentation removed. Would you know how to do that?

Actually figured out how to have the score/feedback presentation removed and just need to find out how to put the perception slider at the end of the task to assess how well they think they did!
By Dave - 8/25/2022

charsiubhau - 8/25/2022
Dave - 8/25/2022
charsiubhau - 8/25/2022
Hi there,

I'm looking to add a slider trial asking about perception at the end of the reverse corsi block tapping task. I have a code for the question below as a draft but I'm not sure where to insert it. I'd appreciate any help!

<slidertrial corsiperception>
/ stimulusframes = [1=clearscreen, perceptionquestion]
/ range = (0,100)
/ increment = 1
/ orientation = horizontal
/ labels = ("<font color=white>0</font>", "<font color=white>100</font>")
/ required = true
/ position = (50%, 60%)
/ size = (90%, 20%)
/ buttonlabel = "Submit"
</slidertrial>

<text perceptionquestion>
/ items = ("Please enter the percentage you believe you got correct on the Reverse Corsi Block Tapping task")
/ txcolor = white
/ txbgcolor = black
/ position = (50%, 30%)
</text>    



You need to be more specific about what you mean by "at the end." Do you consider that to be before or after the score presentation?

Sorry about that, I mean at the end of the task. I also wanted to have the score/feedback presentation removed. Would you know how to do that?

First define a <block> that runs your <slidertrial>

<block perceptionblock>
/ trials = [1=corsiperception]
</block>


and then add run it via the existing <expt> element at the desired point

<expt corsitask>
/ onexptbegin = [
    text.1.erasecolor=parameters.blockcolor;
    text.2.erasecolor=parameters.blockcolor;
    text.3.erasecolor=parameters.blockcolor;
    text.4.erasecolor=parameters.blockcolor;
    text.5.erasecolor=parameters.blockcolor;
    text.6.erasecolor=parameters.blockcolor;
    text.7.erasecolor=parameters.blockcolor;
    text.8.erasecolor=parameters.blockcolor;
    text.9.erasecolor=parameters.blockcolor;

    text.1.textbgcolor=parameters.blockcolor;
    text.2.textbgcolor=parameters.blockcolor;
    text.3.textbgcolor=parameters.blockcolor;
    text.4.textbgcolor=parameters.blockcolor;
    text.5.textbgcolor=parameters.blockcolor;
    text.6.textbgcolor=parameters.blockcolor;
    text.7.textbgcolor=parameters.blockcolor;
    text.8.textbgcolor=parameters.blockcolor;
    text.9.textbgcolor=parameters.blockcolor;
]
/ onexptbegin = [shape.board.color=parameters.boardcolor]
/ blocks = [
    1=instructionsblock;
    2-8=corsiblock;
    9=scoreblock;
    10=perceptionblock;
]
</expt>


To suppress the presentation of the block span score, set the /showscores parameter in the script's <parameters> element to false, as explained in the usermanual.

By charsiubhau - 8/25/2022

Dave - 8/25/2022
charsiubhau - 8/25/2022
Dave - 8/25/2022
charsiubhau - 8/25/2022
Hi there,

I'm looking to add a slider trial asking about perception at the end of the reverse corsi block tapping task. I have a code for the question below as a draft but I'm not sure where to insert it. I'd appreciate any help!

<slidertrial corsiperception>
/ stimulusframes = [1=clearscreen, perceptionquestion]
/ range = (0,100)
/ increment = 1
/ orientation = horizontal
/ labels = ("<font color=white>0</font>", "<font color=white>100</font>")
/ required = true
/ position = (50%, 60%)
/ size = (90%, 20%)
/ buttonlabel = "Submit"
</slidertrial>

<text perceptionquestion>
/ items = ("Please enter the percentage you believe you got correct on the Reverse Corsi Block Tapping task")
/ txcolor = white
/ txbgcolor = black
/ position = (50%, 30%)
</text>    



You need to be more specific about what you mean by "at the end." Do you consider that to be before or after the score presentation?

Sorry about that, I mean at the end of the task. I also wanted to have the score/feedback presentation removed. Would you know how to do that?

First define a <block> that runs your <slidertrial>

<block perceptionblock>
/ trials = [1=corsiperception]
</block>


and then add run it via the existing <expt> element at the desired point

<expt corsitask>
/ onexptbegin = [
    text.1.erasecolor=parameters.blockcolor;
    text.2.erasecolor=parameters.blockcolor;
    text.3.erasecolor=parameters.blockcolor;
    text.4.erasecolor=parameters.blockcolor;
    text.5.erasecolor=parameters.blockcolor;
    text.6.erasecolor=parameters.blockcolor;
    text.7.erasecolor=parameters.blockcolor;
    text.8.erasecolor=parameters.blockcolor;
    text.9.erasecolor=parameters.blockcolor;

    text.1.textbgcolor=parameters.blockcolor;
    text.2.textbgcolor=parameters.blockcolor;
    text.3.textbgcolor=parameters.blockcolor;
    text.4.textbgcolor=parameters.blockcolor;
    text.5.textbgcolor=parameters.blockcolor;
    text.6.textbgcolor=parameters.blockcolor;
    text.7.textbgcolor=parameters.blockcolor;
    text.8.textbgcolor=parameters.blockcolor;
    text.9.textbgcolor=parameters.blockcolor;
]
/ onexptbegin = [shape.board.color=parameters.boardcolor]
/ blocks = [
    1=instructionsblock;
    2-8=corsiblock;
    9=scoreblock;
    10=perceptionblock;
]
</expt>


To suppress the presentation of the block span score, set the /showscores parameter in the script's <parameters> element to false, as explained in the usermanual.


It has worked, thank you so much again Dave!