Index: dialin/hd/blood_leak.py =================================================================== diff -u -r32e628abcbbd3fd70866505d9f2836a6f732ef06 -r2de7a22cffb2f208f930e5972f023d105f0b4119 --- dialin/hd/blood_leak.py (.../blood_leak.py) (revision 32e628abcbbd3fd70866505d9f2836a6f732ef06) +++ dialin/hd/blood_leak.py (.../blood_leak.py) (revision 2de7a22cffb2f208f930e5972f023d105f0b4119) @@ -92,6 +92,8 @@ self.blood_leak_emb_mode_cmds = dict() self.blood_leak_error_persistent_ctr = 0 self.blood_leak_serial_comm_state = 0 + self.blood_leak_intensity = 0 + self.blood_leak_blood_detect = 0 for cmd in EmbModeCommands.__members__: # Initialize all the embedded mode commands @@ -146,6 +148,10 @@ message['message'][MsgFieldPositions.START_POS_FIELD_3:MsgFieldPositions.END_POS_FIELD_3]))[0] self.blood_leak_serial_comm_state = struct.unpack('i', bytearray( message['message'][MsgFieldPositions.START_POS_FIELD_4:MsgFieldPositions.END_POS_FIELD_4]))[0] + self.blood_leak_intensity = struct.unpack('i', bytearray( + message['message'][MsgFieldPositions.START_POS_FIELD_5:MsgFieldPositions.END_POS_FIELD_5]))[0] + self.blood_leak_blood_detect = struct.unpack('i', bytearray( + message['message'][MsgFieldPositions.START_POS_FIELD_6:MsgFieldPositions.END_POS_FIELD_6]))[0] self.hd_blood_leak_status_timestamp = timestamp def cmd_blood_leak_detector_override(self, detected: int, reset=NO_RESET): Index: tests/dg_tests.py =================================================================== diff -u -rcdc433c39580475307d2cfa0b3ccef7873c630f4 -r2de7a22cffb2f208f930e5972f023d105f0b4119 --- tests/dg_tests.py (.../dg_tests.py) (revision cdc433c39580475307d2cfa0b3ccef7873c630f4) +++ tests/dg_tests.py (.../dg_tests.py) (revision 2de7a22cffb2f208f930e5972f023d105f0b4119) @@ -736,7 +736,7 @@ #run_test_configs() - run_heat_disinfect() + #run_heat_disinfect() #run_flush_mode() @@ -785,4 +785,4 @@ # sleep(0.5) #hd.test_configs.cmd_set_test_config(HDTestConfigOptions.TEST_CONFIG_SKIP_DISINFECT_AND_SERVICE_TX_BLOCKERS.value) #dg.cmd_dg_set_operation_mode(3) - #hd.cmd_hd_set_operation_mode(1) + hd.cmd_hd_set_operation_mode(1) Index: tests/hd_nvm_scripts.py =================================================================== diff -u -r902a65965ca2f97fbb0186fdc01f9613b4f5076f -r2de7a22cffb2f208f930e5972f023d105f0b4119 --- tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 902a65965ca2f97fbb0186fdc01f9613b4f5076f) +++ tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 2de7a22cffb2f208f930e5972f023d105f0b4119) @@ -50,12 +50,12 @@ # It creates a folder called HD_NV_Records in the destination that is called # If no address is provided, the default location is one folder above the dialin folder wherever it is installed # in your computer. - hd.calibration_record.cmd_get_hd_calibration_record_report() + #hd.calibration_record.cmd_get_hd_calibration_record_report() # Use cmd_set_hd_calibration_excel_to_fw() set the changes back to firmware # This function requires an address for the excel report. Use the absolute address of your excel report like the # example below - #hd.calibration_record.cmd_set_hd_calibration_excel_to_fw('/home/fw/projects/HD_NV_Records/2024-02-27-HD-Record.xlsx') + hd.calibration_record.cmd_set_hd_calibration_excel_to_fw('/home/fw/projects/HD_NV_Records/DVT-16-2024-07-15-HD-Record.xlsx') # For resetting the calibration record to benign values, use the function below #hd.calibration_record.cmd_reset_hd_calibration_record() @@ -126,14 +126,14 @@ #run_sw_configs_commands() # Comment this function if not needed - #run_calibration_commands() + run_calibration_commands() #run_system_commands() #run_usage_info_commands() #run_service_commands() - run_institutional_commands() + #run_institutional_commands()