Millisecond Forums

Displaying message if no response detected before trial timeout

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

By satchmo496 - 10/11/2024

Apologies in advance for what I feel pretty sure is a pretty simple function to program!

I am creating a study in which I want to present an orienting stimulus for 1500 ms. During this time I do not want any responses recorded. Then, a target stimulus is displayed for 1200 ms or until the participant responds. If the participant responds within this 1200 ms windown, the program should advance to the next trial. If the participant does NOT respond during this 1200 ms window, the program should display an error message that says "PLEASE RESPOND FASTER!!!" for 600 ms, and should then advance to the next trial.

I feel like this should be pretty simple to implement, but I'm having trouble getting it to work correctly. Any guidance would be most appreciated!
By Dave - 10/11/2024

satchmo496 - 10/11/2024
Apologies in advance for what I feel pretty sure is a pretty simple function to program!

I am creating a study in which I want to present an orienting stimulus for 1500 ms. During this time I do not want any responses recorded. Then, a target stimulus is displayed for 1200 ms or until the participant responds. If the participant responds within this 1200 ms windown, the program should advance to the next trial. If the participant does NOT respond during this 1200 ms window, the program should display an error message that says "PLEASE RESPOND FASTER!!!" for 600 ms, and should then advance to the next trial.

I feel like this should be pretty simple to implement, but I'm having trouble getting it to work correctly. Any guidance would be most appreciated!

It is simple to implement:

<trial exampleTrial>
/ stimulustimes = [0=clearScreen, orientingStimulus; 1500=clearScreen, targetStimulus]
/ timeout = 2700
/ responsemessage = (0, respondFaster, 600) // display respond faster message in case of no response
/ validresponse = (57)
</trial>

<text orientingStimulus>
/ items = ("Orienting Stimulus for 1500ms")
</text>

<text targetStimulus>
/ items = ("Target Stimulus for up to 1200ms")
</text>

<text respondFaster>
/ items = ("Respond Faster Message in case of no response for 600ms")
</text>

<block exampleBlock>
/ trials = [1-4 = exampleTrial]
</block>



Generally see https://www.millisecond.com/support/docs/current/html/howto/howtocontroltiming.htm
By satchmo496 - 10/11/2024

Dave - 10/11/2024
satchmo496 - 10/11/2024
Apologies in advance for what I feel pretty sure is a pretty simple function to program!

I am creating a study in which I want to present an orienting stimulus for 1500 ms. During this time I do not want any responses recorded. Then, a target stimulus is displayed for 1200 ms or until the participant responds. If the participant responds within this 1200 ms windown, the program should advance to the next trial. If the participant does NOT respond during this 1200 ms window, the program should display an error message that says "PLEASE RESPOND FASTER!!!" for 600 ms, and should then advance to the next trial.

I feel like this should be pretty simple to implement, but I'm having trouble getting it to work correctly. Any guidance would be most appreciated!

It is simple to implement:

<trial exampleTrial>
/ stimulustimes = [0=clearScreen, orientingStimulus; 1500=clearScreen, targetStimulus]
/ timeout = 2700
/ responsemessage = (0, respondFaster, 600) // display respond faster message in case of no response
/ validresponse = (57)
</trial>

<text orientingStimulus>
/ items = ("Orienting Stimulus for 1500ms")
</text>

<text targetStimulus>
/ items = ("Target Stimulus for up to 1200ms")
</text>

<text respondFaster>
/ items = ("Respond Faster Message in case of no response for 600ms")
</text>

<block exampleBlock>
/ trials = [1-4 = exampleTrial]
</block>



Generally see https://www.millisecond.com/support/docs/current/html/howto/howtocontroltiming.htm

Thanks a million!