|
minin72704
|
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
Now, my main concerns are how to convert default setting of mouse in CCT task to correspond to keyboard, and then advanced to set response keys correctly for functioning devices of current design. Actually, I have no idea about these settings, could you give me more examples? Thank you.
|
|
|
|
|
minin72704
|
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
I set following syntax and attempt to refer "0","1","2","3","4","5","6" respectively to numbers 0~6 (rating design) in CCT_cold. However, when I press 1 on keyboard, it record "2" in data. In addition, no response is recorded when i press 0 on keyboard.
/ validresponse = ("0","1","2","3","4","5","6")
/ correctresponse = ("")
/ inputdevice = keyboard
|
|
|
|
|
Dave
|
|
|
Group: Administrators
Posts: 13K,
Visits: 109K
|
I don't know which scancodes the Lumina box sends when used as a quasi-keyboard. I would assume they are identical to what's in the documentation. However, you should be able to confirm or disconfirm this easily (and figure out the respective scancodes) via Tools -> Keyboard Scancodes...
|
|
|
|
|
minin72704
|
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
Hi, Dave, I finnally design to use current design-8 Button Bimanual Straight Lines as response devices. Reading through the manual from page 116 to 122, it seems that I have to add / inputdevice = keyboard in <defaults> and modifies some values in scripts. Are these values of keyboard for curent design in Inquisit identical to that settings in E-prime (left hand:1234, right hand:6789)? If yes, then, does it suggest that i can preset valid responses in CCT_hot for "take card" to "6" and for "stop" to "7" to correspond to left button and right button of mouse, respectively? Likewise, can i preset valid reponses in CCT_cold for numbers 0~3 and 4~6 to corresponding to "left hand:1234" and "right hand:678", respectively?
|
|
|
|
|
Dave
|
|
|
Group: Administrators
Posts: 13K,
Visits: 109K
|
As far as I can tell the data is recorded exactly as specified in your <data> and <summarydata> elements. Please specify what exactly you mean by "data were not recorded". Note: If you are using an expired trial copy of Inquisit Lab, then yes, no data will be recorded when running through the scripts manually.
|
|
|
|
|
minin72704
|
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
It sounds a little complex. I have another question, that is, why the data were not recoeded, could you help me check my syntax in scripts ?(please see attatchment for all files needed) Thank you.
|
|
|
|
|
Dave
|
|
|
Group: Administrators
Posts: 13K,
Visits: 109K
|
No, simply changing the /inputdevice may not be enough. You also need to adapt any /validresponse, /isvalidresponse, /correctresponse, /iscorrectresponse attributes as well as any other logic (in /ontrialend etc.) that makes use of the response property. All those need to reflect whatever the Lumina pad (in the configuration you want to use) returns as responses. See the "Using Cedrus RB Series and Lumina Response Boxes with Inquisit" topic in the documentation for an overview.
As far as I am aware the Lumina pad does not require any special drivers. For confirmation / specifics on this, though, you would have to contact the pad's manufacturer, Cedrus.
|
|
|
|
|
minin72704
|
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
Hi, Dave, I want to use Lumina response pad (with two buttons each hand) on data collection, I will only use one hand similar to mouse and only the left button is valided response. Does it mean that I can simply use this syntax <defaults>/inputdevice=xid</defaults> and unnecessarily add another syntax to my main script? The other question is that I can't find the driver for Lumina on Cedrus' web site, caould you give some instruction to download the driver. Thank you.
|
|
|
|
|
minin72704
|
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
Hi, Dave, I have already resolved all the problems, thank you.
|
|
|
|
|
Dave
|
|
|
Group: Administrators
Posts: 13K,
Visits: 109K
|
#1:
<trial pickcard1> / ontrialend = [if (values.gameround1==8)trial.mean] </trial>
The above does nothing and isn't supposed to. If you want to run a certain <trial> if a certain condition is met, you ought to use /branch, not /ontrialend.
#2: You need to give the script something to do for the remainder of the time. I.e., run a <trial> at the very end that does not accept any response and just sits there until the defined /timeout kicks in. A /timeout out defines the *maximum* allowed duration, it does not in itself impose a minimum or fixed duration (and isn't supposed to).
|
|
|
|