BalancingChamber.c

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
right now pre and post are same. make a TODO to update post later

right now pre and post are same. make a TODO to update post later

its mixing control interval

its mixing control interval

could you document th math behind the calculation also

could you document th math behind the calculation also

What is 4 (or 2)? Should be #define or enum or const.

What is 4 (or 2)? Should be #define or enum or const.

updated

updated

balancingError is an input.

balancingError is an input.

Add previousHeaterState to input and output

Add previousHeaterState to input and output

add prevDryBicartState to input and output.

add prevDryBicartState to input and output.

Add prevBalChamberState to input and output

Add prevBalChamberState to input and output

Add isBalChamberSwitchingActive to input

Add isBalChamberSwitchingActive to input

yes

yes

yes

yes

yes

yes

Align it with declration.

Align it with declration.

Add comments.

Add comments.

Same as above.

Same as above.

Add an event here, when time out happens. Event data should capture fresh side and spent side fill completion status.

Add an event here, when time out happens. Event data should capture fresh side and spent side fill completion status.

You may need to comment/ remove this condition. the pressure stabilized flag should set only when pressure is met (not on chamber fill request)

You may need to comment/ remove this condition. the pressure stabilized flag should set only when pressure is met (not on chamber fill request)

LEAHI-DD-FIRMWARE-LDT-4612_Dialysate Composition (Dry Bicarbonate) - FW Iteration - 4/1:
LEAHI-DD-FIRMWARE-LDT-4612_Dialysate Composition (Dry Bicarbonate) - FW Iteration - 4/1:
it shouldn't be the default value

it shouldn't be the default value

Space after if.

Space after if.

Can we bring depressurize as well one of the states like fill, supply and drain? And the same way when one of the operations initiated and other should not kick in.

Can we bring depressurize as well one of the states like fill, supply and drain? And the same way when one of the operations initiated and other should not kick in.