Post by Luke on Jul 13, 2020 15:24:12 GMT
Hello,
I am programming a version of the Leeds Food Preference Questionnaire where participants are asked to choose between two foods (e.g., steak vs. potatoes). I need for my task to include all possible combinations of my foods (12 in total). However, I am running across a problem of how to pull the bitmaps from a table without having the items be compared against each other or having combinations be repeated but just have their location switched on the screen. I currently have this:
table Main
"Vegetarian" Avocado HotDog
"Meat" Roastbeef Egg
"Vegetarian" Cashews Hamburger
"Vegetarian" Cheese RoastedChicken
"Vegetarian" Egg Roastbeef
"Meat" HotDog Avocado
"Meat" GrilledPork Sandwich
"Vegetarian" Sandwich GrilledPork
"Meat" Hamburger Cashews
"Meat" RoastedChicken Cheese
"Vegetarian" Fries Steak
"Meat" Steak Fries
task ForcedChoice
table Main
keys d j
show bitmap ForcedChoiceQuestion 0 -200
delay 1500
show bitmap fixpoint 0 0 #1
delay 500
clear 1
show bitmap @2 -275 0 #2 bitmap of food, taken from table
show bitmap @3 270 0 #3 bitmap of food, taken from table
readkey 1 5000 # wait for key response up to 5 seconds
clear 1 2 # remove stimuli
delay 500 # wait 500ms (here sort of intertrial time)
save TABLEROW @1 STATUS RT # save data to file
Any suggestions would be appreciated. Even if I need to type out every single combination I am okay taking the time to do that. However, I am unsure how that would work either. Thank you for your time!
I am programming a version of the Leeds Food Preference Questionnaire where participants are asked to choose between two foods (e.g., steak vs. potatoes). I need for my task to include all possible combinations of my foods (12 in total). However, I am running across a problem of how to pull the bitmaps from a table without having the items be compared against each other or having combinations be repeated but just have their location switched on the screen. I currently have this:
table Main
"Vegetarian" Avocado HotDog
"Meat" Roastbeef Egg
"Vegetarian" Cashews Hamburger
"Vegetarian" Cheese RoastedChicken
"Vegetarian" Egg Roastbeef
"Meat" HotDog Avocado
"Meat" GrilledPork Sandwich
"Vegetarian" Sandwich GrilledPork
"Meat" Hamburger Cashews
"Meat" RoastedChicken Cheese
"Vegetarian" Fries Steak
"Meat" Steak Fries
task ForcedChoice
table Main
keys d j
show bitmap ForcedChoiceQuestion 0 -200
delay 1500
show bitmap fixpoint 0 0 #1
delay 500
clear 1
show bitmap @2 -275 0 #2 bitmap of food, taken from table
show bitmap @3 270 0 #3 bitmap of food, taken from table
readkey 1 5000 # wait for key response up to 5 seconds
clear 1 2 # remove stimuli
delay 500 # wait 500ms (here sort of intertrial time)
save TABLEROW @1 STATUS RT # save data to file
Any suggestions would be appreciated. Even if I need to type out every single combination I am okay taking the time to do that. However, I am unsure how that would work either. Thank you for your time!