示例#1
0
文件: mpsse.py 项目: hudkmr/libmpsse
    def Stop(self):
        """
		Send data stop condition.
		"""
        if _mpsse.Stop(self.context) == MPSSE_FAIL:
            raise Exception, self.ErrorString()
        return MPSSE_OK
示例#2
0
	def Stop(self):
		"""
		Send data stop condition.

		Returns MPSSE_OK on success.
		Raises an exception on failure.
		"""
		if _mpsse.Stop(self.context) == MPSSE_FAIL:
			raise Exception, self.ErrorString()
		return MPSSE_OK