def METHOD_NAME(self):
    """ Aborts the buffering measurement, by stopping the measurement
    arming and triggering sequence. If possible, a Selected Device
    Clear (SDC) is used. """
    if type(self.adapter) is PrologixAdapter:
        self.write("++clr")
    else:
        self.write(":ABOR")