Hi!! I’m new to PsychoPy, and would be very grateful for help in resolving this problem. I would like to add here that I have no knowledge of programming, and am therefore unable to modify scripts using the Coder interface.
OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): v2020.2.4
Standard Standalone? (y/n) If not then what?: Yes, it’s a ‘Standard Standalone’ install.
**What are you trying to achieve?: Please see linked video clip for a sample of the task (rotn-task-sample). The participant sees a reference image (top of screen) & four answer options. S/he selects one by clicking a slider object button located below the answer image options. The current script is a short, test version. The data file has the response RT, but does not indicate which button was pressed.
**What did you try to make it work?: Not sure if this is relevant, but I had already discovered one glitch in the slider object properties box – in the box ‘Labels’, whenever I inserted “A, B, C, D” as the four labels for the four radio buttons, the script wouldn’t run. I finally left this field empty.
**What specifically went wrong when you tried that?: See response to the above question.
Include pasted full error message if possible. “That didn’t work” is not enough information.
Hey, Becca! Thank you so much for the warm welcome.
I’m using the Slider, not the Rating Scale.
I’d like to try what you’ve advised. I’m afraid I’m quite clueless as to how to open up the back-end code & insert this line, though.* I’ve just begun to go through the ‘RatingScale’ topic discussion you linked me to, although I’m not sure whether it’ll give me information about the Slider.
As for putting my task on Pavlovia, I thought that I would try to get at least a basic version of my task ready before uploading it. Right now, it’s just a test version with 2 - 3 stimuli. I’m attaching my script here, though. PsyPy-MentRotn-Test.psyexp (39.5 KB)
Well the good news is you don’t have to open up the coder view to add a code component! In builder view you can select custom>code from the component panel on the right have a play with that and let us know what happens if you add that line of code there.
Hi again, Becca!!! I’ve been trying out what you just suggested… I realized that I could open up the code for the script once I ran the “compile” process. And I’ve just discovered that the “getRating” logging is enabled, & that this parameter is being displayed in a column titled “response”. Strangely, instead of displaying the tick mark number (i.e., 1 / 2 / 3 / 4), the data file displays decimal values, probably corresponding to the exact position of the radio button on the screen. E.g., instead of ‘3’, it’s displaying “2.974537”. This is what led to my confusion.