Index: tests/dg_nvm_scripts.py =================================================================== diff -u -ra7253ef8e885d542d22539cd1e4c608f7ce63eb5 -ra0a21a6b708f437875f8af1dc3e813e3342af449 --- tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision a7253ef8e885d542d22539cd1e4c608f7ce63eb5) +++ tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision a0a21a6b708f437875f8af1dc3e813e3342af449) @@ -14,6 +14,7 @@ # ############################################################################ from dialin import DG +from time import sleep def run_sw_configs_commands(): @@ -49,12 +50,13 @@ # 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 you computer. - #dg.calibration_record.cmd_get_dg_calibration_record_report() + # '/home/fw/projects/testCalRemove' + dg.calibration_record.cmd_get_dg_calibration_record_report() # Use cmd_set_dg_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 - dg.calibration_record.cmd_set_dg_calibration_excel_to_fw('/home/fw/projects/DG_NV_Records/2024-03-02-DG-Record.xlsx') + #dg.calibration_record.cmd_set_dg_calibration_excel_to_fw('/home/fw/projects/DG_NV_Records/2025-02-05-DG-Record.xlsx') # For resetting the calibration record to benign values, use the function below #dg.calibration_record.cmd_reset_dg_calibration_record() @@ -110,6 +112,9 @@ dg = DG(log_level="DEBUG") + dg.cmd_dg_set_operation_mode(1) + sleep(0.5) + if dg.cmd_log_in_to_dg(): #run_sw_configs_commands()