Mercurial > code > home > repos > light9
changeset 1973:aebe823b2414
typo on stats. and on udmx outputs, show the bus number in the scales tree
Ignore-this: ef1e89a995c01e4508bfcefcf5190db6
author | drewp@bigasterisk.com |
---|---|
date | Sat, 08 Jun 2019 07:37:43 +0000 |
parents | d4a07ad96aad |
children | 9a81855ec766 |
files | light9/collector/output.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/collector/output.py Sat Jun 08 07:36:34 2019 +0000 +++ b/light9/collector/output.py Sat Jun 08 07:37:43 2019 +0000 @@ -142,13 +142,14 @@ 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