tests/logging/py_ext_0@py_ext/py_ext.xml
changeset 944 52a17be9c4d1
parent 914 94436558f0ce
child 1014 e2f7d6c95db0
equal deleted inserted replaced
943:da7f80e04a54 944:52a17be9c4d1
     5 MyT = None
     5 MyT = None
     6 Stop = False
     6 Stop = False
     7 
     7 
     8 def DoLog():
     8 def DoLog():
     9     global MyT,Stop
     9     global MyT,Stop
    10     MyT=threading.Timer(0.03, DoLog)
    10     MyT=threading.Timer(0.3, DoLog)
    11     if not Stop : MyT.start()
    11     if not Stop : MyT.start()
    12     Stop = False
    12     Stop = False
    13     PLCObject.LogMessage("Python side Logging")
    13     PLCObject.LogMessage("Python side Logging")
    14 
    14 
    15 def StopLog():
    15 def StopLog():