simultaneous button press


Author
Message
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
Great!

sjstran12
sjstran12
Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)
Group: Awaiting Activation
Posts: 8, Visits: 26
ohhh I get what is going on now. Thank you so much for your help
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

<trial late>
/isvalidresponse = [(50)]
</trial>

is invalid syntax (same issue as outlined previously).

< trial era >
/stimulusframes = [1=era, erastim]
/timeout = 15000
/ isvalidresponse = [trial.late.response == 44 && trial.late.latency < 2000]
/responsetrial = (" ", method)
</trial>

nowhere do you actually run <trial late>. Thus you cannot expect the above /isvalidresponse to do anything.


<trial first>
/ stimulusframes = [1=mytext]
/ validresponse = (44)
/ branch = [trial.second]
</trial>

<trial second>
/ validresponse = (50)
/ iscorrectresponse = [trial.second.latency < 2000]
</trial>

<block myblock>
/ trials = [1=first]
</block>

<text mytext>
/ items = ("Press Z and then M within 2 seconds.")
/ erase = false
</text>


sjstran12
sjstran12
Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)
Group: Awaiting Activation
Posts: 8, Visits: 26
no more error messages but pressing the buttons at the same time does nothing. 

<trial late>
/isvalidresponse = [(50)]
</trial>

< trial era >
/stimulusframes = [1=era, erastim]
/timeout = 15000
/ isvalidresponse = [trial.late.response == 44 && trial.late.latency < 2000]
/responsetrial = (" ", method)
</trial>

< trial method >
/stimulusframes = [1=iorm, iorm2]
/timeout = 15000
/ validresponse = ("z" "m")
/branch = [(openended.open)]
</trial>


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
#1: You need to use */isvalidresponse*, not */validresponse*
#2: Your syntax is still wrong. It ought to be:

/ isvalidresponse =  [trial.late.response == 44 && trial.late.latency < 2000)]
sjstran12
sjstran12
Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)
Group: Awaiting Activation
Posts: 8, Visits: 26
I got an error that says invalid text

<trial late>
/ validresponse = (50)
/timeout = 15000
</trial>


< trial  era >
/stimulusframes = [1=era, erastim]
/timeout = 3500
/validresponse =  [trial.late.response == (44) && trial.late.latency < 2000)]
/responsetrial = ("m", method)
</trial>


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
Your syntax in the /iscorrectresponse attribute is incorrect. It ought to be

/ iscorrectresponse = [trial.late.response == *ENTER THE NUMERICAL KEYBOARD SCANCODE FOR M HERE* && trial.late.latency < 2000]

For the appropriate scancode to enter above, see the "Keyboard Scan Codes" topic in the documentation as well as Tools -> Keyboard Scancodes...

sjstran12
sjstran12
Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)
Group: Awaiting Activation
Posts: 8, Visits: 26
Is this what you mean? I want it so the valid response is this [("m") && trial.late.latency < 2000] but it wont allow me to put that in the validresponse

<trial late>
/ validresponse = ("z")
/timeout = 15000
</trial>

< trial  era >
/stimulusframes = [1=era, erastim]
/timeout = 3500
/validresponse = ("m")
/ iscorrectresponse = [("m") && trial.late.latency < 2000]
/responsetrial = ("m", method)
</trial>



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
Yes, but as with your initial request above, you need two <trial> elements to do that. You can do the response evaluation via /iscorrectresponse a la

/ iscorrectresponse = [... && trial.2ndtrial.latency < 2000]

sjstran12
sjstran12
Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)Partner Member (846 reputation)
Group: Awaiting Activation
Posts: 8, Visits: 26
Is it possible to have the participant press one button and be required to press another button within x number of milliseconds in order to give the correct response?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search