def waitFrameCapture(self, timeout=2000): """ Wait for a queued frame to be filled (or dequeued). """ errorCode = VimbaDLL.captureFrameWait(self._handle, byref(self._frame), timeout) if errorCode != 0: raise VimbaException(errorCode)
def waitFrameCapture(self, timeout = 2000): """ Wait for a queued frame to be filled (or dequeued). """ errorCode = VimbaDLL.captureFrameWait(self._handle, byref(self._frame), timeout) if errorCode != 0: raise VimbaException(errorCode)
def waitFrameCapture(self, timeout=2000): """ Wait for a queued frame to be filled (or dequeued). Returns Errorcode upon completion. Runs VmbCaptureFrameWait timeout - int, milliseconds default(timeout, 2000) Call after an acquisition command """ errorCode = VimbaDLL.captureFrameWait(self._handle, byref(self._frame), timeout) # errorCode to be processed by the end user for this function. # Prevents system for breaking for example on a hardware trigger # timeout # if errorCode != 0: # raise VimbaException(errorCode) return errorCode
def waitFrameCapture(self, timeout=2000): """ Wait for a queued frame to be filled (or dequeued). Returns Errorcode upon completion. Runs VmbCaptureFrameWait timeout - int, milliseconds default(timeout, 2000) Call after an acquisition command """ errorCode = VimbaDLL.captureFrameWait(self._handle, byref(self._frame), timeout) # errorCode to be processed by the end user for this function. # Prevents system for breaking for example on a hardware trigger # timeout #if errorCode != 0: #raise VimbaException(errorCode) return errorCode