Beispiel #1
0
    def Stop(self):
        """
		Send data stop condition.
		"""
        if _mpsse.Stop(self.context) == MPSSE_FAIL:
            raise Exception, self.ErrorString()
        return MPSSE_OK
Beispiel #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