marie
New Member
Posts: 7
|
Post by marie on Feb 15, 2023 17:52:55 GMT
Hello,
I created an experiment for mobile phone in which the participants must determine the location of the opening of an optotype. I would like to integrate a questionnaire with two "radio" questions that I created as answer format but I can't find the formula. Everything else is well coded.
Thank you very much in advance :-)
task trainingCadre
table training trial
show bitmap fix
delay 1500
clear -1
show bitmap @2
delay 750
clear -1
show survey Optotypes (I created a questionnaire called Optotypes that I want/need to insert here) readmouse @3 10000
clear -1
show bitmap RéponseAV2
readmouse @3 10000
save BLOCKNAME @1 @2 TABLEROW RT STATUS KEY
task testCadre
table test trial conditions
show bitmap fix
delay 1500
clear -1
show bitmap @2
delay 750
clear -1
show survey Optotypes (I want to insert the same questionnaire here)
readmouse @3 10000
clear -1
save BLOCKNAME @1 @2 TABLEROW RT STATUS KEY
block trainingCadre
message Inst1 mouse
message Inst2 mouse
tasklist
trainingCadre 4 all_before_repeat no_repeat
end
block testCadre
tasklist
testCadre 64 no_repeat all_before_repeat
end
block end
|
|
marie
New Member
Posts: 7
|
Post by marie on Feb 24, 2023 23:42:03 GMT
If someone needs it, I got it (n.b. there is one shift in results) :
task testAcuité_Visuelle_Cadre table test trial conditions show bitmap fixcadre delay 1500 clear -1 show bitmap @2 delay 350 clear -1 draw off show bitmap QuestAV1 0 100 show bitmap BoutAV1Gauche -105 96 show bitmap BoutAV1Haut -105 131 show bitmap BoutAV1Droite -105 166 show bitmap BoutAV1Bas -105 201 draw on choose option select BoutCli choose option minselect 1 choose option maxselect 1 choose option exit BoutCont BoutCont1 0 255 choose 60000 4 7 save CHOSEN_1 RT draw off show bitmap QuestAV2 0 100 show bitmap BoutAV2Net -105 96 show bitmap BoutAV2Flou -105 131 draw on choose option select BoutCli choose option minselect 1 choose option maxselect 1 choose option exit BoutCont BoutCont1 0 255 choose 60000 4 5 save CHOSEN_1 RT save BLOCKNAME @1 @2 TABLEROW RT
|
|
marie
New Member
Posts: 7
|
Post by marie on Feb 24, 2023 23:50:34 GMT
The shift in the results is due to the bitmaps order. QuestAV1 is a ppt screenshot so it has a white background. I guess that if you create it without any background with Inkscape or other you just have to show it at the end to have 1, 2, 3, 4 as results instead of 2,3,4,5.
:-)
|
|