예제 #1
0
    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)
예제 #2
0
	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)	
예제 #3
0
    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
예제 #4
0
파일: vimbaframe.py 프로젝트: jsalort/pymba
    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