from ctypes import * import struct from dialin.dg.dialysate_generator import DG from dialin.dg.calibration import DGCalibration if __name__ == "__main__": # Create an instance of the DG Class dg = DG(log_level='DEBUG') if dg.cmd_log_in_to_dg() == 0: exit(1) cal = dg.calibration test = {'sensors': {'ppi': {'gain': ['