-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Update the desktop application to support multiple SD card logging formats now that the device firmware supports Protobuf, JSON, and TestData formats.
Background
The device firmware supports multiple logging formats via SYSTem:STReam:FORmat:
- 0 = Protobuf (binary, .bin) - current default
- 1 = JSON (text, .json)
- 2 = TestData (diagnostic)
daqifi-core is adding support for selecting the format (daqifi/daqifi-core#123).
Proposed Changes
UI Updates
-
SD Logging Settings
- Add format selection dropdown/radio buttons (Protobuf, JSON)
- Default to Protobuf for backward compatibility
-
SD Card File Browser
- Display file format based on extension
- Show appropriate icon or indicator for each format
-
File Download/Parse
- Auto-detect format based on file extension
- Use appropriate parser (protobuf or JSON)
Code Changes
- Update SD logging start to pass format parameter to Core
- Update file parsing to handle multiple formats
- Add format column to SD card file list view
Acceptance Criteria
- Add format selection UI for SD logging
- Update file browser to show format
- Auto-detect and parse both protobuf and JSON files
- Maintain backward compatibility (default to protobuf)
- Update any user-facing documentation
Dependencies
- feat: Add multi-format SD card logging support (Protobuf, JSON, TestData) daqifi-core#123 (multi-format logging support)
- feat: Add JSON and CSV SD card log file parsers daqifi-core#124 (JSON parser)
Notes
TestData format (format 2) is primarily for firmware diagnostics and may not need UI support initially.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels