Index: dialin/dg/hd_proxy.py =================================================================== diff -u -rf8387df23789b74fba26df353fb88a14b99de199 -rc5c80e34ed92dbcdb2129bd36491ec5de83a21a2 --- dialin/dg/hd_proxy.py (.../hd_proxy.py) (revision f8387df23789b74fba26df353fb88a14b99de199) +++ dialin/dg/hd_proxy.py (.../hd_proxy.py) (revision c5c80e34ed92dbcdb2129bd36491ec5de83a21a2) @@ -107,7 +107,7 @@ self.logger.debug("Timeout!!!!") return False - def cmd_drain(self, volume=200): + def cmd_drain(self, volume=200, tareLoadCell=False): """ Constructs and sends the drain command. Constraints: @@ -119,7 +119,8 @@ """ vol = integer_to_bytearray(volume) - payload = vol + tare = integer_to_bytearray(tareLoadCell) + payload = vol + tare message = DenaliMessage.build_message(channel_id=DenaliChannels.dialin_to_dg_ch_id, message_id=MsgIds.MSG_ID_DG_DRAIN_CMD.value,