LPCconnector/LPCAppObject.py
changeset 47 f860aa7e90e5
parent 46 c6b7d4c176c2
child 49 f340728940f6
--- a/LPCconnector/LPCAppObject.py	Tue Apr 30 16:25:13 2013 +0900
+++ b/LPCconnector/LPCAppObject.py	Mon May 06 16:01:38 2013 +0200
@@ -108,6 +108,9 @@
                 return self.PLCStatus, tick.value, TraceVariables
         return self.PLCStatus, None, [] 
 
+    def ResetLogCount(self):
+        self.HandleSerialTransaction(RESET_LOGCOUNTSTransaction())
+
     def GetLogMessage(self, level, msgid):
         strbuf = self.HandleSerialTransaction(GET_LOGMSGTransaction(level, msgid))
         if strbuf is not None and len(strbuf) > 12: