Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 4 of 4

Thread: jumping for any key except...

  1. #1
    Join Date
    Apr 2007
    Posts
    13

    jumping for any key except...

    hi,
    in my experiment, i want to allow any key press in order to proceed to the next trial, BUT only one key is the correct key. for all other keys, before proceeding to the next trial, i want to show an "error" feedback. so, i need basically to tell the system something like:

    RT:38, any<999

    which means that 38 is the correct key and for all other keys show an "error" message and then proceed to the next trial. the problem is that the "any" code includes the 38 code, so the system will jump to 999 for the 38 key as well as for all the others.

    I played with this problem a little and found out that if i write

    RT: any<999, 38

    then it doesn't jump for the 38 code.
    can you explain why is that? is this the correct way to do what i need?

    thanks!

  2. #2
    Join Date
    Nov 2005
    Posts
    3,309
    I believe the code is written such that codes later in the list take precedence over those earlier in the list. This is simply because the codes are read-in sequentially and so repeated codes will overwrite earlier ones. Take "rt:38,any>999". Since 38 is included in any, you get a skip when 38 is pressed. In contrast, listing 38 after any (i.e., "rt:any>999,38") allows you to give it special treatment. Unfortunately, that messes with your ability to define it as the correct response. You would have to determine it during your data analysis.

  3. #3
    Join Date
    Apr 2007
    Posts
    13

    that's no problem

    i just wanted to make sure that this solution will work consistently, because it is undocumented (at least from the search i made in the help files)

  4. #4
    Join Date
    Nov 2005
    Posts
    3,309
    It ought to be documented. I'll cc this to the DirectRT suggestions area.

Similar Threads

  1. jumping for any key except...
    By Michal in forum DirectRT Older Versions: How Do I...
    Replies: 3
    Last Post: 04-11-2007, 12:13 PM
  2. avoid clearing the screen after key response
    By Michal in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 04-10-2007, 01:05 PM
  3. Mouse vs keyboard and using the 0 (zero) key?
    By jarvis24 in forum MediaLab Older Versions: Troubleshooting
    Replies: 2
    Last Post: 11-13-2006, 01:22 PM
  4. Jumping from mid-trial
    By jarvis24 in forum DirectRT Older Versions: Suggestions
    Replies: 1
    Last Post: 07-24-2006, 02:22 PM
  5. Collecting Single OR Double Key Presses
    By Jordan in forum DirectRT Older Versions: How Do I...
    Replies: 2
    Last Post: 07-06-2006, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •