equal
deleted
inserted
replaced
377 """ |
377 """ |
378 if self.PLCStatus == "Started": |
378 if self.PLCStatus == "Started": |
379 self.PLClibraryLock.acquire() |
379 self.PLClibraryLock.acquire() |
380 tick = self._WaitDebugData() |
380 tick = self._WaitDebugData() |
381 #PLCprint("Debug tick : %d"%tick) |
381 #PLCprint("Debug tick : %d"%tick) |
382 if tick == -1: |
382 if tick == 2**32 - 1: |
|
383 tick = -1 |
383 res = None |
384 res = None |
384 else: |
385 else: |
385 idx = ctypes.c_int() |
386 idx = ctypes.c_int() |
386 typename = ctypes.c_char_p() |
387 typename = ctypes.c_char_p() |
387 res = [] |
388 res = [] |