Releases: SiLab-Bonn/online_monitor
0.6.0: detach plotting from data handling in Receiver
This release detaches the plotting to e.g. pg.ImageItem
s from the Receiver.handle_data
method, allowing to set custom plot refresh rates per receiver. This avoids forced re-plotting on every incoming data which leads to massive CPU usage for e.g. M26 telescope planes (1152x576 pixels) using pymosa.online_monitor
.
Thus CPU load can be reduced by decreasing the refresh rate per receiver on-the-fly, if needed, without dropping data.
Furthermore, a lut_from_colormap
function has been added to the online_monitor.utils
submodule, allowing to generate lookup tables for pg.ImageItems
from matplotlib.colormaps
such as 'viridis', 'plasma', etc.
0.5.2: feature release
This release brings two new features
-
A
plugin_online_monitor
script, allowing to add paths to theonline_monitor
default search paths. Usage:plugin_online_monitor my/custom/online_monitor/plugin/path
or
cd my/custom/online_monitor/plugin/path plugin_online_monitor
-
A producer sim
silab_default_producer
, located under the examples, has been added and is automatically available. It runs out of the box for most SiLab-type DAQ outputs and can be used in the configuration.yaml like:producer_sim: DAQ: kind: silab_default_producer data_file: path/to/my/data.h5 backend: tcp://127.0.0.1:5500 delay: 0.2
0.5.1: PyPi maintenance release
This version fixes the installation of online_monitor
via the Python Package Index.
Run
pip install online-monitor
to install the package from there
0.5.0: Maintenance release
See #18! Highlights
- Dropping Python 2 support -> Only Python >= 3.7 supported from here on
- Moving CI (Linux / Windows) to GH actions
- Drop deprecated
nose
, usepytest
instead - Fixing the package:
- Remove use of deprecated use of
QtGui
/Qt
throughpyqtgraph
, usepyqt5.QtWidgets
instead - Fix versions to match
pyqtgraphs testing matrix
- Fix
DeprecationWarnings
due toconfigparser.SafeConfigParser
->configparser.ConfigParser
- Fix tests / coverage
- Remove use of deprecated use of
0.4.2: Maintenance release
- Fixing Python 2.7 and 3 compatibility issues (changes in the
dict
implementation) - Fixing installation issues when using
pip
and theonline_monitor
package is not yet available.
Serialization issues with unicode and byte arrays
Some quirks with serialization are fixed by using the json api provided by pyzmq (#15). Unit tests are added for 3 different ways to serialize data with numpy arrays.
Enhance real-time capabilities and API changes
Not backward compatible API change to fix typo: serialze -> serialize
Enhancements:
-
With newer pyzmq releases it was observed that the HWM feature at the receiver side does not work anymore and the online_monitor does not stay real-time. The reason for this was not found and the documentation and forums are not helpful. Therefore a input FIFO is added to the transceiver module to be in charge of data dropping.
-
Data dropping is now not determined any more by CPU utilization but by input FIFO size. Each entry in this FIFO is one received data chunk. The config option is
max_buffer
in the yaml file. -
stop_online_monitor
terminal command that kills all instances of producers, converters and reveives. This is useful when developing and crashes are expected.
Qt5 support
Features:
- switch from Qt4 to Qt5
- small code clean up
Feature release
- Bidirectional communication can be set for the converter connected to a receiver
- The configuration file does not have to defince a producer / converter / receiver
- The demo works out of the box
- Cleanup
Packaging and installation
This release fixes the pip package installation and makes nose tests work from the command line.