--- a/LPCconnector/LPCAppProto.py Mon Apr 29 17:29:59 2013 +0900
+++ b/LPCconnector/LPCAppProto.py Mon Apr 29 17:31:24 2013 +0900
@@ -6,7 +6,6 @@
class LPCAppProto(LPCProto):
def HandleTransaction(self, transaction):
- self.TransactionLock.acquire()
try:
transaction.SetPseudoFile(self.serialPort)
# send command, wait ack (timeout)
@@ -18,8 +17,6 @@
raise LPCProtoError("controller did not answer as expected")
except Exception, e:
raise LPCProtoError("application mode transaction error : "+str(e))
- finally:
- self.TransactionLock.release()
return LPC_STATUS.get(current_plc_status,"Broken"), res
class LPCAppTransaction: