diff -r c1c92d068ac5 -r 26bc7d5d4264 Viewer.py --- a/Viewer.py Tue Sep 22 09:56:02 2009 +0200 +++ b/Viewer.py Tue Sep 22 09:56:52 2009 +0200 @@ -819,7 +819,11 @@ wire.SetValid(False) if self.Debug: iec_path = self.GetElementIECPath(wire) - if self.AddDataConsumer(iec_path.upper(), wire) is None: + if iec_path is None: + block = wire.EndConnected.GetParentBlock() + if isinstance(block, LD_PowerRail): + wire.SetValue(True) + elif self.AddDataConsumer(iec_path.upper(), wire) is None: wire.SetValue("undefined") if self.Debug: