Index: dialin/common/msg_ids.py =================================================================== diff -u -r386b48cd9e28d3a3d30ddd3d87fe5da686eb5dbf -rd35f88b19a29e12c617b00bcd2b340a5ada8ffcc --- dialin/common/msg_ids.py (.../msg_ids.py) (revision 386b48cd9e28d3a3d30ddd3d87fe5da686eb5dbf) +++ dialin/common/msg_ids.py (.../msg_ids.py) (revision d35f88b19a29e12c617b00bcd2b340a5ada8ffcc) @@ -369,6 +369,7 @@ MSG_ID_HD_DIAL_IN_PUMP_HARD_STOP = 0x808F MSG_ID_HD_DIAL_OUT_PUMP_HARD_STOP = 0x8090 MSG_ID_HD_BLOOD_PUMP_HARD_STOP = 0x8091 + MSG_ID_HD_DIALIN_CHECK_IN = 0x8092 MSG_ID_DG_TESTER_LOGIN_REQUEST = 0xA000 MSG_ID_DG_ALARM_STATE_OVERRIDE = 0xA001 @@ -474,6 +475,7 @@ MSG_ID_DG_GET_TEST_CONFIGURATION = 0xA067 MSG_ID_DG_SEND_TEST_CONFIGURATION = 0xA068 MSG_ID_DG_RESET_ALL_TEST_CONFIGURATIONS = 0xA069 + MSG_ID_DG_DIALIN_CHECK_IN = 0xA06A MSG_ID_HD_DEBUG_EVENT = 0xFFF1 MSG_ID_DG_DEBUG_EVENT = 0xFFF2 Index: dialin/dg/dg_test_configs.py =================================================================== diff -u -r386b48cd9e28d3a3d30ddd3d87fe5da686eb5dbf -rd35f88b19a29e12c617b00bcd2b340a5ada8ffcc --- dialin/dg/dg_test_configs.py (.../dg_test_configs.py) (revision 386b48cd9e28d3a3d30ddd3d87fe5da686eb5dbf) +++ dialin/dg/dg_test_configs.py (.../dg_test_configs.py) (revision d35f88b19a29e12c617b00bcd2b340a5ada8ffcc) @@ -92,10 +92,9 @@ received_message = self.can_interface.send(message) - self._reset_test_configs_record() - # If there is content... if received_message is not None: + self._reset_test_configs_record() self.logger.debug("Received FW ACK after requesting DG test configuration record.") # response payload is OK or not OK return received_message['message'][DenaliMessage.PAYLOAD_START_INDEX] Index: tests/dg_nvm_scripts.py =================================================================== diff -u -r386b48cd9e28d3a3d30ddd3d87fe5da686eb5dbf -rd35f88b19a29e12c617b00bcd2b340a5ada8ffcc --- tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision 386b48cd9e28d3a3d30ddd3d87fe5da686eb5dbf) +++ tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision d35f88b19a29e12c617b00bcd2b340a5ada8ffcc) @@ -27,12 +27,12 @@ # It creates a folder called DG_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. - dg.sw_configs.cmd_get_dg_sw_config_record() + #dg.sw_configs.cmd_get_dg_sw_config_record() # Use cmd_set_dg_sw_config_record() 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 - #dg.sw_configs.cmd_update_dg_sw_config_record('/home/fw/projects/DG_NV_Records/2023-04-25-DG-SW-CONFIGS-Record.xlsx') + dg.sw_configs.cmd_update_dg_sw_config_record('/home/fw/projects/DG_NV_Records/2023-04-25-DG-SW-CONFIGS-Record.xlsx') # Use this function to reset the configuration records to all be 0 #dg.sw_configs.cmd_reset_dg_sw_config_record() Index: tests/dg_tests.py =================================================================== diff -u -r386b48cd9e28d3a3d30ddd3d87fe5da686eb5dbf -rd35f88b19a29e12c617b00bcd2b340a5ada8ffcc --- tests/dg_tests.py (.../dg_tests.py) (revision 386b48cd9e28d3a3d30ddd3d87fe5da686eb5dbf) +++ tests/dg_tests.py (.../dg_tests.py) (revision d35f88b19a29e12c617b00bcd2b340a5ada8ffcc) @@ -502,7 +502,7 @@ idle_bad_fill = '0,' #get_dg_idle_bad_fill_info() uv = get_uv_reactors_info() hd_fans = get_hd_fans_info() - hd_pressures = get_hd_occlusion_pressures_info() + hd_pressures = '0' #get_hd_occlusion_pressures_info() air_trap = get_hd_air_trap_info() var = str(datetime.now()) + ', ' + hd_run + dg_run + hd_rsrvrs + dg_rsrvrs + load_cell + drain + ro + \ @@ -678,14 +678,14 @@ dg.test_configs.cmd_set_test_config(DGTestConfigOptions.TEST_CONFIG_ENABLE_MIXING_WITH_WATER.value, reset=0) sleep(1) - + """ dg.test_configs.cmd_request_test_config_status_from_fw() while True: print(hex(dg.test_configs.cmd_get_test_config_status( DGTestConfigOptions.TEST_CONFIG_ENABLE_MIXING_WITH_WATER.value))) sleep(1) - """ + #run_heat_disinfect() #run_flush_mode()