Hi Mario,
Thank you for your comment. 
The following is a part of my code.
don_ratingscale = visual.RatingScale(win=win, name='don_ratingscale', marker=u'triangle', markerColor='black', size=1.1, pos=[0.0, -0.4], low=0, high=10, precision=1, markerStart=None, noMouse=True, leftKeys='left', rightKeys='right', acceptKeys='space', labels=[u'how'], scale=u'',textColor='black',lineColor='black',maxTime=4
# ------Prepare to start Routine "rating"-------
t = 0
ratingClock.reset() # clock
frameN = -1
continueRoutine = True
routineTimer.add(4.000000)
# update component parameters for each repeat
don_ratingscale.reset()
# keep track of which components have finished
ratingComponents = [don_rating, don_ratingscale, timer13, timer14, timer15, timer16]
for thisComponent in ratingComponents:
if hasattr(thisComponent, 'status'):
thisComponent.status = NOT_STARTED
# -------Start Routine "rating"-------
while continueRoutine and routineTimer.getTime() > 0:
# get current time
t = ratingClock.getTime()
frameN = frameN + 1 # number of completed frames (so 0 is the first frame)
# update/draw components on each frame
I don’t think there is anything wrong with this code.
However, if the participant doesn’t respond, the response is still stored as ‘0’, which is the starting point of the marker, rather than being stored as ‘None’.
I want the data to be saved as ‘None’ if the participant doesn’t press the space(acceptKeys) when rating.
Is there any code stored as ‘None’, not the marker’s start point when acceptkey is not pressed?
I would really appreciate your help again.