Ospan-modification help


Author
Message
MilanSchoenmaeckers
MilanSchoenmaeckers
Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)Respected Member (348 reputation)
Group: Forum Members
Posts: 25, Visits: 79
Hi, 

I'm new to inquisit and trying to modify the regular Ospan-task from the millisecond library for my master's thesis.

https://www.millisecond.com/download/library/ospan/ -> this is the regular task. 

After answering whether the answer for a math problem is correct or incorrect, a letter appears on screen for the participant to memorize. For my task, I want to show the participant a picture of a light bulb above it. This light bulb will be either turned on in 20% of the trials or turned off in 80% of trials. 

These are the stimuli that I made:

<picture lightbulb_off>
/ items = ("lamp_uit.png")
/ position = (50, 30)
/ size = (20%, 20%)
</picture>

<picture lightbulb_on>
/ items = ("lamp_aan.png")
/ position = (50, 30)
/ size = (20%, 20%)
</picture>

and this is the script that the regular task uses for the presentation of a letter:

<trial show_letter>
/ ontrialbegin = [values.lettercount+=1]
/ ontrialend= [item.PresentedLetters.item=text.Letters.currentitem]
/ pretrialpause = 200
/ stimulusframes = [1=BlackFrame, GrayFrame, Letters, currentsetsize]
/ trialduration = values.learninginterval
/ validresponse = (noresponse)
/ branch = [if(values.lettercount==values.currentsetsize)trial.recall_letter]
/ branch = [if(script.currentblock=="PracLetter")trial.show_letter else trial.InitMathProblem01]
/ recorddata = true
</trial>

Is there anyone who would want to offer me some help with this?

Thanks in advance. 

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
MilanSchoenmaeckers - 4 Years Ago
Dave - 4 Years Ago
MilanSchoenmaeckers - 4 Years Ago
Dave - 4 Years Ago
MilanSchoenmaeckers - 4 Years Ago
Dave - 4 Years Ago
Dave - 4 Years Ago
MilanSchoenmaeckers - 4 Years Ago
                         If you're not sure about parts of the script, i.e. what they do / how...
Dave - 4 Years Ago
                             Hi, I think that I found the error that is causing me troubles with...
MilanSchoenmaeckers - 4 Years Ago
                                 The init trial sets up the set size for the following "round" in the...
Dave - 4 Years Ago
MilanSchoenmaeckers - 4 Years Ago
Dave - 4 Years Ago
MilanSchoenmaeckers - 4 Years Ago
Dave - 4 Years Ago
MilanSchoenmaeckers - 4 Years Ago
Dave - 4 Years Ago
                         Hi again, I understand that I need to update when the condition is...
MilanSchoenmaeckers - 4 Years Ago
                             The init trial samples the set size (number of letters to be shown)...
Dave - 4 Years Ago
                                 I see. So can I ask you where I should set or increment these values?...
MilanSchoenmaeckers - 4 Years Ago
                                     You can see how/where they're incremented in the original script.
Dave - 4 Years Ago
                                         This is the original init trial: <trial InitSetSize> /...
Dave - 4 Years Ago
                                             I might be stupid, but I renamed the logic according to my re-named...
MilanSchoenmaeckers - 4 Years Ago
                                                 But are you actually running the show_letter_nonacting trial in the...
Dave - 4 Years Ago
                                                     I think so, these are my branches: <trial InitSetSize> / branch...
MilanSchoenmaeckers - 4 Years Ago
                                                         There are two problems that I cannot solve in my script: 1. In the...
MilanSchoenmaeckers - 4 Years Ago
                                                             Just attach the whole script and include the images it needs as well....
Dave - 4 Years Ago
                                                                 <item PracMathProblem> / 01 = "(1*2) + 1 = ?" / 02 = "(1/1) -...
MilanSchoenmaeckers - 4 Years Ago
                                                                     Please attach the script file instead of pasting the code into a...
Dave - 4 Years Ago
                                                                         You wrote: "1. In the Prac_both block are 4 trials: 2 trials of...
Dave - 4 Years Ago
                                                                             My apologies! After your comments previously today, I tried to solve...
MilanSchoenmaeckers - 4 Years Ago
                                                                                 <trial InitSetSize> / ontrialbegin = [values.currentsetsize=0;...
Dave - 4 Years Ago
                                                                                     Thank you for your time and patience working on this revision. After...
MilanSchoenmaeckers - 4 Years Ago
                                                                                         > However, some trials do not invoke the answer to the math...
Dave - 4 Years Ago
                                                                                             Ofcourse! How stupid of my.I completely overlooked that it is...
MilanSchoenmaeckers - 4 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search