work on sync process

This commit is contained in:
2019-01-21 21:25:50 +00:00
parent 069e7795e5
commit 7c2a2c5fe6
4 changed files with 116 additions and 82 deletions

View File

@@ -840,7 +840,7 @@ if __name__=='__main__':
#sp.setup_motion(fnPrg=fn + '.prg', mode=1, pt2pt_time=40,scale=0)
#sp.setup_motion(fnPrg=fn + '.prg', mode=1, pt2pt_time=40,scale=1)
sp.setup_gather(acq_per=1)
sp.setup_sync(mode=2) #sync with timing system and PLC to sync speed (PROG)
sp.setup_sync(mode=1) #sync with timing system and PLC to sync speed (PROG)
sp.setup_coord_trf() # reset to shape path system
sp.setup_motion(fnPrg=fn + '.prg', mode=3, pt2pt_time=40,scale=1,dwell=10)
sp.run()