Index: leahi_dialin/dd/modules/records_get_requests.py =================================================================== diff -u -r436742844a3fbbb6a3b0bc81dc87bc6385c3e368 -rb5a54373504779a1567a6055879741cb68004c45 --- leahi_dialin/dd/modules/records_get_requests.py (.../records_get_requests.py) (revision 436742844a3fbbb6a3b0bc81dc87bc6385c3e368) +++ leahi_dialin/dd/modules/records_get_requests.py (.../records_get_requests.py) (revision b5a54373504779a1567a6055879741cb68004c45) @@ -20,7 +20,7 @@ from leahi_dialin.common.override_templates import cmd_generic_override from leahi_dialin.protocols.CAN import CanChannels from leahi_dialin.utils.abstract_classes import AbstractSubSystem -from leahi_dialin.utils.conversions import unsigned_integer_to_bytearray +from leahi_dialin.utils.conversions import integer_to_bytearray class DDRecordsGetRequests(AbstractSubSystem): @@ -121,7 +121,7 @@ @return: 1 if successful, zero otherwise """ - payload = unsigned_integer_to_bytearray(sensor_id) + payload = integer_to_bytearray(sensor_id) # Get the name of the sensor if sensor_id >= dd_enum_repository.DDPressureSensorNames.NUM_OF_PRESSURE_SENSORS.value: @@ -149,7 +149,7 @@ @return: 1 if successful, zero otherwise """ - payload = unsigned_integer_to_bytearray(sensor_id) + payload = integer_to_bytearray(sensor_id) # Get the name of the sensor sensor_name = dd_enum_repository.DDTemperatureSensorNames(sensor_id).name @@ -174,7 +174,7 @@ @return: 1 if successful, zero otherwise """ - payload = unsigned_integer_to_bytearray(pump_id) + payload = integer_to_bytearray(pump_id) # Get the name of the sensor pump_name = dd_enum_repository.DDConcentratePumpNames(pump_id).name @@ -239,7 +239,7 @@ @return: 1 if successful, zero otherwise """ - payload = unsigned_integer_to_bytearray(conc_id) + payload = integer_to_bytearray(conc_id) # Get the name of the sensor conc_name = disp_enum_repository.AcidTypes(conc_id).name @@ -264,7 +264,7 @@ @return: 1 if successful, zero otherwise """ - payload = unsigned_integer_to_bytearray(conc_id) + payload = integer_to_bytearray(conc_id) # Get the name of the sensor conc_name = disp_enum_repository.BicarbTypes(conc_id).name @@ -329,7 +329,7 @@ @return: 1 if successful, zero otherwise """ - payload = unsigned_integer_to_bytearray(sensor_id) + payload = integer_to_bytearray(sensor_id) # Get the name of the sensor sensor_name = dd_enum_repository.DDConductivitySensorNames(sensor_id).name Index: leahi_dialin/dd/modules/records_set_requests.py =================================================================== diff -u -r436742844a3fbbb6a3b0bc81dc87bc6385c3e368 -rb5a54373504779a1567a6055879741cb68004c45 --- leahi_dialin/dd/modules/records_set_requests.py (.../records_set_requests.py) (revision 436742844a3fbbb6a3b0bc81dc87bc6385c3e368) +++ leahi_dialin/dd/modules/records_set_requests.py (.../records_set_requests.py) (revision b5a54373504779a1567a6055879741cb68004c45) @@ -601,15 +601,15 @@ def cmd_set_calibration_records_conductivity(self, msg_id: MsgIds, sensor_enum: DialinEnum, - k_high: float=4.0, - k_low: float=4.0, - alpha_high: float=0.02, - alpha_low: float=0.02, - eta_high: float=1.0, - eta_low: float=1.0, - zeta_high: float=1.0, + k_high: float=0.0, + k_low: float=0.0, + alpha_high: float=0.0, + alpha_low: float=0.0, + eta_high: float=0.0, + eta_low: float=0.0, + zeta_high: float=0.0, zeta_low: float=0.0, - beta_high: float=1.0, + beta_high: float=0.0, delta_low: float=0.0, rsrvd_1: float=0.0, rsrvd_2: float=0.0,