Index: tests/dg_nvm_scripts.py =================================================================== diff -u -r0448a5c20523f3bd085494b5f797c833a3a0e46d -r85ed96413870850b1b008fe058aab5a0057a9e9b --- tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision 0448a5c20523f3bd085494b5f797c833a3a0e46d) +++ tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision 85ed96413870850b1b008fe058aab5a0057a9e9b) @@ -32,7 +32,7 @@ # Use cmd_set_dg_sw_config_record() 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.sw_configs.cmd_update_dg_sw_config_record('/home/fw/projects/DG_NV_Records/2023-02-07-DG-SW-CONFIGS-Record.xlsx') + dg.sw_configs.cmd_update_dg_sw_config_record('/home/fw/projects/DG_NV_Records/2023-03-04-DG-SW-CONFIGS-Record.xlsx') # Use this function to reset the configuration records to all be 0 #dg.sw_configs.cmd_reset_dg_sw_config_record() Index: tests/dg_tests.py =================================================================== diff -u -r2f84b99b836aa1f5646a789e4b21db51c764b514 -r85ed96413870850b1b008fe058aab5a0057a9e9b --- tests/dg_tests.py (.../dg_tests.py) (revision 2f84b99b836aa1f5646a789e4b21db51c764b514) +++ tests/dg_tests.py (.../dg_tests.py) (revision 85ed96413870850b1b008fe058aab5a0057a9e9b) @@ -13,8 +13,8 @@ # @date (original) 16-Jan-2022 # ############################################################################ +import os - from dialin.dg.dialysate_generator import DG from dialin.hd.hemodialysis_device import HD from dialin.ui.hd_simulator import HDSimulator @@ -178,7 +178,6 @@ dg.reservoirs.time_uf_decay, dg.reservoirs.temp_uf_fill, dg.reservoirs.temp_reservoir_use_actual, dg.reservoirs.temp_reservoir_end_fill, dg.reservoirs.temp_avg_fill, dg.reservoirs.temp_last_fill, dg.reservoirs.time_rsrvr_fill)) - return info @@ -446,7 +445,8 @@ def collect_treatment_data(): - f = open("/home/fw/projects/dialin/tests/treatment_run.log", "w") + address = os.path.join(os.getcwd(), "treatment_run.log") + f = open(address, "w") #dg.conductivity_sensors.cmd_conductivity_sensor_override(ConductivitySensorsEnum.CPI.value, 1500.00) #sleep(1) @@ -489,10 +489,10 @@ heaters = get_heaters_info() dg_fans = get_dg_fans_info() conc_pumps = get_concentrate_pumps_info() - blood_leak = "0" #get_blood_leak_info() + blood_leak = '0,' #get_blood_leak_info() hd_pumps = get_hd_pumps_info() fill_info = get_dg_fill_info() - idle_bad_fill = '0' #get_dg_idle_bad_fill_info() + idle_bad_fill = '0,' #get_dg_idle_bad_fill_info() uv = get_uv_reactors_info() hd_fans = get_hd_fans_info() hd_pressures = get_hd_occlusion_pressures_info() @@ -512,7 +512,8 @@ def run_heat_disinfect(): complete_counter = 1 - f = open("/home/fw/projects/dialin/tests/Heat_disinfect.log", "w") + address = os.path.join(os.getcwd(), "heat_disinfect.log") + f = open(address, "w") #dg.heaters.cmd_heaters_broadcast_interval_override(50) #sleep(1) dg.hd_proxy.cmd_start_stop_dg_heat_disinfect() @@ -665,7 +666,7 @@ hd.cmd_log_in_to_hd() sleep(1) - run_heat_disinfect() + #run_heat_disinfect() #run_flush_mode() @@ -677,10 +678,12 @@ # cmd_set_disinfect_ui_screen() - #collect_treatment_data() + collect_treatment_data() #collect_hd_treatment() + #run_nelson_support_modes() + #while True: # print(get_hd_fans_info(), get_dg_fans_info(), get_temperature_sensors_info()) # print(get_dg_valves_states()) Index: tests/test_nelson_labs_disinfect.py =================================================================== diff -u -re41a1079f508d5c92e0d83ab6244b5ef79919083 -r85ed96413870850b1b008fe058aab5a0057a9e9b --- tests/test_nelson_labs_disinfect.py (.../test_nelson_labs_disinfect.py) (revision e41a1079f508d5c92e0d83ab6244b5ef79919083) +++ tests/test_nelson_labs_disinfect.py (.../test_nelson_labs_disinfect.py) (revision 85ed96413870850b1b008fe058aab5a0057a9e9b) @@ -321,6 +321,6 @@ run_nelson_heat_positive_control() - #run_nelson_heat_disinfect() + run_nelson_heat_disinfect() #run_nelson_chem_disinfect() \ No newline at end of file