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