Index: tests/hd_nvm_scripts.py =================================================================== diff -u -r818d439ae9c03d90902013ae07872e4e58f52890 -r0c84db7884e7943ab5a57044a4670f1595ee60df --- tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 818d439ae9c03d90902013ae07872e4e58f52890) +++ tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 0c84db7884e7943ab5a57044a4670f1595ee60df) @@ -14,6 +14,7 @@ # ############################################################################ from dialin import HD +from time import sleep def run_sw_configs_commands(): @@ -32,10 +33,10 @@ # 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-03-09-HD-SW-CONFIGS-Record_EP_File.xlsx') + hd.sw_configs.cmd_update_hd_sw_config_record('/home/fw/projects/HD_NV_Records/2022-04-25-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() def run_calibration_commands(): @@ -54,10 +55,10 @@ # 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/2022-02-21-HD-Record.xlsx') + hd.calibration_record.cmd_set_hd_calibration_excel_to_fw('/home/fw/projects/HD_NV_Records/2022-05-17-HD-Record.xlsx') # For resetting the calibration record to benign values, use the function below - hd.calibration_record.cmd_reset_hd_calibration_record() + #hd.calibration_record.cmd_reset_hd_calibration_record() if __name__ == "__main__": @@ -67,7 +68,12 @@ if hd.cmd_log_in_to_hd(): # Comment this function if not needed - run_sw_configs_commands() + #run_sw_configs_commands() # Comment this function if not needed #run_calibration_commands() + + hd.system_record.cmd_request_hd_system_record() + sleep(1) + print(hd.system_record.get_hd_system_record()) +