mirror of
https://github.com/uhi22/pyPLC.git
synced 2024-11-10 01:05:42 +00:00
mainloop from 50ms to 30ms for better SLAC
This commit is contained in:
parent
46fd72ca70
commit
4bf1f70182
1 changed files with 1 additions and 1 deletions
2
pyPlc.py
2
pyPlc.py
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue