This repository is a collection of various apps which uses the daqopen-lib.
- daq-zmq-server: ZMQ Pulisher for DAQ Data
- daq-zmq-viewer: GUI with ZMQ Subscriber for live viewing data
The daq-zmq-server.py is an application for decoupling the actual acquisition-process from the consuming application. It can be run on e.g. an edge device like Raspberry Pi.
- Collect data with the DueDaq library from the (USB) interface
- Add timestamp to each data package
- Publish the data together with necessary metadata with DaqPublisher
-
Install requirements
pip install daqopen-lib
-
Edit the config/daqinfo.toml file regarding your needs
-
Start the daq-zmq-server.py manually or create a systemd service
-
Start client application and subscribe to the data (e.g. daq-zmq-viewer or DEWETRON OXYGEN with daqopen-oxygen-plugin)
Debugging and testing tool for the daq-zmq-server. You can subscribe to the daqopen-device and live view the data. Bases on PyQt6 framework. It uses also ChannelBuffer for demonstration.
- Set connection parameters in GUI
- Start acquisition (correct: start transfer)
- View live data
- Select channel to be viewed
- Set time window size
-
Install requirements
pip install daqopen-lib PyQt6 pyqtgraph
-
Edit the config/daq-zmq-viewer.toml and set default parameters
-
Start the daq-zmq-viewer.py
-
Optionally edit connection parameter
-
Press Start to connect and start transfer
