This packages provides tools related to the ApplicationCore-MicroDAQ package that add the DAQ modules to ApplciationCore.
Basically the package provides a PyQt5 based data inspector MicroDAQViewer
.
Features of that viewer are e.g.:
- Plot scalar and array data for single events
- Table view of scalar and array data
- Timeline of scalar and array data (time range can be given a number of events or directly by specifying the time range)
- Search for events fulfilling specific trigger requirements
Required python packages:
- PyQt5
- pyqtgraph
- h5py
- cppyy
You might need to add /usr/lib/root
to PYTHONPATH
and LD_LIBRARY_PATH
.
Also another PyQT5 based program called UaClient
is included in the package. This is an OPC-UA based live viewer. The OPCUA client is based on freeopcua and requires to install opcua-client
via pip3.
If root
support is enabled addition features are provided:
libApplicationCore-MicroDAQ-Tools.so
: Includes ROOT related tools. This library is used by theMicroDAQViewer
when working on ROOT fileshdf5Converter
: C++ application that allows to convert HDF5 files to ROOT files, which reduces the disc usage significantlyplot
: Example showing how to useuDAQ::DataHandler
class provided inlibApplicationCore-MicroDAQ-Tools.so
To view a property vs. entry use:
tree->Draw("Entry$:temperature")
To use the time stamp information use:
tree->Draw("timeInfo.timeStamp:temperature")
In the plot you can use SetTimeDisplay
for the x-axis.
In order to merge ROOT files use:
hadd merged.root *.root