Index: dialin/hd/institutional_record.py =================================================================== diff -u -r358ec45f9bef2d8dc1bfa6d7ab621a61c5ae67e3 -r31024d0844469fb417ce0d319eb8fbdbe915232c --- dialin/hd/institutional_record.py (.../institutional_record.py) (revision 358ec45f9bef2d8dc1bfa6d7ab621a61c5ae67e3) +++ dialin/hd/institutional_record.py (.../institutional_record.py) (revision 31024d0844469fb417ce0d319eb8fbdbe915232c) @@ -242,8 +242,11 @@ transfer_status = received_message['message'][6] if transfer_status == 1: - self.logger.debug("Finished sending HD institutional record.") + self.logger.debug("HD institutional record was set successfully!") return True + else: + self.logger.debug("HD institutional record was not set. Please make sure the ranges are Ok.") + return False def _prepare_hd_institutional_record(self): """ Index: tests/dg_tests.py =================================================================== diff -u -r32e628abcbbd3fd70866505d9f2836a6f732ef06 -r31024d0844469fb417ce0d319eb8fbdbe915232c --- tests/dg_tests.py (.../dg_tests.py) (revision 32e628abcbbd3fd70866505d9f2836a6f732ef06) +++ tests/dg_tests.py (.../dg_tests.py) (revision 31024d0844469fb417ce0d319eb8fbdbe915232c) @@ -777,9 +777,5 @@ # print(hd.alarms.get_alarm_state(286), hd.alarms.get_alarm_state(289), dg.alarms.get_alarm_state(286), # dg.alarms.get_alarm_state(289)) # sleep(0.5) - hd.blood_leak.cmd_blood_leak_set_embedded_mode_command(EmbModeCommands.D.value) - - while True: - print(hd.blood_leak.blood_leak_emb_mode_cmds[EmbModeCommands.D.name]) - sleep(0.2) + hd.test_configs.cmd_set_test_config(HDTestConfigOptions.TEST_CONFIG_SKIP_DISINFECT_AND_SERVICE_TX_BLOCKERS.value) \ No newline at end of file Index: tests/hd_nvm_scripts.py =================================================================== diff -u -r9192a00f5054666725049057dc55f965a416ef63 -r31024d0844469fb417ce0d319eb8fbdbe915232c --- tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 9192a00f5054666725049057dc55f965a416ef63) +++ tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 31024d0844469fb417ce0d319eb8fbdbe915232c) @@ -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/2023-08-26-HD-Record.xlsx') + hd.calibration_record.cmd_set_hd_calibration_excel_to_fw('/home/fw/projects/HD_NV_Records/2024-02-27-HD-Record.xlsx') # For resetting the calibration record to benign values, use the function below #hd.calibration_record.cmd_reset_hd_calibration_record() @@ -69,9 +69,9 @@ # 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. - hd.system_record.cmd_get_hd_system_record_report() + #hd.system_record.cmd_get_hd_system_record_report() - #hd.system_record.cmd_set_hd_system_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2023-08-25-HD-Record.xlsx') + hd.system_record.cmd_set_hd_system_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2024-02-27-HD-Record.xlsx') # For resetting the system record to benign values, use the function below #hd.system_record.cmd_reset_hd_system_record() @@ -100,18 +100,18 @@ # 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. - hd.service_record.cmd_get_hd_service_record() + #hd.service_record.cmd_get_hd_service_record() - #hd.service_record.cmd_set_hd_service_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2023-10-23-HD-Record.xlsx') + hd.service_record.cmd_set_hd_service_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2024-02-27-HD-Record.xlsx') #hd.service_record.cmd_reset_hd_service_record() def run_institutional_commands(): # Comment and un-comment any of the functions that you would like to use or you can use your own scripts. - hd.institutional_record.cmd_get_hd_institutional_record() + #hd.institutional_record.cmd_get_hd_institutional_record() - #hd.institutional_record.cmd_set_hd_institutional_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2024-02-26-HD-Record.xlsx') + hd.institutional_record.cmd_set_hd_institutional_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2024-02-27-HD-Record.xlsx') #hd.institutional_record.cmd_reset_hd_institutional_record()