Files
mppt-testbench/pyproject.toml
grabowski e2be7109b7 Add GUI control panel with live measurements and full instrument control
New `mppt-gui` command launches a tkinter app with:
- Live numeric readouts for all 13 measurement channels
- 4-panel real-time matplotlib graphs (power, efficiency, voltage, current)
- Full supply control: voltage, current, OVP, slew, output on/off
- Full load control: mode (CC/CR/CV/CP), setpoint, slew, load on/off
- Meter settings: wiring mode, response speed, coupling per channel
- CSV data logging with start/stop control
- Red SAFE OFF button (also Escape key) bypasses command queue
- Threaded architecture: instrument I/O never blocks the GUI
- Fix apply() silently failing: use set_current + set_voltage instead

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:42:07 +07:00

29 lines
707 B
TOML

[project]
name = "mppt-testbench"
version = "0.1.0"
description = "MPPT tracker testbench: IT6500D (solar sim) + Prodigit 3366G (load) + HIOKI 3193-10 (power analyzer)"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"matplotlib>=3.10.8",
"pyvisa>=1.16.2",
"pyvisa-py>=0.8.1",
"pyserial>=3.5",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["testbench"]
[tool.hatch.build.targets.wheel.force-include]
"IT6500D/it6500" = "it6500"
"PRODIGIT-3366G/prodigit3366g" = "prodigit3366g"
"HIOKI-3193-10/hioki3193" = "hioki3193"
[project.scripts]
mppt = "testbench.cli:main"
mppt-gui = "testbench.gui:main"