Files
X06SA/script/motion/get_aux.py
EPanepucci (x06sa-cons-701) 7760a652a1 SOFT-227 implement cryostage motions, WIP
- ported modifications offline, still need to finish
  and test
2021-07-28 14:46:40 +02:00

23 lines
474 B
Python

def get_aux(sample):
"""
"""
print "get_aux: ",sample
sample = int(sample) #assert_valid_sample only acceps int as parameters
#Initial checks
assert_valid_sample(sample)
robot.assert_no_task()
robot.reset_motion()
robot.wait_ready()
robot.assert_cleared()
hexiposi.assert_homed()
#Enabling
enable_motion()
if not robot.is_aux():
robot.move_aux()
robot.get_aux(sample)