From 4bf1f70182c8c10e263cf51a2cf0f500c46634ca Mon Sep 17 00:00:00 2001 From: uhi22 Date: Thu, 17 Nov 2022 10:07:42 +0100 Subject: [PATCH] mainloop from 50ms to 30ms for better SLAC --- pyPlc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyPlc.py b/pyPlc.py index 905fff2..02c5567 100644 --- a/pyPlc.py +++ b/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()