Index: sources/canbus/messageinterpreter.cpp =================================================================== diff -u -r5963f00ffd2c557d3ae06a5deea05032a3a3bd68 -r8c5f54b53a19dd29a3b9731d8ec1bf3d1ba3be62 --- sources/canbus/messageinterpreter.cpp (.../messageinterpreter.cpp) (revision 5963f00ffd2c557d3ae06a5deea05032a3a3bd68) +++ sources/canbus/messageinterpreter.cpp (.../messageinterpreter.cpp) (revision 8c5f54b53a19dd29a3b9731d8ec1bf3d1ba3be62) @@ -136,7 +136,7 @@ } case GuiActionType::BloodFlow: { - types::U32 mFlowSetPoint ; + types::S32 mFlowSetPoint ; types::F32 mMeasuredFlow ; types::F32 mRotorSpeed ; types::F32 mMotorSpeed ; @@ -211,7 +211,7 @@ * \details This is the method which interprets the Blood Flow message data in vMessage of type Message * to its elements of data. * \param vMessage - The vMessage of type Message which contains all the data, require to be interpreted. - * \param vFlowSetPoint - Flow Set Point value of type unsigned int extracted out. + * \param vFlowSetPoint - Flow Set Point value of type signed int extracted out. * \param vMeasuredFlow - Measured Flow value of type float extracted out * \param vRotorSpeed - Rotor Speed value of type float extracted out * \param vMotorSpeed - Motor Speed value of type float extracted out @@ -222,7 +222,7 @@ */ bool MessageInterpreter::getBloodFlowData( const Message &vMessage , - types::U32 &vFlowSetPoint , + types::S32 &vFlowSetPoint , types::F32 &vMeasuredFlow , types::F32 &vRotorSpeed , types::F32 &vMotorSpeed, types::F32 &vMotorCtlSpeed , types::F32 &vMotorCtlCurrent , types::F32 &vPWMDtCycle) { Index: sources/gui/qml/pages/TreatmentStart.qml =================================================================== diff -u -r2fdeb1c461dde1b7b8bffcc5b814736190f98988 -r8c5f54b53a19dd29a3b9731d8ec1bf3d1ba3be62 --- sources/gui/qml/pages/TreatmentStart.qml (.../TreatmentStart.qml) (revision 2fdeb1c461dde1b7b8bffcc5b814736190f98988) +++ sources/gui/qml/pages/TreatmentStart.qml (.../TreatmentStart.qml) (revision 8c5f54b53a19dd29a3b9731d8ec1bf3d1ba3be62) @@ -47,7 +47,7 @@ topPadding: 100 leftPadding: 10 Text { - id: _U32 + id: _S32 text: qsTr("") width: 250 horizontalAlignment: Text.AlignRight @@ -110,7 +110,7 @@ switch(vAction) { case GuiActions.BloodFlow: //console.debug(vData) - _U32 .text = vData[GuiActions.BloodFlow_FlowSetPoint ]; + _S32 .text = vData[GuiActions.BloodFlow_FlowSetPoint ]; _F32_1.text = vData[GuiActions.BloodFlow_MeasuredFlow ].toFixed(2); _F32_2.text = vData[GuiActions.BloodFlow_RotorSpeed ].toFixed(2); _F32_3.text = vData[GuiActions.BloodFlow_MotorSpeed ].toFixed(2);