Index: leahi_dialin/td/modules/blood_flow.py =================================================================== diff -u -r7bc77fbed67b88c023d9b659dc7b7b27ec9b8741 -r2ef41bc7fb2b7ddd59061ee453ec7efd9f676eda --- leahi_dialin/td/modules/blood_flow.py (.../blood_flow.py) (revision 7bc77fbed67b88c023d9b659dc7b7b27ec9b8741) +++ leahi_dialin/td/modules/blood_flow.py (.../blood_flow.py) (revision 2ef41bc7fb2b7ddd59061ee453ec7efd9f676eda) @@ -80,11 +80,11 @@ rpm = struct.unpack('f', bytearray( message['message'][MsgFieldPositions.START_POS_FIELD_6:MsgFieldPositions.END_POS_FIELD_6])) rot = struct.unpack('I', bytearray( - message['message'][MsgFieldPositions.START_POS_FIELD_8:MsgFieldPositions.END_POS_FIELD_7])) + message['message'][MsgFieldPositions.START_POS_FIELD_7:MsgFieldPositions.END_POS_FIELD_7])) pres = struct.unpack('I', bytearray( - message['message'][MsgFieldPositions.START_POS_FIELD_9:MsgFieldPositions.END_POS_FIELD_8])) + message['message'][MsgFieldPositions.START_POS_FIELD_8:MsgFieldPositions.END_POS_FIELD_8])) hal = struct.unpack('I', bytearray( - message['message'][MsgFieldPositions.START_POS_FIELD_10:MsgFieldPositions.END_POS_FIELD_9])) + message['message'][MsgFieldPositions.START_POS_FIELD_9:MsgFieldPositions.END_POS_FIELD_9])) self.set_blood_flow_rate = tgt[0] self.measured_blood_flow_rate = flow[0] Index: tests/test_uf.py =================================================================== diff -u -r7bc77fbed67b88c023d9b659dc7b7b27ec9b8741 -r2ef41bc7fb2b7ddd59061ee453ec7efd9f676eda --- tests/test_uf.py (.../test_uf.py) (revision 7bc77fbed67b88c023d9b659dc7b7b27ec9b8741) +++ tests/test_uf.py (.../test_uf.py) (revision 2ef41bc7fb2b7ddd59061ee453ec7efd9f676eda) @@ -43,7 +43,7 @@ # sleep(1) # send command to show round-trip communication w/ firmware is working - td.blood_flow.cmd_blood_flow_set_speed_rate_request(500) + td.blood_flow.cmd_blood_flow_set_speed_rate_request(1000) # create log file with open("TD_test.log", "w") as f: