Is it possible to change a component’s status from STARTED to NOT_STARTED make it appear several times during the trial without using a loop in the builder? I want to have a number of confidence rating sliders show up throughout the trial. I think the problem is that after it shows up for the first time its status changes from NOT_STARTED to STARTED and I can’t figure out how to reset it…
# *slider_confidence* updates
if slider_confidence.status == NOT_STARTED and confidenceSlider==True:
# keep track of start time/frame for later
slider_confidence.frameNStart = frameN # exact frame index
slider_confidence.tStart = t # local t and not account for scr refresh
slider_confidence.tStartRefresh = tThisFlipGlobal # on global time
win.timeOnFlip(slider_confidence, 'tStartRefresh') # time at next scr refresh
# add timestamp to datafile
thisExp.timestampOnFlip(win, 'slider_confidence.started')
slider_confidence.setAutoDraw(True)
if slider_confidence.status == STARTED:
if bool(endSlider==True):
# keep track of stop time/frame for later
slider_confidence.tStop = t # not accounting for scr refresh
slider_confidence.frameNStop = frameN # exact frame index
# add timestamp to datafile
thisExp.timestampOnFlip(win, 'slider_confidence.stopped')
slider_confidence.setAutoDraw(False)