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
perfect, fixed it! thanks
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
/correctresponse is the wrong attribute to use like that. You need to use /iscorrectresponse, just like you use /isvalidresponse instead of /validresponse.

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...




Reading This Topic

Explore
Messages
Mentions
Search