Skip to content

Spinnaker_Camera little bug #72

Description

@thompsonjila

I noticed that the Spinnaker_Camera should check if num_frames, failed_frames, underrun_frames are None before printing. Sorry, I am not sure if this was the right place to put it!
` def stop_acquisition(self):
print('Stopping acquisition...')
self.camera.EndAcquisition()

    # This is supposed to provide debugging info, but as with most things
    # in PySpin, it appears to be completely useless:.
    num_frames=self.get_attribute('StreamTotalBufferCount', stream_map=True)
    failed_frames=self.get_attribute('StreamFailedBufferCount', stream_map=True)
    underrun_frames=self.get_attribute('StreamBufferUnderrunCount', stream_map=True)
    print('Stream info: %d frames acquired, %d failed, %d underrun' %
          (num_frames, failed_frames, underrun_frames))`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions