Index: tests/hd_nvm_scripts.py =================================================================== diff -u -r32e628abcbbd3fd70866505d9f2836a6f732ef06 -r9192a00f5054666725049057dc55f965a416ef63 --- tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 32e628abcbbd3fd70866505d9f2836a6f732ef06) +++ tests/hd_nvm_scripts.py (.../hd_nvm_scripts.py) (revision 9192a00f5054666725049057dc55f965a416ef63) @@ -69,9 +69,9 @@ # 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 your computer. - #hd.system_record.cmd_get_hd_system_record_report() + hd.system_record.cmd_get_hd_system_record_report() - hd.system_record.cmd_set_hd_system_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2023-08-25-HD-Record.xlsx') + #hd.system_record.cmd_set_hd_system_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2023-08-25-HD-Record.xlsx') # For resetting the system record to benign values, use the function below #hd.system_record.cmd_reset_hd_system_record() @@ -100,13 +100,22 @@ # 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 your computer. - #hd.service_record.cmd_get_hd_service_record() + hd.service_record.cmd_get_hd_service_record() - hd.service_record.cmd_set_hd_service_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2023-10-23-HD-Record.xlsx') + #hd.service_record.cmd_set_hd_service_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2023-10-23-HD-Record.xlsx') #hd.service_record.cmd_reset_hd_service_record() +def run_institutional_commands(): + # Comment and un-comment any of the functions that you would like to use or you can use your own scripts. + hd.institutional_record.cmd_get_hd_institutional_record() + + #hd.institutional_record.cmd_set_hd_institutional_record_excel_to_fw('/home/fw/projects/HD_NV_Records/2024-02-26-HD-Record.xlsx') + + #hd.institutional_record.cmd_reset_hd_institutional_record() + + if __name__ == "__main__": hd = HD(log_level="DEBUG") @@ -123,6 +132,8 @@ #run_usage_info_commands() - run_service_commands() + #run_service_commands() + run_institutional_commands() +