auf die harte tour gelernt...
This commit is contained in:
parent
368b2fb2e4
commit
1fd112b036
|
|
@ -170,6 +170,7 @@ def main():
|
|||
datadict = {}
|
||||
|
||||
ser.write(str.encode(f"G1 Z{z_search} F{feedrate}\r\n"))
|
||||
try:
|
||||
|
||||
for y in np.linspace(args.ystart, args.yend, args.ypts,endpoint=True):
|
||||
if y >= max_y:
|
||||
|
|
@ -200,7 +201,10 @@ def main():
|
|||
datadict[(x, y)] = data_arr
|
||||
time.sleep(1)
|
||||
progress+=1
|
||||
b.update(progress + 1)
|
||||
b.update(progress)
|
||||
except:
|
||||
pass
|
||||
finally:
|
||||
b.finish()
|
||||
writeCSV(
|
||||
freq_arr,
|
||||
|
|
|
|||
Loading…
Reference in New Issue