Rearms the gen/acq task, to the same channels as before

def reset(self):
        """Rearms the gen/acq task, to the same channels as before"""

        response_npts = int(self.aitime*self.aifs)
        try:
            self.aitask = AITaskFinite(self.aichan, self.aifs, response_npts, trigsrc=self.trigger_dest)
            new_gen = self.reset_generation(u"ai/StartTrigger")
        except:
            print u'ERROR! TERMINATE!'
            self.daq_lock.release()
            self.stop()
            raise

        self.daq_lock.release()
        return new_gen