Hello,
I am trying to run an experiment that involves a couple of things that I can’t figure out how to code. I want the trial to look like this. First there is an image on screen and two buttons, a button labeled “right” and a button labeled “left”, next to each other underneath it.
Second, I want people to be able to click either button, and depending on which button they click I want a different image to show up in response (on a new screen). I want one image to be tied to the “right” button and one tied to the “left”, but I also want the code to be able to display a random image instead of either of the images tied to the buttons.
Third, I want there to be either a text or an audio file to be displayed/played in each trial. I want it to be random if the audio or the text is shown.
The trial will end with a keyboard press (either “f” or “j”)
I have a CSV file that should be set up to pull everything that I want from it, but I can’t figure out how to get PCIbex to actually get things from the CSV file. I would post a link to my experiment, but nothing I have tried will run. What do I need to do to get this to work the way I want it to? Thank you for your help.