Index: tests/hd_nvm_scripts.py =================================================================== diff -u -r1c5dbffa6b205c14f92e05badc563f2a84980bfa -r4b04e9c162a0bfb7e603e22fa0681c8ed963ddf2 --- tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 1c5dbffa6b205c14f92e05badc563f2a84980bfa) +++ tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 4b04e9c162a0bfb7e603e22fa0681c8ed963ddf2) @@ -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() +