minin72704
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
I check between yours and mine more than twenty times, but I really can't find out the differences and locate problmes. Could you please help me check syntax in files, because I have already spend more than one and half day to check it and try to figure out solutions. Thank you so much.
|
|
|
minin72704
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
I followed your suggestions to modify codes in CCT_hot, but it doesn't work as well. Codes are as follows (31 referred to button while 31 to button1):
<trial pickcard> / ontrialbegin = [if(values.ncards==0)values.button=1 else values.button=2]
/ ontrialbegin = [if(values.ncards<values.nsafecards)values.cardtype=2 else values.cardtype=3]
/ stimulusframes = [1=roundinfo, button, buttontxt, button1, buttontxt1, debuginfo, CR1C1, CR1C2, CR1C3, CR1C4, CR1C5, CR1C6]
/ validresponse = (31,30)
/ ontrialend = [values.responsestorage=concat(values.responsestorage,trial.pickcard.response)]
/ ontrialend = [if(trial.pickcard.response=="30")values.randomcard=list.randomcard.nextvalue]
/ ontrialend = [ if(values.randomcard=="CR1C1"){values.CR1C1=values.cardtype; values.ncards+=1}; if(values.randomcard=="CR1C2"){values.CR1C2=values.cardtype; values.ncards+=1}; if(values.randomcard=="CR1C3"){values.CR1C3=values.cardtype; values.ncards+=1}; if(values.randomcard=="CR1C4"){values.CR1C4=values.cardtype; values.ncards+=1}; if(values.randomcard=="CR1C5"){values.CR1C5=values.cardtype; values.ncards+=1}; if(values.randomcard=="CR1C6"){values.CR1C6=values.cardtype; values.ncards+=1}; ]
/ ontrialend = [if(trial.pickcard.response!="31" && values.cardtype==3) values.score-=values.score] / ontrialend = [if(trial.pickcard.response=="30" && values.cardtype==2) values.score+=values.gainamount]
/ ontrialend = [if(values.ncards<=values.nsafecards)values.openlosscards=0] / ontrialend = [if(trial.pickcard.response!="31" && values.cardtype==3) values.openlosscards=1] / ontrialend = [if(trial.pickcard.response!="30" && values.cardtype==3) values.openlosscards=1]
/ responsemessage = (31, button_on, 1) / responsemessage = (31, buttontxt, 1) / responsemessage = (30, button_on1, 1) / responsemessage = (30, buttontxt1, 1)
/ branch = [if(trial.pickcard.response=="31" || trial.pickcard.response == "0")trial.prepturnover] / branch = [if(values.openlosscards==1 && values.losscards==1)trial.turnover] / branch = [if(values.openlosscards==1 && values.losscards!=1)trial.prepturnover] / branch = [trial.pickcard] / timeout= 10000
</trial>
|
|
|
minin72704
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
I resolve the problems in CCT_cold, it resulted from setting of path.
|
|
|
minin72704
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
I resolved problems in CCT_hot, it resulted from the setting of path as well. Thanks for your help.
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
Apologies for the delayed response. Great to hear you were able to resolve the remaining issues.
|
|
|
minin72704
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
Hi, Dave, If i would like to give some feedbacks automatically (e.g. you can take more, that is fine!) (feedbacks are presented in form of pictures) after participants pressing "take card" button each time in CCT_hot. How could i do it?
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 104K
|
Set up a new <picture> element in the script that has the feedback images. Display it e.g. via the trial's /responsemessage.
|
|
|
minin72704
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
Hi, Dave, I did it before i posting. However, it didn't work. The settings you mentioned seemed to conflict with my original settings (see attach,emt for details). Beacause I want participants to receive feedback after pressing 6 (scancode is 7), but 6 is already assigned to the other button in /responsemessage. I would like participants to receive one of three kinds of feedbacks after pressing take card buttom each time in CCT_hot without countering loss cards.
|
|
|
minin72704
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
attachment is below Hi, Dave, I did it before i posting. However, it didn't work. The settings you mentioned seemed to conflict with my original settings (see attach,emt for details). Beacause I want participants to receive feedback after pressing 6 (scancode is 7), but 6 is already assigned to the other button in /responsemessage. I would like participants to receive one of three kinds of feedbacks after pressing take card buttom each time in CCT_hot without countering loss cards. - See more at: http://www.millisecond.com/forums/Topic16800.aspx?PageIndex=4&Update=1#bm16892Hi, Dave, I did it before i posting. However, it didn't work. The settings you mentioned seemed to conflict with my original settings (see attach,emt for details). Beacause I want participants to receive feedback after pressing 6 (scancode is 7), but 6 is already assigned to the other button in /responsemessage. I would like participants to receive one of three kinds of feedbacks after pressing take card buttom each time in CCT_hot without countering loss cards. - See more at: http://www.millisecond.com/forums/Topic16800.aspx?PageIndex=4&Update=1#bm16892
|
|
|
minin72704
|
|
Group: Forum Members
Posts: 51,
Visits: 189
|
I resolved above mentioned problems. However, the feedbacks always presented before cards being turned over. How could i reverse it (feedback alway presented after cards being turned over)?
|
|
|