Index: tests/test_dg_calibration.py =================================================================== diff -u -r65cf1d8021361e0f51aed3a60fceefb54cc784e1 -r6d387cadbda3027d23510126942eaa9f6317d357 --- tests/test_dg_calibration.py (.../test_dg_calibration.py) (revision 65cf1d8021361e0f51aed3a60fceefb54cc784e1) +++ tests/test_dg_calibration.py (.../test_dg_calibration.py) (revision 6d387cadbda3027d23510126942eaa9f6317d357) @@ -1,16 +1,19 @@ from ctypes import * from collections import OrderedDict from dialin.dg.dialysate_generator import DG +from time import sleep +import struct if __name__ == "__main__": # Create an instance of the DG Class - #dg = DG(log_level='DEBUG') + dg = DG(log_level='DEBUG') - #if dg.cmd_log_in_to_dg() == 0: - # exit(1) + if dg.cmd_log_in_to_dg() == 0: + exit(1) - #cal = dg.calibration + cal = dg.calibration + """" pres_sensors = OrderedDict() pres_sensors['ppi'] = {'gain': ['