runtime/PLCObject.py
changeset 1463 de311ffe3961
parent 1457 ff7cfce737ca
child 1570 0925da818853
--- a/runtime/PLCObject.py	Thu Jun 18 15:22:43 2015 +0200
+++ b/runtime/PLCObject.py	Fri Jun 19 09:34:18 2015 +0200
@@ -142,9 +142,9 @@
             self._PLClibraryHandle = dlopen(self._GetLibFileName())
             self.PLClibraryHandle = ctypes.CDLL(self.CurrentPLCFilename, handle=self._PLClibraryHandle)
 
-            self.PLCID = ctypes.c_char_p.in_dll(self.PLClibraryHandle, "PLCID")
+            self.PLC_ID = ctypes.c_char_p.in_dll(self.PLClibraryHandle, "PLC_ID")
             if len(md5) == 32 : 
-                self.PLCID.value = md5 
+                self.PLC_ID.value = md5 
 
             self._startPLC = self.PLClibraryHandle.startPLC
             self._startPLC.restype = ctypes.c_int