# Show me all the frame times that I recorded

**URL:** <https://discourse.psychopy.org/t/show-me-all-the-frame-times-that-i-recorded/3136>\
**Category:** Coding\
**Tags:** timing\
**Created:** [September 28, 2017, 5:45pm UTC](https://discourse.psychopy.org/t/show-me-all-the-frame-times-that-i-recorded/3136 "2017-09-28T17:45:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claire01](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@Claire01](https://discourse.psychopy.org/u/Claire01)\
**Post date:** [September 28, 2017, 5:45pm UTC](https://discourse.psychopy.org/t/show-me-all-the-frame-times-that-i-recorded/3136/1 "2017-09-28T17:45:43Z")

</div>

Dear colleague

I am trying to identify all recorded frame times using ‘win.saveFrameIntervals(fileName=None, clear=True)’. I took this piece of code from the Detecting dropped frames PsychoPy webpage. After running the experiment, I was not able to find the lastFrameIntervals.log on my computer, so as a work around, I created a .txt. file and inserted the file path as shown below. Unfortunately, despite the experiment running as expected, no frame times were recorded.

```auto
# Setup the Window
win = visual.Window(
    size=(1920, 1080), fullscr=True, screen=0,
    allowGUI=False, allowStencil=False,
    monitor='B&WRm', color=[0,0,0], colorSpace='rgb',
    blendMode='avg', useFBO=True)
# store frame rate of monitor if we can measure it
expInfo['frameRate'] = win.getActualFrameRate()
if expInfo['frameRate'] != None:
    frameDur = 1.0 / round(expInfo['frameRate'])
else:
    frameDur = 1.0 / 60.0 # could not measure, so guess

win.saveFrameIntervals('C:/Test/one.csv', clear=True)

win.recordFrameIntervals = True
win.refreshThreshold = 1/60 + 0.004
logging.console.setLevel(logging.WARNING)

print('Overall, %i frames were dropped.' % win.nDroppedFrames)

```

I am a novice in Python, using v1.85.3 mainly in Builder view.

Many thanks in advance,

Claire

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [September 30, 2017, 1:32pm UTC](https://discourse.psychopy.org/t/show-me-all-the-frame-times-that-i-recorded/3136/2 "2017-09-30T13:32:21Z")

</div>

You want `win.frameIntervals`

Have a look at the timeByFrames demo (in the Coder view)
