Exemple #1
0
    def Start(self):
        """
		Send data start condition.
		"""
        if _mpsse.Start(self.context) == MPSSE_FAIL:
            raise Exception, self.ErrorString()
        return MPSSE_OK
Exemple #2
0
	def Start(self):
		"""
		Send data start condition.

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