SFELPHOTON-1128: debug stup-and-go motion(4)

This commit is contained in:
2024-05-24 15:22:02 +02:00
parent a0352036a0
commit 98b1d068b9
2 changed files with 28 additions and 31 deletions

View File

@@ -186,8 +186,8 @@ Coord[1].Q[0]=-3 //motion program started and waits. Arm(-2) is done in triggerS
cnt = gpascii.get_variable('Gather.Samples', type_=int)
try:
cnt*=self.meta['srv_per']*self.meta['acq_per']/self.meta['pt2pt_time']
except KeyError:
pass
except KeyError as e:
_log.error(f'{e} -> failed')
return cnt
def trigger(self,wait=.5):