diff -r e9e17d3b2849 -r debc97102b23 graphics/DebugDataConsumer.py --- a/graphics/DebugDataConsumer.py Mon Oct 14 10:49:04 2013 +0200 +++ b/graphics/DebugDataConsumer.py Mon Oct 14 12:28:44 2013 +0200 @@ -197,7 +197,7 @@ """ self.DataType = data_type - def NewValues(self, ticks, values, forced=False, raw="BOOL"): + def NewValues(self, tick, values, raw="BOOL"): """ Function called by debug thread when a new debug value is available @param tick: PLC tick when value was captured @@ -205,7 +205,7 @@ @param forced: Forced flag, True if value is forced (default: False) @param raw: Data type of values not translated (default: 'BOOL') """ - tick, value = ticks[-1], values[-1] + value, forced = values # Translate value to IEC literal if self.DataType != raw: