Multiple Keyboard Responses
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Multiple Keyboard Responses Expand / Collapse
Author
Message
Posted 10/1/2007 5:55:02 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/26/2007 1:15:08 PM
Posts: 4, Visits: 19
For my experiment, I would like to have one main keyboard response to terminate the action. I would also like to have another keyboard response to have no action, but be recorded when pressed (not neccesarily a response for every action). How would I do this?

To do this, right now I have added two Keyboard devices. One is for the main response that terminates the action. The other is for the no action response that may or may not be pressed. I have it jumping to a Label so that the experiment will still be terminated by the main response. My current problem is that no data is being logged for this no action response.

Please help!
Post #655
Posted 10/2/2007 3:50:22 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Administrators
Last Login: Today @ 5:00:06 PM
Posts: 569, Visits: 1,238
When using multiple input masks, the completion of one input mask will terminate the others, so this may be why it appears as if data is not being logged for that response.  You always have access to the properties of each InputMask response via script and examples of how to do so available upon request.  However, the last mask will bubble up its properties to the parent (Stimulus) object which is what gets logged.

If your design calls for the following...
a) on some trials, the user should respond and the trial should jump
b) on other trials, the user is not expected to respond, but if they do, you want that info logged

If the above fits your design, then my suggestion would be as follows...
1) Create an attribute on your trial list, call it MaxCount
2) For the trials where the subject should respond, make the MaxCount=1 in those rows, for the ones where they are not expected to respond, make MaxCount=5000 in those rows.
3) Have only one Keyboard InputMask in the Duration/Input of the Stimulus object.
4) In the Keyboard InputMask Advanced area, enter [MaxCount] in the MaxCount field.
5) Set the end resp action to jump and associate a label.

What this will do is on trials where you are expecting a response, the MaxCount=1 and will cause the input mask to jump and log the RT.  On trials where you do not expect a response, the higher MaxCount will allow for the subject to respond but since the MaxCount is not reached, the object will not jump and the Duration/TimeLimit will elapse.  The responses will be logged.

-Brandon

Post #662
Posted 10/19/2007 4:04:19 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/26/2007 1:15:08 PM
Posts: 4, Visits: 19
Brandon, thank you for your response. I appreciate your help in this matter.

I would like to clarify my experiment. My design is slightly different than what you described. It calls for:
a) On each trial, the user should enter the primary response and the trial should jump.
b) On some trials, the user may enter a secondary response. Then, the user should enter the primary response and the trial should jump.

Primary responses should be logged for every trial – two responses should be logged for those trials in which two were entered.

Is this possible?
Post #720
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 11:32pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 16 queries. Compression Disabled.