Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'LDT-4874' into develop

  1. … 31 more files in changeset.
Changed handler debug to contain raw message and timestamp of recv

  1. … 34 more files in changeset.
Merge branch 'LDT-4874' into develop

  1. … 31 more files in changeset.
Merge branch 'staging' into LDT-4874

    • -59
    • +31
    ./modules/conductivity_sensors.py
  1. … 1 more file in changeset.
LDT-4874: updates to td handlers for timing

  1. … 17 more files in changeset.
LDT-4874: updates to timing for handlers

  1. … 11 more files in changeset.
Zoltan and I had a meeting, and the counter solution he provided works better than mine. He explained to me that my proposed solution has flaws. RESOLVED.

Zoltan and I had a meeting, and the counter solution he provided works better than mine.
He explained to me that my proposed solution has flaws.
RESOLVED.

time measurement

Merge branch 'staging' into develop

  1. … 1 more file in changeset.
LEAHI-DIALIN-LDT-4874_Invalid values interrupt script
LEAHI-DIALIN-LDT-4874_Invalid values interrupt script
removed uf exec attribute

LEAHI-DIALIN-LDT-4614_Dialysate Composition (Dry Bicarbonate) - FW Implementation - 5/1:
LEAHI-DIALIN-LDT-4614_Dialysate Composition (Dry Bicarbonate) - FW Implementation - 5/1:
The approach of what this code does and the conversion module are similar in function but a differ on maintenance and flexibility. 1. The conversion module's bytearray to value methods work, but th...

The approach of what this code does and the conversion module are similar in function but a differ on maintenance and flexibility.
1. The conversion module's bytearray to value methods work, but they require manual logistic around the indexing. It's the user's responsibility to handle where the reading starts and you need to code the handler for that (previous approach with MsgFieldPositions), It's inflating the method. I worked hard to remove the need for indexing where the value starts. Instead of the previous struct.unpack approach, where you needed to maintain the type, you will be needing to maintain the conversion methods that are being called, so it would be the same as before, you still need to mind the indexing, which was the main reason of changing from this approach.

2. In the current approach, you declare the type and pass it to a processor that dynamically handling the unpack type (based on the set datatype) and the indexing for that. This works much better and easier to maintain, as you can just insert a new value when it's added to the FW, and don't need to adjust all your indexes for the reading.

Example #1, changing build type from U16 to U08:

  • with the conversion approach, you need to change the function used, and update the starting index for all the following methods.
  • with the current approach you change the Datatype.U16 to Datatype.U08 and that's all you need to do.


Example #2: adding a new variable fpga_micro after fpga_minor, with U08 type:

  • with the conversion approach, you add the bytearray_to_byte, update the indexes for all the following reads.
  • with the current approach you insert an element after the fpga_minor with a value ('fpga_micro', Datatype.U08), and nothing more needed
fixed. thanks!

fixed. thanks!

fixed. thanks

fixed. thanks

LDT-4734: code review comments

  1. … 1 more file in changeset.
Add uncompensated conductivity to the init too

Add uncompensated conductivity to the init too

Add uncompensated conductivity to the init too

Add uncompensated conductivity to the init too

LDT-4734: updates to conductivity message

  1. … 2 more files in changeset.
RESOLVED for now.

RESOLVED for now.

I would not do that because the function names and messages for each project should be different to avoid confusion. I think that is fine for now. RESOLVED.

I would not do that because the function names and messages for each project should be different to avoid confusion.
I think that is fine for now.

RESOLVED.