예제 #1
0
파일: kdc101.py 프로젝트: joamatab/pyrolab
 def move_acceleration(self, acceleration):
     status = kcdc.CC_SetVelParams(self._serialno, c_int(acceleration), c_int(self.move_velocity))
     check_error(status)
예제 #2
0
 def move_velocity(self, velocity):
     status = kcdc.CC_SetVelParams(
         self._serialno,
         c_int(self._real_value_to_du(self.move_acceleration, 2)),
         c_int(self._real_value_to_du(velocity, 1)))
     check_error(status)