mainloop from 50ms to 30ms for better SLAC

This commit is contained in:
uhi22 2022-11-17 10:07:42 +01:00
parent 46fd72ca70
commit 4bf1f70182

View file

@ -81,7 +81,7 @@ worker=pyPlcWorker.pyPlcWorker(cbAddToTrace, cbShowStatus, myMode, isSimulationM
nMainloops=0
nKeystrokes=0
while lastKey!="x":
time.sleep(.05) # 'do some calculation'
time.sleep(.03) # 'do some calculation'
nMainloops+=1
# print(str(nMainloops) + " " + str(nKeystrokes)) # show something in the console window
root.update()