Index: tests/dg_tests.py =================================================================== diff -u -r25ad5c79713a1ee12a358111ebda26340459ed4e -r5fbe22677f97d8792b9a9b781134851cdda1572a --- tests/dg_tests.py (.../dg_tests.py) (revision 25ad5c79713a1ee12a358111ebda26340459ed4e) +++ tests/dg_tests.py (.../dg_tests.py) (revision 5fbe22677f97d8792b9a9b781134851cdda1572a) @@ -14,6 +14,7 @@ # ############################################################################ import os +import time from dialin.dg.dialysate_generator import DG from dialin.hd.hemodialysis_device import HD @@ -778,9 +779,11 @@ #hd.ui.cmd_set_ro_only_mode_status(1) + hd.blood_leak.cmd_blood_leak_emb_mode_info_cmds_override(EmbModeCommands.I.value, 1000, reset=1) + while True: # print(dg.switches.dg_switches_status) - print(get_blood_leak_info()) + print(time.time(), get_blood_leak_info()) sleep(1) #dg.hd_proxy.cmd_start_stop_dg_heat_disinfect() #while True: