The valves were not correct. It should be back to the previous state when the BP is off. The pressure should be back with in 5 mmHg with the first pressure measurements before we run BP. Added 2 seconds time out for pressure to be normalized.
Is use of fabs() here appropriate? Do we really not care which pressure is larger? It looks like previous readings are with VBA/VBV closed and BP off while current readings are with BP on and valves open.
If FW responds back saying either arterial or venous pressure limit ranges are invalid, the user corrects them, and then we proceed, without doing anything upon validation success the pressure limits would still show up as invalid the next time the user enters the create treatment screen.
Please refer to the general comment I put, These codes are not maintained by UI.
The only files that were involved in these changesets are:
dialin/ui/hd_simulator.py dialin/common/msg_defs.py dialin/squish/denaliMessages.py And all the other files are merged from master and other branches which were merged into master.