Response delay in trial


Author
Message
kaoticfen
kaoticfen
Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)
Group: Forum Members
Posts: 3, Visits: 15
Hi everyone. Apologies in advance for posting this if this is a duplicate. I am running an experiment and i am using inquisit 5. My issue is that i need a pause/delay before each stimuli. I have created a list of text items and between each text item i would like a 250ms delay. I searched through documentation and found this https://www.millisecond.com/support/docs/v5/html/viewer.htm#howto/howtocontroltiming.htm.

I have tried using response as well as pretrialpause but neither gave the effect i was looking for. I believe numframes is what i need but im not exactly sure how to use it. I have an excerpt of the code i am using below and any help would be appreciated. Thanks in advance


<text distractorLike>
/ items = distractorLike
</text>

<item distractorLike>
/ 1 = "Mexican food"
/ 2 = "Victory"
/ 3 = "Wheat"
/ 4 = "Dairy Queen"
/ 5 = "Peanut butter"
/ 6 = "Watching TV"
/ 7 = "Roses"
/ 8 = "Eating pizza"
/ 9 = "Candy"
/10 = "Welfare reform"
</item>

<text distractorDislike>
/ items = distractorDislike
</text>

<item distractorDislike>
/ 1 = "Doing homework"
/ 2 = "Large lecture classes"
/ 3 = "Lice"
/ 4 = "Tuition increases"
/ 5 = "Blisters"
/ 6 = "Election reform"
/ 7 = "Spiders"
/ 8 = "Jazz"
/ 9 = "Capital punishment"
/10 = "Pass/fail grading"
</item>


<trial distractorlike> 
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=distractorLike]
</trial>

<trial distractordislike> 
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=distractorDislike]
</trial>

<block practice>
/ trials = [1-20 = noreplace(distractorLike, distractorDislike)]
/ bgstim = (likereminder, dislikereminder)
/ preinstructions = (practicepage)
</block>


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
kaoticfen - Wednesday, September 6, 2017
Hi everyone. Apologies in advance for posting this if this is a duplicate. I am running an experiment and i am using inquisit 5. My issue is that i need a pause/delay before each stimuli. I have created a list of text items and between each text item i would like a 250ms delay. I searched through documentation and found this https://www.millisecond.com/support/docs/v5/html/viewer.htm#howto/howtocontroltiming.htm.

I have tried using response as well as pretrialpause but neither gave the effect i was looking for. I believe numframes is what i need but im not exactly sure how to use it. I have an excerpt of the code i am using below and any help would be appreciated. Thanks in advance


<text distractorLike>
/ items = distractorLike
</text>

<item distractorLike>
/ 1 = "Mexican food"
/ 2 = "Victory"
/ 3 = "Wheat"
/ 4 = "Dairy Queen"
/ 5 = "Peanut butter"
/ 6 = "Watching TV"
/ 7 = "Roses"
/ 8 = "Eating pizza"
/ 9 = "Candy"
/10 = "Welfare reform"
</item>

<text distractorDislike>
/ items = distractorDislike
</text>

<item distractorDislike>
/ 1 = "Doing homework"
/ 2 = "Large lecture classes"
/ 3 = "Lice"
/ 4 = "Tuition increases"
/ 5 = "Blisters"
/ 6 = "Election reform"
/ 7 = "Spiders"
/ 8 = "Jazz"
/ 9 = "Capital punishment"
/10 = "Pass/fail grading"
</item>


<trial distractorlike> 
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=distractorLike]
</trial>

<trial distractordislike> 
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=distractorDislike]
</trial>

<block practice>
/ trials = [1-20 = noreplace(distractorLike, distractorDislike)]
/ bgstim = (likereminder, dislikereminder)
/ preinstructions = (practicepage)
</block>


You can specify a 250ms /pre- or /posttrialpause to get the desired break:

<trial distractorlike> 
/ pretrialpause = 250
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=distractorLike]
</trial>

<trial distractordislike> 
/ pretrialpause = 250
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=distractorDislike]
</trial>

but frankly, I'm not clear

>
I have tried using response as well as pretrialpause but neither gave the effect i was looking for

what effect you are looking for specifically.

What the code as posted will do is present a blank screen for 250ms (per /pretrialpause), display a stimulus, the stimulus will remain on-screen until you give a response. Then the trial terminates, and the next trial starts with a 250ms blank screen (per /pretrialpause).

In other words, I'm not sure what "
I have created a list of text items and between each text item i would like a 250ms delay" is supposed to mean -- it can be interpreted in a number of very different ways. So: Could you clarify what effect you're aiming for precisely?

Edited 8 Years Ago by Dave
kaoticfen
kaoticfen
Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)
Group: Forum Members
Posts: 3, Visits: 15
Dave - Wednesday, September 6, 2017
kaoticfen - Wednesday, September 6, 2017
Hi everyone. Apologies in advance for posting this if this is a duplicate. I am running an experiment and i am using inquisit 5. My issue is that i need a pause/delay before each stimuli. I have created a list of text items and between each text item i would like a 250ms delay. I searched through documentation and found this https://www.millisecond.com/support/docs/v5/html/viewer.htm#howto/howtocontroltiming.htm.

I have tried using response as well as pretrialpause but neither gave the effect i was looking for. I believe numframes is what i need but im not exactly sure how to use it. I have an excerpt of the code i am using below and any help would be appreciated. Thanks in advance


<text distractorLike>
/ items = distractorLike
</text>

<item distractorLike>
/ 1 = "Mexican food"
/ 2 = "Victory"
/ 3 = "Wheat"
/ 4 = "Dairy Queen"
/ 5 = "Peanut butter"
/ 6 = "Watching TV"
/ 7 = "Roses"
/ 8 = "Eating pizza"
/ 9 = "Candy"
/10 = "Welfare reform"
</item>

<text distractorDislike>
/ items = distractorDislike
</text>

<item distractorDislike>
/ 1 = "Doing homework"
/ 2 = "Large lecture classes"
/ 3 = "Lice"
/ 4 = "Tuition increases"
/ 5 = "Blisters"
/ 6 = "Election reform"
/ 7 = "Spiders"
/ 8 = "Jazz"
/ 9 = "Capital punishment"
/10 = "Pass/fail grading"
</item>


<trial distractorlike> 
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=distractorLike]
</trial>

<trial distractordislike> 
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=distractorDislike]
</trial>

<block practice>
/ trials = [1-20 = noreplace(distractorLike, distractorDislike)]
/ bgstim = (likereminder, dislikereminder)
/ preinstructions = (practicepage)
</block>


You can specify a 250ms /pre- or /posttrialpause to get the desired break:

<trial distractorlike> 
/ pretrialpause = 250
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=distractorLike]
</trial>

<trial distractordislike> 
/ pretrialpause = 250
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=distractorDislike]
</trial>

but frankly, I'm not clear

>
I have tried using response as well as pretrialpause but neither gave the effect i was looking for

what effect you are looking for specifically.

What the code as posted will do is present a blank screen for 250ms (per /pretrialpause), display a stimulus, the stimulus will remain on-screen until you give a response. Then the trial terminates, and the next trial starts with a 250ms blank screen (per /pretrialpause).

In other words, I'm not sure what "
I have created a list of text items and between each text item i would like a 250ms delay" is supposed to mean -- it can be interpreted in a number of very different ways. So: Could you clarify what effect you're aiming for precisely?

Thanks so much for your reply. The pretrial pause is what i wanted! Thanks so much. Though would there be a way to put a "Get Ready" as the text during a pause?

Sorry for the confusion, so the delay would be a small window allowing participants to pause before they see the next stimuli. Otherwise they could click through the entire stimuli list without actually making any judgments. My ideal setup would be to do the following:

Instructions
Get Ready (Blank Screen)
Stimuli
Get Ready (Blank Screen)
Stimuli
....




Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
kaoticfen - Thursday, September 7, 2017
Dave - Wednesday, September 6, 2017
kaoticfen - Wednesday, September 6, 2017
Hi everyone. Apologies in advance for posting this if this is a duplicate. I am running an experiment and i am using inquisit 5. My issue is that i need a pause/delay before each stimuli. I have created a list of text items and between each text item i would like a 250ms delay. I searched through documentation and found this https://www.millisecond.com/support/docs/v5/html/viewer.htm#howto/howtocontroltiming.htm.

I have tried using response as well as pretrialpause but neither gave the effect i was looking for. I believe numframes is what i need but im not exactly sure how to use it. I have an excerpt of the code i am using below and any help would be appreciated. Thanks in advance


<text distractorLike>
/ items = distractorLike
</text>

<item distractorLike>
/ 1 = "Mexican food"
/ 2 = "Victory"
/ 3 = "Wheat"
/ 4 = "Dairy Queen"
/ 5 = "Peanut butter"
/ 6 = "Watching TV"
/ 7 = "Roses"
/ 8 = "Eating pizza"
/ 9 = "Candy"
/10 = "Welfare reform"
</item>

<text distractorDislike>
/ items = distractorDislike
</text>

<item distractorDislike>
/ 1 = "Doing homework"
/ 2 = "Large lecture classes"
/ 3 = "Lice"
/ 4 = "Tuition increases"
/ 5 = "Blisters"
/ 6 = "Election reform"
/ 7 = "Spiders"
/ 8 = "Jazz"
/ 9 = "Capital punishment"
/10 = "Pass/fail grading"
</item>


<trial distractorlike> 
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=distractorLike]
</trial>

<trial distractordislike> 
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=distractorDislike]
</trial>

<block practice>
/ trials = [1-20 = noreplace(distractorLike, distractorDislike)]
/ bgstim = (likereminder, dislikereminder)
/ preinstructions = (practicepage)
</block>


You can specify a 250ms /pre- or /posttrialpause to get the desired break:

<trial distractorlike> 
/ pretrialpause = 250
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=distractorLike]
</trial>

<trial distractordislike> 
/ pretrialpause = 250
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=distractorDislike]
</trial>

but frankly, I'm not clear

>
I have tried using response as well as pretrialpause but neither gave the effect i was looking for

what effect you are looking for specifically.

What the code as posted will do is present a blank screen for 250ms (per /pretrialpause), display a stimulus, the stimulus will remain on-screen until you give a response. Then the trial terminates, and the next trial starts with a 250ms blank screen (per /pretrialpause).

In other words, I'm not sure what "
I have created a list of text items and between each text item i would like a 250ms delay" is supposed to mean -- it can be interpreted in a number of very different ways. So: Could you clarify what effect you're aiming for precisely?

Thanks so much for your reply. The pretrial pause is what i wanted! Thanks so much. Though would there be a way to put a "Get Ready" as the text during a pause?

Sorry for the confusion, so the delay would be a small window allowing participants to pause before they see the next stimuli. Otherwise they could click through the entire stimuli list without actually making any judgments. My ideal setup would be to do the following:

Instructions
Get Ready (Blank Screen)
Stimuli
Get Ready (Blank Screen)
Stimuli
....




You would not do that with /pretrialpause. You would use the trial's /stimulustimes instead, i.e.

<trial distractorlike> 
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulustimes = [0=getready; 250=clearscreen,
distractorlike]
</trial>

where getready is a simple <text> element

<text getready>
/ items = ("Get Ready")
</text>

kaoticfen
kaoticfen
Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)Associate Member (244 reputation)
Group: Forum Members
Posts: 3, Visits: 15

This worked great thank you! I really appreciate it. You Rock Dave. Take the rest of the week off my friend.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search