editors/DebugViewer.py
changeset 1363 e87e0166d0a7
parent 1215 786f2533200a
child 1365 debc97102b23
--- a/editors/DebugViewer.py	Sat Oct 12 10:10:30 2013 +0900
+++ b/editors/DebugViewer.py	Mon Oct 14 10:31:32 2013 +0200
@@ -214,7 +214,7 @@
             # Search for variable informations in project data
             infos = self.DataProducer.GetInstanceInfos(iec_path)
             if infos is not None:
-                return infos["type"]
+                return infos.type
         
         return None
     
@@ -246,7 +246,7 @@
         if self.DataProducer is not None:
             self.DataProducer.ReleaseDebugIECVariable(iec_path)
     
-    def NewDataAvailable(self, tick, *args, **kwargs):
+    def NewDataAvailable(self, ticks, *args, **kwargs):
         """
         Called by DataProducer for each tick captured
         @param tick: PLC tick captured