Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting rid of duplicate ccs bugfix branches #50

Merged
merged 18 commits into from
Jan 23, 2025

Conversation

mark11778
Copy link
Contributor

my bad, merging the two together

mslaffin and others added 18 commits January 2, 2025 14:45
* automatic directory creation

* dummy ports now available alongside real COM ports

* define SUBSYSTEMS as module-level constant

* cosmetics and docstrings
* change indicator circle to bright green

* omit erroneous logging call after closing log file

* add OFF message before closing file

* adjust vtrx plot limit
* TODO note

* replace png indicators with canvas circles and standardize labels

* fix pressure plot x-axis time formatting

* indentation

* docstrings. adjust indicator coloring

* add exception handling
* default to maximized window

* add five keyboard shortcuts

* bind Ctrl-s to export log

* add shortcut help window - F1

* tweak dimension

* clean up tab contents

* wording
* resize labels proportionally with the frame

* spacing and resize method

* Add PNG export feature for pressure plot

* remove unused MAX_POINTS

* add/update docstrings

* font resize and bind to parent

* add pressure plot time window selection dropdown

* additional time options. remove reset button

* add 10 hour pressure history tracking

* frontend updates

* adjust colors
* make logging indicator appearance consistent with other elements

* add table for keyboard shortcuts

* starting point for VTRX subsystem readme
* lengthen MAX_HISTORY_SECONDS to 1 week

* time window note
* add more debug logging calls for visibility during testing

* sensor error too aggressive. Only indicate unit error after three consecutive failed readings

* adjust minimum temp scale limit. Tone back error classification

* quiet down logging

* increase missed package tolerance and clean up logs

* updated initialization flowchart

* updated update_temperature callback flowchart

* working on read me for the process_monitor.py

* small changes, same as above commit ^

* fixed typos in process_monitor.py readme and added imports to DP16 driver readme

* release modbus_lock between units and maintain BASE_DELAY

* add poll_all_units flowchart to README

* add DP16ProcessMonitor driver init flowchart to README

* more small changes to the Readme documentation

* reduce connection state check frequency

* each unit operation now fully atomic, buffer clearing before each unit read. Simplify error paths

* add disconnection check

* increase inter-unit poll delay

* remove blue coloring

* re-enable error counting

* consolidate exception handling, reduce Modbus timeout

* enforce rate limiting for critical polling error

* spelling

* remove hard fail for bad STATUS_RUNNING

* fix status registers typo

* add helper method to distinguish ModbusIOExceptions

* remove redundant try-block

* unify error handling with minor vs. major threshold

* fix constant syntax

* remove problematic DISCONNECTED state assignment

---------

Co-authored-by: Mark Ruzicka <[email protected]>
@mark11778 mark11778 merged commit 2f153a6 into bugfix/CCS-misc-fix Jan 23, 2025
@mark11778 mark11778 deleted the bugfix/degree branch January 25, 2025 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants