How to save serial input response (from Arduino UNO to Psychopy) in csv?

Hello to respected members,

I have built an experiment in which I want to record Galvanic Skin Response (GSR) along with stroop test reaction time.

I have used these links to develop my experiment.
LInk 1. Recording information from an Arduino via serial port — PsychoPy v2023.2.3 and
Link 2. Serial input response from arduino in builder

Now, I am getting reaction time in the data csv file (Psychopy data file) ,
but getting GSR data in the psychopy runner tab.

My question is: How do I get these GSR data (coming from Arduino UNO serial port, analog) in the csv file?

N.B. GSR result in the csv/excel file was like this - GSR [0].

Thank you for the consideration.


Hi, did you ever figure this out? I am making a similar experiment with a FSR (force sensitive resistor) and was wondering how you solved this situation. Thanks!