Index: tests/hd_nvm_scripts.py =================================================================== diff -u -rd759d3a2a1aed849da9ad9153f268eb9f8b1f6f6 -r00fd6a0c7ad806801fc0d0c08f6e02b4591a6757 --- tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision d759d3a2a1aed849da9ad9153f268eb9f8b1f6f6) +++ tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 00fd6a0c7ad806801fc0d0c08f6e02b4591a6757) @@ -61,15 +61,33 @@ hd.calibration_record.cmd_reset_hd_calibration_record() +def run_system_commands(): + # Comment and un-comment any of the functions that you would like to use or you can use your own scripts. + + # Use cmd_get_dg_system_record_report() to get the system record in an excel + # This function gets an address to locate the report there (i.e. /home/fw/projects/) + # 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. + hd.system_record.get_hd_system_record() + + #hd.system_record.cmd_set_hd_system_record('home/fw/projects/DG_NV_Records/2022-09-06-DG-Record.xlsx') + + # For resetting the system record to benign values, use the function below + #hd.system_record.cmd_reset_hd_system_record() + + if __name__ == "__main__": hd = HD(log_level="DEBUG") 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() + run_system_commands() +