equal
deleted
inserted
replaced
246 if self.DataProducer is not None: |
246 if self.DataProducer is not None: |
247 self.DataProducer.ReleaseDebugIECVariable(iec_path) |
247 self.DataProducer.ReleaseDebugIECVariable(iec_path) |
248 |
248 |
249 def NewDataAvailable(self, tick, *args, **kwargs): |
249 def NewDataAvailable(self, tick, *args, **kwargs): |
250 """ |
250 """ |
251 Called by DataProducer for each tick captured in |
251 Called by DataProducer for each tick captured |
252 @param tick: PLC tick captured |
252 @param tick: PLC tick captured |
253 All other parameters are passed to refresh function |
253 All other parameters are passed to refresh function |
254 """ |
254 """ |
255 # Stop last refresh timer |
255 # Stop last refresh timer |
256 self.TimerAccessLock.acquire() |
256 self.TimerAccessLock.acquire() |