Index: tests/dg_nvm_scripts.py =================================================================== diff -u -rc4e2aaf6ce54297baf4b034e8c95fc9a3f6dfe25 -r2822dd09b581cd823bb8f673e3665931c4221567 --- tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision c4e2aaf6ce54297baf4b034e8c95fc9a3f6dfe25) +++ tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision 2822dd09b581cd823bb8f673e3665931c4221567) @@ -31,13 +31,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() + 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/2022-03-31-DG-Record.xlsx') # For resetting the calibration record to benign values, use the function below - dg.calibration_record.cmd_reset_dg_calibration_record() + #dg.calibration_record.cmd_reset_dg_calibration_record() Index: tests/dg_tests.py =================================================================== diff -u -r919fc382f49f1d88cab6cc89207d75064245fea7 -r2822dd09b581cd823bb8f673e3665931c4221567 --- tests/dg_tests.py (.../dg_tests.py) (revision 919fc382f49f1d88cab6cc89207d75064245fea7) +++ tests/dg_tests.py (.../dg_tests.py) (revision 2822dd09b581cd823bb8f673e3665931c4221567) @@ -350,13 +350,13 @@ def collect_treatment_data(): f = open("/home/fw/projects/dialin/tests/treatment_run.log", "w") - dg.conductivity_sensors.cmd_conductivity_sensor_override(ConductivitySensorsEnum.CD2.value, 6900.00) - sleep(1) - dg.conductivity_sensors.cmd_conductivity_sensor_override(ConductivitySensorsEnum.CD1.value, 12100.00) - sleep(1) + #dg.conductivity_sensors.cmd_conductivity_sensor_override(ConductivitySensorsEnum.CD2.value, 6900.00) + #sleep(1) + #dg.conductivity_sensors.cmd_conductivity_sensor_override(ConductivitySensorsEnum.CD1.value, 12100.00) + #sleep(1) - dg.dialysate_fill.cmd_used_bicarb_volume_override(3700.0) - sleep(1) + #dg.dialysate_fill.cmd_used_bicarb_volume_override(3700.0) + #sleep(1) start = False @@ -385,9 +385,9 @@ var = str(datetime.now()) + ', ' + hd_run + dg_run + load_cell + drain + ro + conc_pumps + valves + \ idle_bad_fill + fill_info + '\r' - if dg.dg_operation_mode == 6 and dg.dg_operation_sub_mode == 5 and start is False: - dg.conductivity_sensors.cmd_conductivity_sensor_override(ConductivitySensorsEnum.CD2.value, 12000.00) - start = True + #if dg.dg_operation_mode == 6 and dg.dg_operation_sub_mode == 5 and start is False: + # dg.conductivity_sensors.cmd_conductivity_sensor_override(ConductivitySensorsEnum.CD2.value, 12000.00) + # start = True print(var) f.write(var)