How openept/gui works
OpenEPT is a Qt GUI for embedded-device energy profiling and battery algorithm evaluation. Its main workflow starts with workspace selection, opens the application, and manages device interaction and measurement views. The README also highlights live voltage/current streaming and high-speed acquisition; battery analysis, file handling, and configuration are represented as distinct product areas. Several subsystem links are dashed because the available excerpts and reference index identify modules but do not show their runtime dispatch in detail.
Main entry points: devicecontainer.cpp Device manager · device.cpp Device control · openept.cpp OpenEPT shell · controllink.cpp Control transport
Components 24
Application
- Workspace selection
Source/Windows/WSSelection/selectworkspace.cpp - OpenEPT shell
Source/openept.cpp - Device manager
Source/devicecontainer.cpp
Device connectivity
- Device control
Source/device.cpp - Control transport
Source/Links/controllink.cpp - Serial transport
Source/Links/seriallink.cpp - Status link
Source/Links/statuslink.cpp - Sample streaming
Source/Links/streamlink.cpp - Energy data link
Source/Links/edlink.cpp
Measurement processing
- Sample processing
Source/Processing/dataprocessing.cpp - Battery extraction
Source/Processing/batteryparamsextraction.cpp - Charging analysis
Source/Processing/charginganalysis.cpp - Measurement files
Source/Processing/fileprocessing.cpp - Waveform library
Source/Processing/waveform.cpp
Profiling interface
- Energy control
Source/Windows/Device/energycontrolwnd.cpp - Device window
Source/Windows/Device/devicewnd.cpp - Battery analysis views
Source/Windows/BatteryParams/batteryparamswnd.cpp - Data analyzer
Source/Windows/DataAnalyzer/dataanalyzerprofile.cpp - Plotting
Source/Windows/Plot/plot.cpp - Plot widget
Source/Chart/qcustomplot.cpp
Configuration
- Parameter storage
Source/Processing/Parameters/parameterstore.cpp - Application settings
Source/Windows/ApplicationConf/applicationconfwnd.cpp
Other components
- Operator
- Profiler hardware
Connections 23
- Operator → Workspace selection: chooses workspace
- Workspace selection → OpenEPT shell: opens application
- OpenEPT shell → Device manager: creates device manager
- Device manager → Device control: manages devices
- Device control → Control transport: uses control link
- Device control → Status link: uses status link
- Device control → Sample streaming: uses stream link
- Device control → Energy data link: uses data link
- Control transport → Serial transport: delegates serial transfers
Source/Links/controllink.cpp - Profiler hardware → Control transport: receives commands
- Profiler hardware → Sample streaming: streams samples
- Device control → Sample processing: configures processing
- Device manager → Battery extraction: uses extraction
- Device manager → Charging analysis: uses analysis
- Device manager → Measurement files: writes measurements
- Energy control → Waveform library: loads waveforms
- Device manager → Parameter storage: uses application settings
- Device manager → Device window: presents device controls
- Device manager → Battery analysis views: opens battery views
- Sample processing → Data analyzer: feeds analysis
- Plotting → Plot widget: uses plot widget
- Energy control → Plotting: shows measurement plots
- OpenEPT shell → Application settings: provides settings