From 5bc4fe51756f6674e5efd97645d55c4a3d0264dc Mon Sep 17 00:00:00 2001 From: jkirchman Date: Mon, 13 Jul 2015 21:19:55 +0000 Subject: [PATCH] Change direction field to UP since it requires this, as well as the startBit=0 and endBit=15 which was already changed. --- motorApp/op/ui/motorx_msta_detail.ui | 1896 +++++++++++++------------- 1 file changed, 960 insertions(+), 936 deletions(-) diff --git a/motorApp/op/ui/motorx_msta_detail.ui b/motorApp/op/ui/motorx_msta_detail.ui index 9433556a..965fdd7b 100644 --- a/motorApp/op/ui/motorx_msta_detail.ui +++ b/motorApp/op/ui/motorx_msta_detail.ui @@ -1,944 +1,968 @@ -MainWindow - - - - 549 - 406 - 400 - 400 - - - - + MainWindow + + + + 0 + 0 + 400 + 400 + + + + QWidget#centralWidget {background: rgba(200, 200, 200, 255);} + + + + + + 0 + 31 + 100 + 25 + - - - - caGraphics::Rectangle - - - - 0 - 31 - 100 - 25 - - - - - 10 - 0 - 184 - - - - Filled - - - - 10 - 0 - 184 - - - - Solid - - - - - caGraphics::Rectangle - - - - 0 - 0 - 398 - 30 - - - - - 255 - 255 - 255 - - - - Filled - - - - 255 - 255 - 255 - - - - Solid - - - - - - 0 - 30 - 402 - 3 - - - - 3 - - - - 10 - 0 - 184 - - - - Filled - - - - 10 - 0 - 184 - - - - Solid - - - 1,1;400,1; - - - - - - 4 - 5 - 153 - 20 - - - - caLineEdit::WidthAndHeight - - - $(P)$(M).DESC - - - - 10 - 0 - 184 - - - - - 255 - 255 - 255 - - - - caLineEdit::Channel - - - caLineEdit::Channel - - - caLineEdit::Channel - - - 0.0 - - - 1.0 - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - decimal - - - caLineEdit::Static - - - - - - 289 - 5 - 100 - 20 - - - - caLineEdit::WidthAndHeight - - - $(P)$(M).DTYP - - - - 10 - 0 - 184 - - - - - 255 - 255 - 255 - - - - caLineEdit::Channel - - - caLineEdit::Channel - - - caLineEdit::Channel - - - 0.0 - - - 1.0 - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - decimal - - - caLineEdit::Static - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - $(P)$(M) - - - ESimpleLabel::WidthAndHeight - - - - 171 - 5 - 51 - 20 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 255 - 255 - 255 - - - - - 255 - 255 - 255 - - - - Status Detail - - - ESimpleLabel::WidthAndHeight - - - - 2 - 34 - 95 - 20 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - - 5 - 62 - 37 - 320 - - - - $(P)$(M).MSTA - - - - 30 - 187 - 0 - - - - - 200 - 200 - 200 - - - - 0 - - - 15 - - - caByte::Static - - - Down - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - Unused - - - ESimpleLabel::WidthAndHeight - - - - 50 - 365 - 171 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - Unused - - - ESimpleLabel::WidthAndHeight - - - - 50 - 345 - 171 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - MINUS_LS: minus limit switch has been hit - - - ESimpleLabel::WidthAndHeight - - - - 50 - 325 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - COMM_ERR: Communication Error - - - ESimpleLabel::WidthAndHeight - - - - 50 - 305 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - GAIN_SUPPORT: motor supports closed-loop position control - - - ESimpleLabel::WidthAndHeight - - - - 50 - 285 - 345 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - MOVING: non-zero velocity present - - - ESimpleLabel::WidthAndHeight - - - - 50 - 265 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - PROBLEM: driver stopped polling - - - ESimpleLabel::WidthAndHeight - - - - 50 - 245 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - PRESENT: encoder is present - - - ESimpleLabel::WidthAndHeight - - - - 50 - 225 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - HOME: if at home position - - - ESimpleLabel::WidthAndHeight - - - - 50 - 205 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - Unused - - - ESimpleLabel::WidthAndHeight - - - - 50 - 185 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - POSITION: closed-loop position control enabled - - - ESimpleLabel::WidthAndHeight - - - - 50 - 165 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - Unused - - - ESimpleLabel::WidthAndHeight - - - - 50 - 145 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - HOMELS: state of home limit switch - - - ESimpleLabel::WidthAndHeight - - - - 50 - 125 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - PLUS_LS: plus limit has been hit - - - ESimpleLabel::WidthAndHeight - - - - 50 - 105 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - DONE: motion is complete - - - ESimpleLabel::WidthAndHeight - - - - 50 - 85 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - - - QFrame::NoFrame - - - - 0 - 0 - 0 - - - - - 0 - 0 - 0 - - - - DIRECTION: last raw (0:Neg, 1:Pos) - - - ESimpleLabel::WidthAndHeight - - - - 50 - 65 - 350 - 15 - - - - Qt::AlignAbsolute|Qt::AlignLeft|Qt::AlignVCenter - - - caRectangle_0 - caRectangle_1 - caPolyLine_0 - caLabel_0 - caLabel_1 - caLabel_2 - caLabel_3 - caLabel_4 - caLabel_5 - caLabel_6 - caLabel_7 - caLabel_8 - caLabel_9 - caLabel_10 - caLabel_11 - caLabel_12 - caLabel_13 - caLabel_14 - caLabel_15 - caLabel_16 - caLabel_17 - caLineEdit_0 - caLineEdit_1 - caByte_0 + + + 10 + 0 + 184 + + + + caGraphics::Solid + + + caGraphics::Filled + + + + 10 + 0 + 184 + + + + caGraphics::Rectangle + + + + + + 0 + 0 + 398 + 30 + + + + + 255 + 255 + 255 + + + + caGraphics::Solid + + + caGraphics::Filled + + + + 255 + 255 + 255 + + + + caGraphics::Rectangle + + + + + + 0 + 30 + 402 + 3 + + + + + 10 + 0 + 184 + + + + caPolyLine::Solid + + + 3 + + + + 10 + 0 + 184 + + + + 1,1;400,1 + + + caPolyLine::Filled + + + + + + 4 + 5 + 153 + 20 + + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + $(P)$(M).DESC + + + + 10 + 0 + 184 + + + + + 255 + 255 + 255 + + + + caLineEdit::Static + + + caLineEdit::Channel + + + caLineEdit::Channel + + + 1.000000000000000 + + + 0.000000000000000 + + + caLineEdit::Height + + + caLineEdit::decimal + + + + + + 289 + 5 + 100 + 20 + + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + $(P)$(M).DTYP + + + + 10 + 0 + 184 + + + + + 255 + 255 + 255 + + + + caLineEdit::Static + + + caLineEdit::Channel + + + caLineEdit::Channel + + + 1.000000000000000 + + + 0.000000000000000 + + + caLineEdit::Height + + + caLineEdit::decimal + + + + + + 171 + 5 + 51 + 20 + + + + QFrame::NoFrame + + + $(P)$(M) + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 2 + 34 + 95 + 20 + + + + QFrame::NoFrame + + + Status Detail + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 255 + 255 + 255 + + + + + 255 + 255 + 255 + + + + + + + 5 + 65 + 37 + 320 + + + + $(P)$(M).MSTA + + + caByte::Up + + + 0 + + + 15 + + + caByte::Static + + + + 30 + 187 + 0 + + + + + 200 + 200 + 200 + + + + + + + 50 + 68 + 352 + 317 + + + + + + 0 + 0 + 171 + 15 + + + + QFrame::NoFrame + + + Unused + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + - - \ No newline at end of file + + + + 0 + 20 + 171 + 15 + + + + QFrame::NoFrame + + + Unused + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 40 + 350 + 15 + + + + QFrame::NoFrame + + + MINUS_LS: minus limit switch has been hit + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 60 + 350 + 15 + + + + QFrame::NoFrame + + + COMM_ERR: Communication Error + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 80 + 345 + 15 + + + + QFrame::NoFrame + + + GAIN_SUPPORT: motor supports closed-loop position control + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 100 + 350 + 15 + + + + QFrame::NoFrame + + + MOVING: non-zero velocity present + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 120 + 350 + 15 + + + + QFrame::NoFrame + + + PROBLEM: driver stopped polling + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 140 + 350 + 15 + + + + QFrame::NoFrame + + + PRESENT: encoder is present + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 160 + 350 + 15 + + + + QFrame::NoFrame + + + HOME: if at home position + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 180 + 350 + 15 + + + + QFrame::NoFrame + + + Unused + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 200 + 350 + 15 + + + + QFrame::NoFrame + + + POSITION: closed-loop position control enabled + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 220 + 350 + 15 + + + + QFrame::NoFrame + + + Unused + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 240 + 350 + 15 + + + + QFrame::NoFrame + + + HOMELS: state of home limit switch + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 260 + 350 + 15 + + + + QFrame::NoFrame + + + PLUS_LS: plus limit has been hit + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 280 + 350 + 15 + + + + QFrame::NoFrame + + + DONE: motion is complete + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + + + 0 + 300 + 350 + 15 + + + + QFrame::NoFrame + + + DIRECTION: last raw (0:Neg, 1:Pos) + + + Qt::AlignAbsolute|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + ESimpleLabel::Height + + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + + + caRectangle_0 + caRectangle_1 + caPolyLine_0 + caLabel_0 + caLabel_1 + caFrame_0 + caLineEdit_0 + caLineEdit_1 + caByte_0 + + + + + caFrame + QFrame +
caFrame
+ 1 +
+ + caLabel + QLabel +
caLabel
+
+ + caGraphics + QWidget +
caGraphics
+
+ + caPolyLine + QWidget +
caPolyLine
+
+ + caLineEdit + QLineEdit +
caLineEdit
+
+ + caByte + QWidget +
caByte
+
+
+ + +