Index: dialin/dg/calibration_record.py =================================================================== diff -u -ree278f5a643613b8e7acbc44c3e70ead692cd0f0 -r3e0a859c326e8d99732e055a6ec42fab4ebbba3a --- dialin/dg/calibration_record.py (.../calibration_record.py) (revision ee278f5a643613b8e7acbc44c3e70ead692cd0f0) +++ dialin/dg/calibration_record.py (.../calibration_record.py) (revision 3e0a859c326e8d99732e055a6ec42fab4ebbba3a) @@ -196,7 +196,14 @@ self.logger.debug("Received a complete dg calibration record.") def cmd_set_dg_calibration_excel_to_fw(self, report_address: str): - # TODO header + """ + Handles setting the calibration data that is in an excel report to the firmware. + + @param report_address: (str) the address in which its data must be written to excel + + @return: none + """ + # Request the DG calibration record and set and observer class to callback when the calibration record is read # back self.cmd_request_dg_calibration_record() Index: dialin/utils/nv_ops_utils.py =================================================================== diff -u -ree278f5a643613b8e7acbc44c3e70ead692cd0f0 -r3e0a859c326e8d99732e055a6ec42fab4ebbba3a --- dialin/utils/nv_ops_utils.py (.../nv_ops_utils.py) (revision ee278f5a643613b8e7acbc44c3e70ead692cd0f0) +++ dialin/utils/nv_ops_utils.py (.../nv_ops_utils.py) (revision 3e0a859c326e8d99732e055a6ec42fab4ebbba3a) @@ -219,14 +219,12 @@ try: row = 1 # Let's say the calibration record is: - # TODO make this - # This loop gets the first set of keys of the calibration record + # Get the keys of the calibration group {'pressure_sensors': 'ppi', {'fourth_order': [' bytearray: """ Index: tests/peter/test_dg_records.py =================================================================== diff -u -ree278f5a643613b8e7acbc44c3e70ead692cd0f0 -r3e0a859c326e8d99732e055a6ec42fab4ebbba3a --- tests/peter/test_dg_records.py (.../test_dg_records.py) (revision ee278f5a643613b8e7acbc44c3e70ead692cd0f0) +++ tests/peter/test_dg_records.py (.../test_dg_records.py) (revision 3e0a859c326e8d99732e055a6ec42fab4ebbba3a) @@ -351,7 +351,7 @@ def test_dg_excel_report(): dg = DG(log_level="DEBUG") if dg.cmd_log_in_to_dg(): - #dg.calibration_record.cmd_get_dg_calibration_record_report() + dg.calibration_record.cmd_get_dg_calibration_record_report() dg.calibration_record.cmd_set_dg_calibration_excel_to_fw('/home/fw/projects/DG_NV_Records/2022-02-09-DG-Record.xlsx')