# HG changeset patch # User drewp@bigasterisk.com # Date 2019-06-08 07:37:43 # Node ID aebe823b241483c5c484c54559e080f492826b94 # Parent d4a07ad96aade7bee1a8c43747557fcb0562444b typo on stats. and on udmx outputs, show the bus number in the scales tree Ignore-this: ef1e89a995c01e4508bfcefcf5190db6 diff --git a/light9/collector/output.py b/light9/collector/output.py --- a/light9/collector/output.py +++ b/light9/collector/output.py @@ -142,13 +142,14 @@ class Udmx(BackgroundLoopOutput): self.dev = None super().__init__(uri, rate=rate) - self.errStats = scales.collection(self.statPath + '/write', + self._errStats = scales.collection(self.statPath + '/write', scales.IntStat('overflow'), scales.IntStat('ioError'), scales.IntStat('pipeError') ) self.reconnect() - + def shortId(self) -> str: + return super().shortId() + f'_bus={self.bus}' def reconnect(self): self._connected = 0 from pyudmx import pyudmx