hdfirmware

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
If we get interrupted by an alarm, how will these vars get reset?

If we get interrupted by an alarm, how will these vars get reset?

I don't think we can just shift into reverse here. I think I had last SRS written in a way that we would go tack to the dialysate pumps off state to ramp down again before moving to reprime state.

I don't think we can just shift into reverse here. I think I had last SRS written in a way that we would go tack to the dialysate pumps off state to ramp down again before moving to reprime state.

I suppose that could work.

I suppose that could work.

Switching valves to dialyzer with DPo stopped initially will be a shock and temporarily send a lot of dialysate to the patient while DPo ramps up. So I think DPi should be hard stopped first and th...

Switching valves to dialyzer with DPo stopped initially will be a shock and temporarily send a lot of dialysate to the patient while DPo ramps up. So I think DPi should be hard stopped first and then start both DPi and DPo at fast purge rate together.

The timer should have been 5 minutes, my mistake. The purpose is to prevent repeated triggering of the reprime after the 5 minute before treatment reprime is done, as you pointed out. If I change t...

The timer should have been 5 minutes, my mistake. The purpose is to prevent repeated triggering of the reprime after the 5 minute before treatment reprime is done, as you pointed out. If I change the 5 hours to 5 minutes, is that OK?

Recommend removing this else if and just commanding pumps to zero when transitioning to reprime state.

Recommend removing this else if and just commanding pumps to zero when transitioning to reprime state.

Timer counter is reset in both cases so should be done once before or after the in progress condition is checked.

Timer counter is reset in both cases so should be done once before or after the in progress condition is checked.

Need to command dialysate pumps to zero flow rate so they start ramping down.

Need to command dialysate pumps to zero flow rate so they start ramping down.

This check to see if it's time to do reprime should be moved to the handler for dialysis: ultrafiltration state (function just below this one) - because we would not want to start a reprime in the ...

This check to see if it's time to do reprime should be moved to the handler for dialysis: ultrafiltration state (function just below this one) - because we would not want to start a reprime in the middle of a saline bolus or a reprime and because we should only be incrementing the timer counter during actual treatment (when treatment time is not paused).

I don't understand what the timer > 5 hours is doing here. Timer counter should never get bigger than 30 minutes (resets to zero after reprime completes), so would never get to 5 hours anyway. I th...

I don't understand what the timer > 5 hours is doing here. Timer counter should never get bigger than 30 minutes (resets to zero after reprime completes), so would never get to 5 hours anyway.
I think we just do reprime if 30 min interval OR 5 minutes remaining in treatment. And once we do the reprime for 5 min before end of treatment, we need some way to not do it again (i.e. if we just say time remaining <= 5 minutes, we will keep doing reprimes over and over again for the last 5 minutes).

Comment doesn't match const name. This is essentially 5 hours. Why are we repriming after 5 hours? We have a #define below that seems to be better suited for the reprime 5 minutes before end of tre...

Comment doesn't match const name.
This is essentially 5 hours. Why are we repriming after 5 hours?
We have a #define below that seems to be better suited for the reprime 5 minutes before end of treatment. So why do we need this const?

Do we need something similar to this for dialyzer reprime?

Do we need something similar to this for dialyzer reprime?

Maybe state durations instead of function delays.

Maybe state durations instead of function delays.

I think the rest of these are durations, not intervals.

I think the rest of these are durations, not intervals.

Based on your comment in Teams: @ Qd = 450 in your data set... ~8 seconds spent between drain and fill that suggests maybe our just-in-time is a bit off - maybe should have started fill immediately.

Based on your comment in Teams:
@ Qd = 450 in your data set... ~8 seconds spent between drain and fill that suggests maybe our just-in-time is a bit off - maybe should have started fill immediately.

Updated.

Updated.

Did Blaine ask for this?

Did Blaine ask for this?

Indent for reddability?

Indent for reddability?

Don't see timeReservoirInUF being used?

Don't see timeReservoirInUF being used?

HD-DEN-14918_Pba Pbo And OB Not Available ON Debug Screen
HD-DEN-14918_Pba Pbo And OB Not Available ON Debug Screen
Isn't deleted statement correct?

Isn't deleted statement correct?

Isn't deleted statement correct?

Isn't deleted statement correct?

Isn't deleted statement correct?

Isn't deleted statement correct?

Isn't delete statement correct?

Isn't delete statement correct?

I think that's true in calls to serialize function, but I don't think this function wants this kind of flag (i.e. it's not looking for whether to require ACK or not - it wants to know if we are ACK...

I think that's true in calls to serialize function, but I don't think this function wants this kind of flag (i.e. it's not looking for whether to require ACK or not - it wants to know if we are ACKing (TRUE) or NAKing (FALSE) this command). Here, we are NAKing the command, so FALSE was appropriate.

Has DG check-in msg ID been made available for re-purpose? RESOLVED in CODE WALKTHROUGH.

Has DG check-in msg ID been made available for re-purpose?
RESOLVED in CODE WALKTHROUGH.

DG no longer sends this message. We determine DG check-in by receiving the DG op mode command.

DG no longer sends this message. We determine DG check-in by receiving the DG op mode command.

HD-DEN-14888_Unable TO Trigger Alarm 47 Ultrafiltration Rate IS Too High Error During Treatment
HD-DEN-14888_Unable TO Trigger Alarm 47 Ultrafiltration Rate IS Too High Error During Treatment