diff -r 5a0b439cf576 -r cd4a996ddaa7 graphics/GraphicCommons.py --- a/graphics/GraphicCommons.py Wed May 08 23:31:12 2013 +0200 +++ b/graphics/GraphicCommons.py Thu May 09 09:00:24 2013 +0200 @@ -358,10 +358,13 @@ def GetDataType(self, iec_path): if self.DataProducer is not None: + data_type = self.DataProducer.GetDebugIECVariableType(iec_path.upper()) + if data_type is not None: + return data_type + infos = self.DataProducer.GetInstanceInfos(iec_path) if infos is not None: return infos["type"] - return self.DataProducer.GetDebugIECVariableType(iec_path.upper()) return None def IsNumType(self, data_type):