morefigs/pymba — pull request #3 by jayich (2014-04-08 06:58:19+00:00)
Title: Docstring edits.  waitFrameCapture returns the errorCode.

I added a to the docstring of each function. I set waitFrameCapture to return the errorCode instead of passing it to VimbaException. For a hardware trigger this lets the user handle errorCode -12 where a timeout has been reached. Not handling this error causes problems with the camera I think after either frame.getBufferByteData or camera.revokeAllFrames.