Cedrus response pad RB-540


Author
Message
jrichmond
jrichmond
Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)Partner Member (715 reputation)
Group: Forum Members
Posts: 5, Visits: 22
I am trying to make a Cedrus RB 540 response pad work in my IAT script. It works fine when I run the XIDResponseTest script but I have yet to make my trials advance using the response pad in my own script. 

Here is what I am doing. 

<xid responsepad>
/ product = responsepad
</xid>


<trial attributeA1>
/ inputdevice = XID
/ isvalidresponse = [xid.responsepad.lasteventbutton == 3 || xid.responsepad.lasteventbutton == 5;]
/ correctresponse = [xid.responsepad.lasteventbutton == 3 && xid.rresponsepad.lastlatency<1000;]
/ stimulusframes = [1 = attributeA1, attributeA2]
/ posttrialpause = 250
</trial>

I copied the xid command off the online documentation but it keeps telling me that the brackets (  are wrong. If I change it to (  ) instead of [ ] the script will run, but button presses dont advance the trials. 

Im not sure what I am doing wrong. 
thanks
Jenny



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
jrichmond - 8 Years Ago
Dave - 8 Years Ago
             perfect, fixed it! thanks
jrichmond - 8 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search