latency based feedback


Author
Message
Anamaria
Anamaria
Associate Member (250 reputation)Associate Member (250 reputation)Associate Member (250 reputation)Associate Member (250 reputation)Associate Member (250 reputation)Associate Member (250 reputation)Associate Member (250 reputation)Associate Member (250 reputation)Associate Member (250 reputation)
Group: Forum Members
Posts: 13, Visits: 1
Hi guys,



I have a question regarding feedback assignment based on participants RTs. For each CSrew trial, I want participants to receive a correct message (+10 & sound) only when they answer correctly (''q'' press) on the CSrew trial & only if their RT is faster than 300 ms. If they answer incorrectly and/or if their RT is slower than 300 ms, I want then to receive no feedback. Also, I want them to receive block feedback that tells participants how many points they won during the current block (the final number of points should be calculated based on the RTs and correct responses to the CSrew trials).


I have attached some parts of my script below.



Any hints would be greatefully received. Thanks in advance.



Ana




++GAMETASK++

<trial CSrew>
/ pretrialpause= 700
/ trialcode = "CSrew"
/ validresponse = ("q", "s")
/ correctresponse = ("q")
/ responsemessage = ("q", correctmessage, 500)
/ responsemessage = ("q", correctnoise, 500)
/ errormessage = (errormessage, 500)
/ responsemode = timeout (1500)
/ stimulustimes = [0= kaderm, CSrew, CSrewS; 100 = eraserm, ?]
/ responseinterrupt = trial
/ posttrialpause= 700
</trial>



<trial CSneu>
/ pretrialpause= 700
/ trialcode = "CSneu"
/ validresponse = ("q", "s")
/ correctresponse = ("s")
/ errormessage = (errormessage, 500)
/ responsemode = timeout (1500)
/ stimulustimes = [0= kaderm, CSneu, CSneuS; 100 = eraserm, ?]
/ responseinterrupt = trial
/ posttrialpause= 700
</trial>



<block intro_gametask>
/ screencolor = (0,0,0)
/ preinstructions = (intro_gametask)
/ trials = [1-12 = random (CSneu, CSrew)]
/ blockfeedback = (meanlatency, correct)
</block>



**Error, ?, Correct, GOAL TASK**


<text ?>
/ numitems = 1
/ items = ("?")
/ color = (255, 0, 0)
/ txbgcolor = (247, 247, 247)
/ position = (50, 50)
/ font = ("Arial Black", -37, 700, 0, 34)
</text>


<text correctmessage>
/ numitems = 1
/ items = (" +10 ")
/ font = ("Arial Black", -107, 700, 0, 34)
/ txbgcolor = (0, 0, 0)
/ position = (50, 50)
/ color = (255, 255, 255)
< /text>



<text errormessage>
/ numitems = 1
/ items = (" FOUT! ")
/ font = ("Arial Black", -107, 700, 0, 34)
/ txbgcolor = (0, 0, 0)
/ position = (50, 50)
/ color = (255, 0, 0)
</text>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Anamaria - 13 Years Ago
Dave - 13 Years Ago
Anamaria - 13 Years Ago
Dave - 13 Years Ago
                     Hi Dave,
I defined an ''iscorrect'' element and deleated the...
Anamaria - 13 Years Ago
                         [quote]/ iscorrectresponse = [trial.CSrew.response== "q" &&...
Dave - 13 Years Ago
                             Great, I understand it now. However, while using scancodes, the...
Anamaria - 13 Years Ago
                                 Here is a drastically stripped down version of your code:
...
Dave - 13 Years Ago
                                     Hi Dave,
Thanks, I think I resolved the error feedback.
I...
Anamaria - 13 Years Ago
                                         [quote]I get a message saying that ''value score'' is invalid.[/quote]...
Dave - 13 Years Ago
                                             Hi Dave,
Ok, so now I tried to define those elements according...
Anamaria - 13 Years Ago
                                                 [quote]********** blocks ************************* <block...
Dave - 13 Years Ago
                                                     Perfect, I ran the task again and now it displays the score feedback...
Anamaria - 13 Years Ago
                                                         Hi again Dave,
Uff my happiness did not last long as I have just...
Anamaria - 13 Years Ago
                                                             [quote] So what element shall I use so that the final score displayed...
Dave - 13 Years Ago
                                                                 Hi Dave,
I corrected the calculations and managed toprovide...
Anamaria - 13 Years Ago
                                                                     [quote]Now I would like them to receive also a feedback page that...
Dave - 13 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search