def __init__(self, target, monsoon_bin=None, tty_device=None, res_dir=None): super().__init__(target, res_dir) self._instrument = devlib.MonsoonInstrument(self._target, monsoon_bin=monsoon_bin, tty_device=tty_device) self._instrument.reset()
def __init__(self, target, conf, res_dir): super(Monsoon, self).__init__(target, res_dir) self._instrument = devlib.MonsoonInstrument(self._target, **conf['conf']) self._instrument.reset()