Index: dialin/hd/sw_config.py =================================================================== diff -u -r7c47b3d1b3c4b685999c0f0a8b402b692391d633 -r8aae8b70709a9b55fd69c9621d4f1ff7e928e3c2 --- dialin/hd/sw_config.py (.../sw_config.py) (revision 7c47b3d1b3c4b685999c0f0a8b402b692391d633) +++ dialin/hd/sw_config.py (.../sw_config.py) (revision 8aae8b70709a9b55fd69c9621d4f1ff7e928e3c2) @@ -33,19 +33,21 @@ SW_CONFIG_DISABLE_VENOUS_PRESSURE_CHECK = 13 SW_CONFIG_DISABLE_DIALYSATE_TEMP_CHECK = 14 SW_CONFIG_DISABLE_CALIBRATION_CHECK = 15 - SW_CONFIG_DISABLE_ALARMS_DEBUG = 16 - SW_CONFIG_ENABLE_ALARM_VOLUME_DEFAULT_LOW = 17 - SW_CONFIG_DISABLE_BATTERY_COMMUNICATION = 18 - SW_CONFIG_DISABLE_AIR_BUBBLE_CHECK = 19 - SW_CONFIG_DISABLE_OCCLUSION_SELF_TEST = 20 - SW_CONFIG_DISABLE_BLOOD_LEAK_SELF_TEST = 21 - SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM = 22 - SW_CONFIG_DISABLE_UI_INTERACTION = 23 - SW_CONFIG_DISABLE_SAMPLE_WATER = 24 - SW_CONFIG_DISABLE_CONSUMABLES_TESTS = 25 - SW_CONFIG_DISABLE_DRY_SELF_TESTS = 26 - SW_CONFIG_DISABLE_PRIMING = 27 - SW_CONFIG_DISABLE_WET_SELF_TEST = 28 + SW_CONFIG_ENABLE_ALARM_VOLUME_DEFAULT_LOW = 16 + SW_CONFIG_DISABLE_ILLEGAL_AIR_TRAP_ALARM = 17 + SW_CONFIG_DISABLE_SELF_TESTS_AIR_BUBBLE_CHECK = 18 + SW_CONFIG_DISABLE_OCCLUSION_SELF_TEST = 19 + SW_CONFIG_DISABLE_BLOOD_LEAK_SELF_TEST = 20 + SW_CONFIG_DISABLE_BLOOD_LEAK_ALARM = 21 + SW_CONFIG_DISABLE_UI_INTERACTION = 22 + SW_CONFIG_DISABLE_SAMPLE_WATER = 23 + SW_CONFIG_DISABLE_CONSUMABLES_TESTS = 24 + SW_CONFIG_DISABLE_DRY_SELF_TESTS = 25 + SW_CONFIG_DISABLE_PRIMING = 26 + SW_CONFIG_DISABLE_WET_SELF_TEST = 27 + SW_CONFIG_ENABLE_DVT_ARTERIAL_PRESSURE_SENSOR = 28 + SW_CONFIG_DISABLE_ULTRAFILTRATION_ALARMS = 29 + SW_CONFIG_DISABLE_BUBBLE_ALARMS = 30 class HDSoftwareConfigs(AbstractSubSystem): @@ -291,7 +293,7 @@ address and writes the excel report. @return: none - """ + """ # Create the excel report self._utilities.prepare_excel_report(self._FIRMWARE_STACK_NAME, self._NON_VOLATILE_RECORD_NAME, report_address, protect_sheet=True) Index: dialin/utils/nv_ops_utils.py =================================================================== diff -u -r7c47b3d1b3c4b685999c0f0a8b402b692391d633 -r8aae8b70709a9b55fd69c9621d4f1ff7e928e3c2 --- dialin/utils/nv_ops_utils.py (.../nv_ops_utils.py) (revision 7c47b3d1b3c4b685999c0f0a8b402b692391d633) +++ dialin/utils/nv_ops_utils.py (.../nv_ops_utils.py) (revision 8aae8b70709a9b55fd69c9621d4f1ff7e928e3c2) @@ -905,6 +905,7 @@ write_to_excel(self._excel_workbook, self._record_name, row, names_col_number, key, bold=True, protect_cell=True) + # Get the configuration value config_value = values[1] # If the config value is not 0, color the cell as green otherwise, leave it none colored Index: tests/hd_nvm_scripts.py =================================================================== diff -u -r7c47b3d1b3c4b685999c0f0a8b402b692391d633 -r8aae8b70709a9b55fd69c9621d4f1ff7e928e3c2 --- tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 7c47b3d1b3c4b685999c0f0a8b402b692391d633) +++ tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 8aae8b70709a9b55fd69c9621d4f1ff7e928e3c2) @@ -21,8 +21,8 @@ # Use cmd_update_hd_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 - hd.sw_configs.cmd_update_hd_sw_config_record('/home/fw/projects/HD_NV_Records/2022-02-10-HD-SW-CONFIGS-Record.xlsx') + #hd.sw_configs.cmd_update_hd_sw_config_record('/home/fw/projects/HD_NV_Records/2022-02-10-HD-SW-CONFIGS-Record.xlsx') # Use this function to reset the configuration records to all be 0 - hd.sw_configs.cmd_reset_hd_sw_config_record() + #hd.sw_configs.cmd_reset_hd_sw_config_record()