def _setStepRate(self): rate = yield getType(float,'enter stepping rate (in Hz): ') yield self.client.setStepRate(rate)
def _setPosition(self): position = yield getType(int,'input position: ') yield self.client.setPosition(position)