Index: leahi_dialin/td/modules/air_trap.py =================================================================== diff -u -re5c5e1a8c10903e8caa793694b8f309125b2f6d8 -rdf2b51a17a2ccdaf3587f631de7623fa7fcae624 --- leahi_dialin/td/modules/air_trap.py (.../air_trap.py) (revision e5c5e1a8c10903e8caa793694b8f309125b2f6d8) +++ leahi_dialin/td/modules/air_trap.py (.../air_trap.py) (revision df2b51a17a2ccdaf3587f631de7623fa7fcae624) @@ -245,6 +245,7 @@ # If there is content... if received_message is not None: # response payload is OK or not OK + self.logger.debug("Air trap valve " + str(valve) + " set to " + str(valve_state)) return received_message['message'][DenaliMessage.PAYLOAD_START_INDEX] else: self.logger.debug("timeout!!") @@ -254,7 +255,7 @@ """ Constructs and sends a set control command to the TD air trap. - @param valve: start/stop for air trap control + @param control: start/stop for air trap control (0=stop, 1=start) @returns 1 if successful, zero otherwise """ @@ -270,6 +271,7 @@ # If there is content... if received_message is not None: # response payload is OK or not OK + self.logger.debug("Air trap control set to " + str(control)) return received_message['message'][DenaliMessage.PAYLOAD_START_INDEX] else: self.logger.debug("timeout!!") Index: leahi_dialin/td/modules/blood_flow.py =================================================================== diff -u -r1205ec50906c08cfbe681192d181c6f61c239f2c -rdf2b51a17a2ccdaf3587f631de7623fa7fcae624 --- leahi_dialin/td/modules/blood_flow.py (.../blood_flow.py) (revision 1205ec50906c08cfbe681192d181c6f61c239f2c) +++ leahi_dialin/td/modules/blood_flow.py (.../blood_flow.py) (revision df2b51a17a2ccdaf3587f631de7623fa7fcae624) @@ -368,7 +368,7 @@ """ message = DenaliMessage.build_message(channel_id=DenaliChannels.dialin_to_td_ch_id, - message_id=MsgIds.MSG_ID_TD_BLOOD_PUMP_ROTOR_COUNT_OVERRIDE_REQUEST.value) + message_id=MsgIds.MSG_ID_TD_HOME_BLOOD_PUMP_REQUEST.value) self.logger.debug("homing blood pump")