1
0
forked from M-Labs/kirdy
Commit Graph

45 Commits

Author SHA1 Message Date
b95b9dcefa gui: Display -273.15 if thermistor is not detected
- if tec_temp == None -> Hide temp_plot graph and display -273.15 on ctrl panel
2024-07-19 18:37:52 +08:00
5e6a4c0646 gui: Do not turn on report mode for PID Autotune 2024-07-19 18:24:14 +08:00
ec5bf1d6b6 gui, ld: term_status -> term_50ohm
- term_status (Is50Ohm / Not50Ohm) -> term_50ohm (On/Off)
2024-07-19 18:10:38 +08:00
3737c2ed59 gui: increase the connection timeout value
- 0.1s is too short. Min settable sampling rate is 1.25Sps
2024-07-19 18:10:38 +08:00
db2f76771a Update Kirdy Driver Example Code 2024-07-19 18:10:08 +08:00
6f87cba9a6 drive: use aenum for cmd 2024-06-21 16:54:24 +08:00
80d94270a2 fix typo 2024-06-18 15:43:36 +08:00
456691f79f gui: import .ui file and rm auto generated py file 2024-06-17 14:49:35 +08:00
0f3db7fec5 gui: Fix typos 2024-06-17 14:49:35 +08:00
9002ca6992 gui: Fix a bug which GUI may recv two msgs at once 2024-06-17 14:49:31 +08:00
92f6b83b16 gui: Fix a bug which dfu cmd can cause connrst err
- Kirdy may close and reset itself before host computer ends its session
2024-06-17 13:16:52 +08:00
da50f372d9 gui: plot ld_pwr is zero if responsitivity not set 2024-06-17 13:16:52 +08:00
57bfd6d83c gui: Relocate LD Power limit params in ctrl panel 2024-06-17 13:16:52 +08:00
dacf9f0fa5 gui: Add pid autotune to ctrl panel 2024-06-17 13:16:52 +08:00
bfd8c0e43a pid_autotune: Update pid autotune main fn 2024-06-17 13:16:52 +08:00
3813b79623 driver: Fix IP Settings not being able to update 2024-06-17 13:16:52 +08:00
d5a620c76b pd_mon: make transconductance user-configurable
- hw change: different boards now have different gain settings in order
    to set a pd current range close to the ld being used
- transconductance and fin_gain params are added to flash with "Device"
    as key
2024-06-17 13:16:48 +08:00
f35546b070 gui: lock param tree value when user inputs a new value
- prevent user input from getting overwritten from incoming data
2024-06-11 15:03:09 +08:00
ded7dd7694 gui: add waitingspinnerwidget 2024-04-23 15:55:14 +08:00
ba30575406 GUI: Improve abnormal disconnection handling 2024-04-22 17:05:56 +08:00
bfdb1f5066 gui: move tool, save & load flash btns to menu bar
- Add a new form to update IP address
2024-04-19 15:56:48 +08:00
5b35f32a42 driver: Handle CancelledError for send_cmd handler 2024-04-19 15:56:48 +08:00
2df22d5dcb driver: Use inet_aton to check IPV4 address format 2024-04-19 15:56:48 +08:00
b73eacd234 driver: Wait for a sec after hard rst cmd is sent 2024-04-19 15:56:43 +08:00
4a06a7579f gui: handle hard reset in _on_connection_changed()
- Ensure correct gui disconnection seq during Kirdy hard reset
2024-04-19 15:56:36 +08:00
9524601cb6 gui: Improve DataWatcher operation
- Ensure there is only one instance of signal_emitter() task
- calling stop_watching should stop report_task
2024-04-19 13:25:00 +08:00
6b250aa1fd gui: Add global QT Style Sheet
- Gray out the objects if they are disabled
2024-04-18 16:45:35 +08:00
de80aedafc gui: separate connection_menu into Qdiag obj 2024-04-11 16:58:48 +08:00
31a97bdeb4 gui: GUI Initial Commit
- Adapted from Thermostat GUI PR #101
2024-04-11 16:33:35 +08:00
784b8a357b driver: Update send_cmd fn to use msg_type params 2024-04-10 16:57:43 +08:00
ae74455f94 driver: Separate setting pd_config into two fns 2024-04-10 16:56:20 +08:00
6bccbceb81 main: Add a state to only save network settings 2024-04-10 16:56:20 +08:00
eaebdb390d cmd_handler: change mW to W in SetLdPwrLimit cmd 2024-04-10 16:56:20 +08:00
4288d465c9 thermostat: Report temp_setpoint in degree celsius 2024-04-10 16:56:20 +08:00
09863353cd driver: Add lock for tcp writer & reader stream 2024-04-10 16:56:20 +08:00
6d107d55cf driver: Add StoppedConnecting exception 2024-04-10 16:56:20 +08:00
898358f4e6 pykirdy: Add reporting interval in report_mode 2024-03-25 15:43:20 +08:00
a13c6fa86c pykirdy: Update handling of json objects received
- Accept new line delimited json in read_response()
2024-03-25 15:43:20 +08:00
7f06fc06fd async driver: fix incorrect timeout handling 2024-03-20 15:35:12 +08:00
e525a3f354 fix typo 2024-03-20 12:06:05 +08:00
048245f674 set_tec_max_i_pos/neg->...cooling_i/heating_i 2024-03-19 14:52:26 +08:00
c06491a8b2 Update PID Autotune Code 2024-03-18 15:55:05 +08:00
0380c8d30b Unify naming and unit in firmware and driver
- mA, uA -> A
- K -> Degree Celsius
- tec -> thermostat
2024-03-18 15:55:05 +08:00
ed5cda6364 Correct wrong comment in driver 2024-03-18 15:54:25 +08:00
61624b0bd6 Implement Kirdy AsyncIo Driver and example code 2024-03-15 17:14:22 +08:00