Index: dialin/dg/calibration.py =================================================================== diff -u -r5dabfb699311d0b04353c3db846aba742568bcc1 -ra2c50fa966d483afdcff983ef80b03d2d0e77b5b --- dialin/dg/calibration.py (.../calibration.py) (revision 5dabfb699311d0b04353c3db846aba742568bcc1) +++ dialin/dg/calibration.py (.../calibration.py) (revision a2c50fa966d483afdcff983ef80b03d2d0e77b5b) @@ -23,7 +23,7 @@ DEFAULT_GAIN_VALUE = 1 DEFAULT_OFFSET_VALUE = 0 DEFAULT_RATIO_VALUE = 1 - DEFAULT_CONSTANT_VALUE = 0 + DEFAULT_VOLUME_VALUE = 0 DEFAULT_CAL_TIME_VALUE = 0 DEFAULT_CAL_CRC_VALUE = 0 @@ -136,9 +136,8 @@ if self.current_message <= self.total_messages: self.raw_cal_record += (message['message'][self.CALIBRATION_RECORD_START_INDEX + self.CALIBRATION_RECORD_SPECS_BYTES:end_of_data_index]) - # If all the messages have been received, call another function to process the raw data if self.current_message == self.total_messages: - + # If all the messages have been received, call another function to process the raw data self._update_dg_calibration_record_from_fw() def _update_dg_calibration_record_from_fw(self): @@ -211,16 +210,18 @@ load_cells = self._prepare_load_cells_record() temperature = self._prepare_temperature_sensors_record() conductivity = self._prepare_conductivity_sensors_record() + pumps = self._prepare_pumps_record() + volumes = self._prepare_volume_records() # Build the CRC of the main calibration record cal_record_crc = OrderedDict({'crc': ['