speedgoat: Rework display_counters without explicit ANSI
Have to be reworked on top of !6157 (merged)
Related to #4234 (closed)
Close #4206
Tested with
DEMO_SESSION [2]: class MyCounter:
...: def __init__(self, counter):
...: self._counter = counter
...: @property
...: def name(self):
...: return self._counter.name
...: @property
...: def unit(self):
...: return self._counter.unit
...: @property
...: def value(self):
...: return self._counter.raw_read
...: a = MyCounter(diode1)
...: b = MyCounter(diode2)
...: from bliss.controllers.speedgoat.speedgoat_utils import SpeedgoatUtils
...: SpeedgoatUtils.display_counters([a, b])
| Counter | Value | Unit |
|----------------------+----------------------+------------|
| diode1 | 61.92000000 | |
| diode2 | 88.28000000 | |
Edited by Valentin Valls