Open DeeEmm opened 3 years ago
Removed status message reporting from API - API now only returns status via Serial link. It made no sense to have API triggering messages on the Web-UI.
Added a 'boot message'. This is the default value used for the System Status Message and will be visible in the WebUI on initial power-up. This both initialises the Message field and gives users something to tweak. BOOT_MESSAGE is defined within the configuration header file (configuration.h)
Need to determine what message are displayed to the user via the WebUI.
Need to determine what clears down error messages
API Status messages were being reported to the GUI status field. This was also related to #97 where the status message was incorrectly being sent by debug.print method
Moved API status messages out of global scope and changed to serial.print method.
Message: 'Flow limit reached'
Description: 'Test object flow exceeds Vac source capability'
Need to display to user when measured flow approaches maximum flow capability of vac source.
Also need to include config setting to set threshold Also need to be able to calibrate this value i.e. record flow with no test piece
General status messages reviewed updated and functional.
Flow capacity warning described above not currently implemented.
Some further thoughts on this...
Bench limits can be determined by testing the reference depression. If depression cannot be maintained when increasing flow requirements the bench has reached it's limit. This can be used to determine the flow limit for the bench.
There's essentially two ways I can see this working
Basically if the reference depression cannot be maintained for a given flow rate, then test piece is outflowing the vac source.
There are two ways to set this up:
Option 2 is more flexible but requires integrated vac speed control. Option 1 will work for any setup but requires that the user sets up the initial flow limit.
Additionally. To determine absolute bench limits
With vac source at 100% Gradually decrease test orifice size until desired depression is reached The resultant flow value is the max flow the bench can measure (for the given depression / enviro conditions)
Need to tidy up error and status message handling