def __init__(self): self.f = FilterMotor() self.fw = FilterWheelParser(self, self.f) self.f.connDev() # Pass protocol to FilterMotor.py self.f.motorProtocol = self