adding a new response screen to a task


Author
Message
luca7
luca7
Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)Esteemed Member (2.2K reputation)
Group: Forum Members
Posts: 25, Visits: 68
Dear Inquisit users,
I’d like to modify the "Self-Paced Reading Task" available in the task library and, as a beginner user of Inquisit 4, I would really appreciate your input.

The task consists in reading sentences word by word: after pressing the spacebar it appears the first word of the sentence, press again and appears the second word of the sentence, etc.
The script in the task library already does it.

I would need to add the following to that task:
at the end of each sentence it should appear in a new screen a comprehension question and participants need to answer correct/incorrect.

So, I’m kindly asking your input on the following:
1) how do I show a comprehension question once a sentence has been read (reading a sentence has no time limit)? Would /responsetrial or /branch do it by pointing to a trial with my comprehension question?
2) sentences and comprehension questions must be linked. How can I organize the trials in a way that sentences and comprehension questions are associated (given a sentence it must follow a certain comprehension question)?

Below is the original code from the task (only block and trials).

Any suggestion that would help me to start is really appreciated.
Thank you.
Luca


***************************************************
    Trial Elements
***************************************************
<trial getstim>
/ ontrialbegin = [if(list.mwstims.unselectedcount==0)values.stopblock=1]
/ ontrialbegin = [values.inputstring=getitem(text.mwstims, list.mwstims.nextvalue)]
/ ontrialbegin = [values.maskstring=values.inputstring]
/ ontrialbegin = [reset(list.uppercase); reset(list.lowercase)]
/ ontrialbegin = [expressions.maskuppercase; expressions.masklowercase]
/ ontrialbegin = [values.maskstringhl=values.maskstring]
/ ontrialbegin = [expressions.maskuppercasehl; expressions.masklowercasehl]
/ ontrialbegin = [values.wincount=0; values.winstart=0; values.winend=0]
/ validresponse = (noresponse)
/ trialduration = 0
/ branch = [trial.MWtrial]
/ recorddata = false
</trial>

***************************************************
Display Moving Window Stimulus
***************************************************
<trial MWtrial>
/ ontrialbegin = [expressions.movingwindow]
/ stimulusframes = [1=background, mywindow, mywindowhl]
/ validresponse = (57)
/ branch = [if(values.winend==expressions.inputend)trial.getstim else trial.MWtrial]
</trial>

***************************************************
    Block Elements
***************************************************
<block cumulative>
/ preinstructions = (cumulative)
/ onblockbegin = [values.cumulative=true]
/ onblockbegin = [reset(list.mwstims)]
/ onblockend = [values.stopblock=0]
/ stop = [values.stopblock==1]
/ trials = [1=getstim]
</block>
***************************************************



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search