Changeset - aebe823b2414
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 6 years ago 2019-06-08 07:37:43
drewp@bigasterisk.com
typo on stats. and on udmx outputs, show the bus number in the scales tree
Ignore-this: ef1e89a995c01e4508bfcefcf5190db6
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light9/collector/output.py
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)