|
|
|
Junior Member
      
Group: Forum Members
Last Login: 6/25/2008 11:35:31 AM
Posts: 12,
Visits: 37
|
|
| Dear everyone, For my paradigm, participants have to make responses with the SRBox. And if the response was right (lets say button 1) than I want it to jump to a label after an aversive stimuli. I have tried to use e-basic, but it doesn't work. I tried something like: Dim theSRBoxResponseData As SRBoxResponseData If theSRBoxResponseData.RESP = 1 Then Goto label Does anyone know how I can make this work, I know that there must be something wrong with the script, but I just don't know what that is. I would appreciate it if someone can give me some advice or an example es-file concerning SRBox responses and/or jumps. Thanks in advance. Verena
|
|
|
|
|
Forum MVP
      
Group: Administrators
Last Login: Yesterday @ 5:00:06 PM
Posts: 569,
Visits: 1,238
|
|
| You are on the right track, give this a try... 1) Place an InLine immediately after your Stimulus object, put code like you had in your post but change "goto label" and replace "label" with the name of the label. You'll also need to add a End If line. 2) Place a label object from the toolbox where you want the jump to occur. Name this the same as you entered in #1. The above is good to skip objects in your procedure. With adding more labels and code, you can determine the specific order of where things should go. I'd be happy to offer a sample if you can describe in more detail the rest of the procedure. -Brandon
|
|
|
|