Commit Graph

605 Commits

Author SHA1 Message Date
Egor Savkin 9c4b514485 add swap status to the report
Signed-off-by: Egor Savkin <es@m-labs.hk>
2024-03-08 11:16:17 +08:00
Egor Savkin 89380b1716 Merge remote-tracking branch 'refs/remotes/atse/GUI' into zotino-tec
# Conflicts:
#	src/channels.rs
2024-03-08 11:13:03 +08:00
atse d7b65831a8 Add swap command 2024-03-06 15:54:57 +08:00
atse d9fc7a9e27 Put temperature on anyway 2024-03-06 15:19:56 +08:00
atse 76547be90a i_tec -> i_set
i_tec is reserved for the voltage signal coming out of the MAX1968 chip
for now.
2024-02-14 17:27:12 +08:00
atse 8b975e656e Stop i_set from fluctuating in every report
i_set is a user-provided value that shouldn't fluctuate with every VREF
measurement. Storing i_set as channel state is the simplest way to avoid
that.
2024-02-14 17:21:39 +08:00
atse aac5172397 More detailed text for load/save on all channels 2024-02-14 16:00:57 +08:00
atse 04017c0008 Change confusing PID limit terminology 2024-02-14 16:00:55 +08:00
atse e0e37cb6d2 Don't plot tec_i (for hwrev v2 and below) 2024-02-14 11:31:41 +08:00
atse 0e5d7ee9fb asyncio.TimeoutError not needed 2024-02-14 11:31:41 +08:00
atse 3b13881429 Move Postfilter Rate setting to Thermostat Config 2024-02-14 11:31:41 +08:00
atse 4582a8818c Temperatures to 4 dp, not 6 sig. fig 2024-02-14 11:31:41 +08:00
atse 4c89a05e46 Update nix repos and use repo qasync and pyqtgraph
Now that they are updated, no reason to use our own.
2024-02-14 11:31:41 +08:00
atse 2deded5c1e String quotes 2024-02-14 11:31:41 +08:00
atse d4bf06e242 Fix setpoint line label to not display old values
Setpoint line still displays 0 °C sometimes!
2024-02-14 11:31:41 +08:00
atse 9797364043 anti-aliasing 2024-02-14 11:31:41 +08:00
atse f3e5bb69bf Get rid of the setpoint line out-of-range problem 2024-02-14 11:31:41 +08:00
atse 6be23451cb Comment change 2024-02-14 11:31:41 +08:00
atse 3f7d8fdbf3 Fix unicode 2024-02-14 11:31:41 +08:00
atse 938e3bd23f i_set in front of measured current 2024-02-14 11:31:41 +08:00
atse 355cb8360a Move t_line setting to method, fixes 0°C bug
The 0 °C fix is an ugly one, ideally we should only update the label
when visibility returns.
2024-02-14 11:31:41 +08:00
atse 0e02803b98 Adjust exit text 2024-02-14 11:31:41 +08:00
atse d119fd2275 Longer duration tooltip for zero limits warning 2024-02-14 11:31:41 +08:00
atse 111742b809 Connect on enter press in the connection details 2024-02-14 11:31:41 +08:00
atse 98d491203f Add exit option in connection menu 2024-02-14 11:31:41 +08:00
atse 7c1293e3d2 Number of channels generalisation 2024-02-14 11:31:41 +08:00
atse 8cd1a70f50 variable name change 2024-02-14 11:31:41 +08:00
atse 91a2cfb73e Comment 2024-02-14 11:31:41 +08:00
atse da794080c6 More general activater 2024-02-14 11:31:41 +08:00
atse d8b1e7e964 Control Method simplifcation 2024-02-14 11:31:41 +08:00
atse c56a167824 Simplify postfilter stuff 2024-02-14 11:31:41 +08:00
atse bf0cb9ef05 Improve name 2024-02-14 11:31:41 +08:00
atse d60172d7eb Set Limits Warning Fix 2024-02-14 11:31:41 +08:00
atse cb2fa36e68 No need for list now that params are all singular 2024-02-14 11:31:41 +08:00
atse 470ea9edb3 Put PID output min and max into its own section
The critical difference between this and the max_i_pos, max_i_neg pair
is that output_max and output_min can have the same sign, meaning that
it is possible that PID current can be limited to positive values only.
2024-02-14 11:31:41 +08:00
atse 99b40360c7 Remove siPrefixes for temperature units 2024-02-14 11:31:41 +08:00
atse 83c14fb2de Sync 2024-02-14 11:31:41 +08:00
atse 2e8b26eb60 Show all current values in mA
Since the max and min is known as (-3A, 3A) on the thermostat TEC ports,
there is no need to use other SI prefix units.
2024-02-14 11:31:41 +08:00
atse 5af14c26ea Limit test current 2024-02-14 11:31:41 +08:00
atse da73f537b7 Separate min and max current 2024-02-14 11:31:41 +08:00
atse b4504bcfaa Add docstring 2024-02-14 11:31:41 +08:00
atse fe6901d35f Patch to avoid floating point error of temperature
A more complete system of dealing with floating point imprecision on the
way.
2024-02-14 11:31:41 +08:00
atse 6005caf8b7 Add info boxes when loading/saving configs 2024-02-14 11:31:41 +08:00
atse 442450667b Status bar limits warning 2024-02-14 11:31:41 +08:00
atse e4d1f0133e More decimals for current too 2024-02-14 11:31:41 +08:00
atse 8fcd00292e Add the rest of the modules 2024-02-14 11:31:41 +08:00
atse cfda30f795 Switch to pyproject.toml 2024-02-14 11:31:41 +08:00
atse ae70ce7e0b Remove old GUI and update docs 2024-02-14 11:31:41 +08:00
atse 333a759d85 Increase icon resolution 2024-02-14 11:31:41 +08:00
atse 7ea9752b0f Add window icon 2024-02-14 11:31:41 +08:00