--- 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:
--- a/LPCconnector/LPCAppProto.py Tue Apr 30 16:25:13 2013 +0900
+++ b/LPCconnector/LPCAppProto.py Mon May 06 16:01:38 2013 +0200
@@ -110,6 +110,11 @@
+class RESET_LOGCOUNTSTransaction(LPCAppTransaction): + LPCAppTransaction.__init__(self, 0x0D) + ExchangeData = LPCAppTransaction.GetData if __name__ == "__main__":
__builtins__.BMZ_DBG = True
TestConnection = LPCAppProto(6,115200,2)