Files
AiAnalysis/README.md
iorebuild 352e508adb refactor: 改用qmake(.pro)构建,兼容Qt 5.9
- 移除CMakeLists.txt,改用AiAnalysis.pro
- 修复Qt 5.9兼容性:QWheelEvent::posF()、QString::SkipEmptyParts、static_cast信号连接
- 更新README为qmake构建说明
- 删除CMake build目录
2026-04-30 12:59:28 +08:00

42 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AiAnalysis - 16通道AI数据UDP实时采集分析工具
## 功能
- UDP端口监听实时接收数据包
- 解析16通道逗号分隔的ADC数据格式: `val0,val1,...,val15`
- 实时波形绘制深色主题16条独立颜色曲线
- 数据自动保存为CSV存到 `data_端口号/` 目录)
- 支持打开历史CSV文件回放查看
- 滚轮缩放、右键拖拽平移、双击恢复自动范围
- 通道可见性切换、显示点数可调
## 跨平台支持
✅ Linux ✅ Windows ✅ macOS
纯Qt5 + qmake构建无额外依赖。支持 Qt 5.9+。
---
## Windows / Linux / macOS 编译 & 运行
### Qt Creator推荐
1. 打开 Qt Creator
2. **File → Open File or Project** → 选择 `AiAnalysis.pro`
3. 选择对应的 Kit如 Desktop Qt 5.9.8 MinGW 32bit
4. 点击左下角🔨构建 → ▶️运行
### 命令行qmake
```bash
qmake AiAnalysis.pro
make -j4 # Linux/macOS
mingw32-make -j4 # Windows MinGW
```
---
## 使用说明
1. 输入UDP端口号点击「开始监听」
2. 下位机通过UDP发送逗号分隔的16通道数据`17309,13624,17301,...`
3. 右侧面板可切换通道显示/隐藏
4. 「打开文件」可加载历史CSV数据回放
5. 滚轮缩放Y轴 | 右键拖拽平移 | 双击恢复自动范围