Displaying message if no response detected before trial timeout


Author
Message
satchmo496
satchmo496
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 35, Visits: 77
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!
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: 104K
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
Edited 2 Months Ago by Dave
satchmo496
satchmo496
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 35, Visits: 77
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!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search