diff --git a/docs/bit-info.txt b/docs/bit-info.txt new file mode 100644 index 0000000000000000000000000000000000000000..ae4ec16c41236c71d782fac31ff28e6fb1360605 --- /dev/null +++ b/docs/bit-info.txt @@ -0,0 +1,34 @@ +Al momento: + + #define MSCR_STAT_SIZE 11 + #define MSCR_STAT_TYPE 0 // bool 0: pneumatic (false), stepper (vertical slit present) (true) + #define MSCR_STAT_POLAR1_MODE 1 // polarimeter 1 continuos (false), discrete (true) + #define MSCR_STAT_POLAR2_PRESENT 2 // polarimeter 2 present (true) + #define MSCR_STAT_POLAR2_MODE 3 // polarimeter 2 continuos (false), discrete (true) + #define MSCR_STAT_HORSLIT_PRESENT 4 // horizontal slit present (true) + #define MSCR_STAT_VER_MOVE_ACK 5 // allowed to move vertical slit (true) + #define MSCR_STAT_HOR_MOVE_ACK 6 // allowed to move horizontal slit (true) + #define MSCR_STAT_LIGHT_ON 7 // light ON (true) + #define MSCR_STAT_SAFETY_SWITCH 8 // safety switch touched (true) + #define MSCR_STAT_PNEUM_MOVING 9 // vetical piston (pneumatic actuator) is moving (true) + #define MSCR_STAT_PNEUM_REACH_ERR 10 // vetical piston (pneumatic actuator) reach error (true) + #define MSCR_STAT_POLAR1_PRESENT 11 // polarimeter 1 present (true) + +A shutdown ci saranno alcuni aggiornamenti sull'mscr tra cui il bool 11 che diventerà 1 e tutti gli altri shifteranno di un posto. + +La configurazione quindi diventerà : + + #define MSCR_STAT_SIZE 12 + #define MSCR_STAT_TYPE 0 // bool 0: pneumatic (false), stepper (vertical slit present) (true) + #define MSCR_STAT_POLAR1_PRESENT 1 // polarimeter 2 present (true) + #define MSCR_STAT_POLAR1_MODE 2 // polarimeter 1 continuos (false), discrete (true) + #define MSCR_STAT_POLAR2_PRESENT 3 // polarimeter 2 present (true) + #define MSCR_STAT_POLAR2_MODE 4 // polarimeter 2 continuos (false), discrete (true) + #define MSCR_STAT_HORSLIT_PRESENT 5 // horizontal slit present (true) + #define MSCR_STAT_VER_MOVE_ACK 6 // allowed to move vertical slit (true) + #define MSCR_STAT_HOR_MOVE_ACK 7 // allowed to move horizontal slit (true) + #define MSCR_STAT_LIGHT_ON 8 // light ON (true) + #define MSCR_STAT_SAFETY_SWITCH 9 // safety switch touched (true) + #define MSCR_STAT_PNEUM_MOVING 10 // vertical piston (pneumatic actuator) is moving (true) + #define MSCR_STAT_PNEUM_REACH_ERR 11 // vertical piston (pneumatic actuator) reach error (true) + diff --git a/etc/test.sh b/etc/test.sh new file mode 100755 index 0000000000000000000000000000000000000000..4330867b4711454f9e29b87e378dcdeb6363a447 --- /dev/null +++ b/etc/test.sh @@ -0,0 +1 @@ +bin/mscr srv-tango-srf-01:20000/dbd/diagnostics/mscr_dbd.01 diff --git a/src/mscr.ui b/src/mscr.ui index 4380f3e7bdaffce8ddded851c93f56d4714644bd..cccdf47250f28fd26323403f293812c02a46182b 100644 --- a/src/mscr.ui +++ b/src/mscr.ui @@ -1,1820 +1,2161 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>mscr</class> - <widget class="QWidget" name="mscr"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>640</width> - <height>640</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>640</width> - <height>640</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>640</width> - <height>640</height> - </size> - </property> - <property name="windowTitle"> - <string>mscr</string> - </property> - <widget class="QTabWidget" name="tabWidget"> - <property name="geometry"> - <rect> - <x>9</x> - <y>9</y> - <width>620</width> - <height>515</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="currentIndex"> - <number>1</number> - </property> - <widget class="QWidget" name="tab_main"> - <attribute name="title"> - <string>Main</string> - </attribute> - <widget class="QComboBox" name="lightLevel_comboBox"> - <property name="geometry"> - <rect> - <x>240</x> - <y>40</y> - <width>90</width> - <height>23</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <item> - <property name="text"> - <string>off</string> - </property> - </item> - <item> - <property name="text"> - <string>high</string> - </property> - </item> - <item> - <property name="text"> - <string>medium</string> - </property> - </item> - <item> - <property name="text"> - <string>low</string> - </property> - </item> - </widget> - <widget class="QLabel" name="label_37"> - <property name="geometry"> - <rect> - <x>240</x> - <y>20</y> - <width>90</width> - <height>20</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Light level</string> - </property> - </widget> - <widget class="QGroupBox" name="selector_groupBox"> - <property name="geometry"> - <rect> - <x>30</x> - <y>20</y> - <width>150</width> - <height>170</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="title"> - <string>selector</string> - </property> - <widget class="QRadioButton" name="position0_radioButton"> - <property name="geometry"> - <rect> - <x>20</x> - <y>20</y> - <width>120</width> - <height>24</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>0</string> - </property> - </widget> - <widget class="QRadioButton" name="position3_radioButton"> - <property name="geometry"> - <rect> - <x>20</x> - <y>110</y> - <width>120</width> - <height>24</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>3</string> - </property> - </widget> - <widget class="QRadioButton" name="position2_radioButton"> - <property name="geometry"> - <rect> - <x>20</x> - <y>80</y> - <width>120</width> - <height>24</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>2</string> - </property> - </widget> - <widget class="QRadioButton" name="position1_radioButton"> - <property name="geometry"> - <rect> - <x>20</x> - <y>50</y> - <width>120</width> - <height>24</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>1</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - </widget> - <widget class="QRadioButton" name="position4_radioButton"> - <property name="geometry"> - <rect> - <x>20</x> - <y>140</y> - <width>120</width> - <height>24</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>4</string> - </property> - </widget> - </widget> - <widget class="QGroupBox" name="attenuator1_groupBox"> - <property name="geometry"> - <rect> - <x>10</x> - <y>230</y> - <width>290</width> - <height>100</height> - </rect> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="title"> - <string>attenuator #1</string> - </property> - <widget class="QLabel" name="label_38"> - <property name="geometry"> - <rect> - <x>10</x> - <y>24</y> - <width>100</width> - <height>28</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>attenuation %</string> - </property> - </widget> - <widget class="TReaderWriter" name="polar1Attenuation_tReaderWriter"> - <property name="geometry"> - <rect> - <x>110</x> - <y>24</y> - <width>160</width> - <height>28</height> - </rect> - </property> - <property name="font"> - <font> - <family>Arial</family> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - <property name="zoomEnabled"> - <bool>false</bool> - </property> - </widget> - <widget class="QLabel" name="label_10"> - <property name="geometry"> - <rect> - <x>10</x> - <y>60</y> - <width>139</width> - <height>17</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>max. abs. val. 10^-4</string> - </property> - </widget> - </widget> - <widget class="QGroupBox" name="attenuator2_groupBox"> - <property name="geometry"> - <rect> - <x>320</x> - <y>230</y> - <width>290</width> - <height>100</height> - </rect> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="title"> - <string>attenuator #2</string> - </property> - <widget class="QLabel" name="label_39"> - <property name="geometry"> - <rect> - <x>10</x> - <y>24</y> - <width>100</width> - <height>28</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>attenuation %</string> - </property> - </widget> - <widget class="TReaderWriter" name="polar2Attenuation_tReaderWriter"> - <property name="geometry"> - <rect> - <x>110</x> - <y>24</y> - <width>160</width> - <height>28</height> - </rect> - </property> - <property name="font"> - <font> - <family>Arial</family> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - <property name="source"> - <string>$1/Polar2Attenuation</string> - </property> - <property name="zoomEnabled"> - <bool>false</bool> - </property> - </widget> - <widget class="QLabel" name="label_11"> - <property name="geometry"> - <rect> - <x>16</x> - <y>58</y> - <width>139</width> - <height>17</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>10</pointsize> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>max. abs. val. 10^-4</string> - </property> - </widget> - </widget> - <widget class="QGroupBox" name="verSlit_groupBox"> - <property name="geometry"> - <rect> - <x>10</x> - <y>350</y> - <width>290</width> - <height>100</height> - </rect> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="title"> - <string>Vertical slit</string> - </property> - <widget class="TApplyNumeric" name="tApplyNumeric"> - <property name="geometry"> - <rect> - <x>120</x> - <y>40</y> - <width>160</width> - <height>41</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="maximum"> - <double>9999.000000000000000</double> - </property> - <property name="minimum"> - <double>-9999.000000000000000</double> - </property> - <property name="buttonPos" stdset="0"> - <enum>Qt::Horizontal</enum> - </property> - <property name="buttonText"> - <string>APPLY</string> - </property> - <property name="numericFont"> - <font> - <family>Arial</family> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="targets"> - <string>$1/VerSlitPosition;;;</string> - </property> - </widget> - <widget class="TLabel" name="polar1Attenuation_tLabel_2"> - <property name="geometry"> - <rect> - <x>10</x> - <y>50</y> - <width>110</width> - <height>28</height> - </rect> - </property> - <property name="font"> - <font> - <family>Arial</family> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - <property name="source"> - <string>$1/VerSlitPosition</string> - </property> - </widget> - <widget class="QLabel" name="label_40"> - <property name="geometry"> - <rect> - <x>10</x> - <y>20</y> - <width>110</width> - <height>30</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>position</string> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - </widget> - </widget> - <widget class="QGroupBox" name="horSlit_groupBox"> - <property name="geometry"> - <rect> - <x>320</x> - <y>350</y> - <width>290</width> - <height>100</height> - </rect> - </property> - <property name="font"> - <font> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - <property name="title"> - <string>Horizontal slit</string> - </property> - <widget class="QLabel" name="label_42"> - <property name="geometry"> - <rect> - <x>10</x> - <y>20</y> - <width>110</width> - <height>30</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>position</string> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - </widget> - <widget class="TApplyNumeric" name="tApplyNumeric_2"> - <property name="geometry"> - <rect> - <x>120</x> - <y>40</y> - <width>160</width> - <height>41</height> - </rect> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="buttonPos" stdset="0"> - <enum>Qt::Horizontal</enum> - </property> - <property name="buttonText"> - <string>APPLY</string> - </property> - <property name="numericFont"> - <font> - <family>Arial</family> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="targets"> - <string>$1/HorSlitPosition;;</string> - </property> - </widget> - <widget class="TLabel" name="polar1Attenuation_tLabel_3"> - <property name="geometry"> - <rect> - <x>10</x> - <y>50</y> - <width>110</width> - <height>28</height> - </rect> - </property> - <property name="font"> - <font> - <family>Arial</family> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - <property name="source"> - <string>$1/HorSlitPosition</string> - </property> - </widget> - </widget> - <widget class="QLabel" name="label_41"> - <property name="geometry"> - <rect> - <x>408</x> - <y>20</y> - <width>127</width> - <height>17</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Light level (straigth)</string> - </property> - </widget> - <widget class="QComboBox" name="lightLevel_comboBox_2"> - <property name="geometry"> - <rect> - <x>408</x> - <y>40</y> - <width>90</width> - <height>23</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <item> - <property name="text"> - <string>off</string> - </property> - </item> - <item> - <property name="text"> - <string>high</string> - </property> - </item> - <item> - <property name="text"> - <string>medium</string> - </property> - </item> - <item> - <property name="text"> - <string>low</string> - </property> - </item> - </widget> - <widget class="TLabel" name="tLabelLightLevel"> - <property name="geometry"> - <rect> - <x>194</x> - <y>39</y> - <width>39</width> - <height>25</height> - </rect> - </property> - <property name="source"> - <string>$1/LightLevel</string> - </property> - </widget> - <widget class="TLabel" name="tLabelLightLevel_2"> - <property name="geometry"> - <rect> - <x>360</x> - <y>39</y> - <width>39</width> - <height>23</height> - </rect> - </property> - <property name="source"> - <string>$1/LightLevel2</string> - </property> - </widget> - </widget> - <widget class="QWidget" name="tab_expert"> - <attribute name="title"> - <string>Expert</string> - </attribute> - <widget class="TPushButton" name="tPushButton"> - <property name="geometry"> - <rect> - <x>40</x> - <y>102</y> - <width>240</width> - <height>60</height> - </rect> - </property> - <property name="text"> - <string>RESET CAMERA -( power off + power on )</string> - </property> - <property name="targets"> - <string>$1->CameraReset;;</string> - </property> - </widget> - <widget class="TPushButton" name="tPushButton_4"> - <property name="geometry"> - <rect> - <x>40</x> - <y>246</y> - <width>240</width> - <height>60</height> - </rect> - </property> - <property name="text"> - <string>RESET ATTENUATOR(s) -( power off + power on )</string> - </property> - <property name="targets"> - <string>$1->PolarReset;;;;</string> - </property> - </widget> - <widget class="TPushButton" name="tPushButton_3"> - <property name="geometry"> - <rect> - <x>40</x> - <y>174</y> - <width>240</width> - <height>60</height> - </rect> - </property> - <property name="text"> - <string>INIT ATTENUATOR(s) -( motor homing )</string> - </property> - <property name="targets"> - <string>$1->PolarInit;;;</string> - </property> - </widget> - <widget class="TLogButton" name="tLogButton"> - <property name="geometry"> - <rect> - <x>320</x> - <y>30</y> - <width>130</width> - <height>28</height> - </rect> - </property> - </widget> - <widget class="TPushButton" name="tPushButton_2"> - <property name="geometry"> - <rect> - <x>40</x> - <y>30</y> - <width>240</width> - <height>60</height> - </rect> - </property> - <property name="text"> - <string>INIT STEPPER -( init motor + fault reset )</string> - </property> - <property name="targets"> - <string>$1->StepperInit;;;</string> - </property> - </widget> - <widget class="TPushButton" name="tPushButton_5"> - <property name="geometry"> - <rect> - <x>40</x> - <y>322</y> - <width>240</width> - <height>60</height> - </rect> - </property> - <property name="text"> - <string>CAMERA ON -( power on )</string> - </property> - <property name="targets"> - <string>$1->CameraOn;;;</string> - </property> - </widget> - <widget class="TPushButton" name="tPushButton_6"> - <property name="geometry"> - <rect> - <x>40</x> - <y>398</y> - <width>240</width> - <height>60</height> - </rect> - </property> - <property name="text"> - <string>CAMERA OFF -( power off )</string> - </property> - <property name="targets"> - <string>$1->CameraOff;;;;</string> - </property> - </widget> - <widget class="TPushButton" name="tPushButton_13"> - <property name="geometry"> - <rect> - <x>310</x> - <y>320</y> - <width>240</width> - <height>60</height> - </rect> - </property> - <property name="text"> - <string>AUXILIARY OUTPUT ON</string> - </property> - <property name="targets"> - <string>$1->Giulio;;;;;</string> - </property> - </widget> - <widget class="TPushButton" name="tPushButton_14"> - <property name="geometry"> - <rect> - <x>310</x> - <y>390</y> - <width>240</width> - <height>60</height> - </rect> - </property> - <property name="text"> - <string>AUXILIARY OUTPUT OFF</string> - </property> - <property name="targets"> - <string>$1->Giulio;;;;;</string> - </property> - </widget> - </widget> - <widget class="QWidget" name="tab_status"> - <attribute name="title"> - <string>Status</string> - </attribute> - <widget class="QGroupBox" name="mscrStatus_groupBox"> - <property name="geometry"> - <rect> - <x>9</x> - <y>7</y> - <width>330</width> - <height>340</height> - </rect> - </property> - <property name="title"> - <string>global status</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <property name="spacing"> - <number>5</number> - </property> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> - <number>5</number> - </property> - <item> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> - <widget class="QLabel" name="label"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>movement</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_2"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>attenuator #1</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_3"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>attenuator #2</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_4"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>attenuator #2</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_20"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>slits</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_6"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>vertical slit</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_5"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>horizontal slit</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_7"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>light</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_8"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>safety switch</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_9"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>pneumatic piston</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_19"> - <property name="minimumSize"> - <size> - <width>135</width> - <height>0</height> - </size> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>pneumatic piston</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="TTable" name="mscrStatus_tTable"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="numRows"> - <number>11</number> - </property> - <property name="numColumns"> - <number>1</number> - </property> - <property name="trueColors"> - <string>4290494403;4290494403;4290494403;4290494403;4290494403;4284344910;4284344910;4294441116;4290494403;4278228181;4293342999</string> - </property> - <property name="falseColors"> - <string>4290494403;4290494403;4290494403;4290494403;4290494403;4294556167;4294556167;4290494403;4290494403;4290494403;4284344910</string> - </property> - <property name="trueStrings"> - <string>pneumatic;discrete;present;discrete;present;allowed to move;allowed to move;on;touched;moving;not reached position</string> - </property> - <property name="falseStrings"> - <string>stepper;continuos;not present;continuos;not present;not allowed to move;not allowed to move;off;not touched;not moving;reached position</string> - </property> - <property name="displayMask"> - <string>0,1,2,3,4,5,6,7,8,9,10</string> - </property> - <property name="source"> - <string>$1/MscrStatus</string> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QGroupBox" name="polar1Status_groupBox"> - <property name="geometry"> - <rect> - <x>350</x> - <y>7</y> - <width>260</width> - <height>166</height> - </rect> - </property> - <property name="title"> - <string>polarimeter #1 motor status</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <property name="spacing"> - <number>5</number> - </property> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> - <number>5</number> - </property> - <item> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <widget class="QLabel" name="label_21"> - <property name="minimumSize"> - <size> - <width>130</width> - <height>0</height> - </size> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>motor</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_22"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>position</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_23"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>communication</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_24"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>left limit switch</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_25"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>right limit switch</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="TTable" name="polar1Status_tTable"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="numRows"> - <number>5</number> - </property> - <property name="numColumns"> - <number>1</number> - </property> - <property name="trueColors"> - <string>4278228181;4293342999;4293342999;4290494403;4290494403</string> - </property> - <property name="falseColors"> - <string>4290494403;4290494403;4284344910;4290494403;4290494403</string> - </property> - <property name="trueStrings"> - <string>moving;not reached;error;touched;touched</string> - </property> - <property name="falseStrings"> - <string>not moving;reached;ok;not touched;not touched</string> - </property> - <property name="displayMask"> - <string>0,1,2,3,4</string> - </property> - <property name="source"> - <string>$1/Polar1Status</string> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QGroupBox" name="polar2Status_groupBox"> - <property name="geometry"> - <rect> - <x>350</x> - <y>180</y> - <width>260</width> - <height>165</height> - </rect> - </property> - <property name="title"> - <string>polarimeter #2 motor status</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <property name="spacing"> - <number>5</number> - </property> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> - <number>5</number> - </property> - <item> - <layout class="QVBoxLayout" name="verticalLayout_3"> - <item> - <widget class="QLabel" name="label_26"> - <property name="minimumSize"> - <size> - <width>130</width> - <height>0</height> - </size> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>motor</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_27"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>position</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_28"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>communication</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_29"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>left limit switch</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_30"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>right limit switch</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="TTable" name="polar2Status_tTable"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="numRows"> - <number>5</number> - </property> - <property name="numColumns"> - <number>1</number> - </property> - <property name="trueColors"> - <string>4278228181;4293342999;4293342999;4290494403;4290494403</string> - </property> - <property name="falseColors"> - <string>4290494403;4290494403;4284344910;4290494403;4290494403</string> - </property> - <property name="trueStrings"> - <string>moving;not reached;error;touched;touched</string> - </property> - <property name="falseStrings"> - <string>not moving;reached;ok;not touched;not touched</string> - </property> - <property name="displayMask"> - <string>0,1,2,3,4</string> - </property> - <property name="source"> - <string>$1/Polar2Status</string> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QGroupBox" name="stepperVerStatus_groupBox"> - <property name="geometry"> - <rect> - <x>9</x> - <y>360</y> - <width>290</width> - <height>118</height> - </rect> - </property> - <property name="title"> - <string>VER stepper motor status</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_5"> - <property name="spacing"> - <number>5</number> - </property> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> - <number>5</number> - </property> - <item> - <layout class="QVBoxLayout" name="verticalLayout_5"> - <item> - <widget class="QLabel" name="label_34"> - <property name="minimumSize"> - <size> - <width>135</width> - <height>0</height> - </size> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>motor</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_35"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>motor</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_36"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>communication</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="TTable" name="stepperVerStatus_tTable"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="numRows"> - <number>3</number> - </property> - <property name="numColumns"> - <number>1</number> - </property> - <property name="trueColors"> - <string>4293342999;4278228181;4293342999</string> - </property> - <property name="falseColors"> - <string>4284344910;4290494403;4284344910</string> - </property> - <property name="trueStrings"> - <string>error;moving;error</string> - </property> - <property name="falseStrings"> - <string>ok;not moving;ok</string> - </property> - <property name="displayMask"> - <string>0,1,2</string> - </property> - <property name="source"> - <string>$1/StepperVerStatus</string> - </property> - </widget> - </item> - </layout> - </widget> - <widget class="QGroupBox" name="stepperHorStatus_groupBox"> - <property name="geometry"> - <rect> - <x>320</x> - <y>360</y> - <width>290</width> - <height>118</height> - </rect> - </property> - <property name="title"> - <string>HOR stepper motor status</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <property name="spacing"> - <number>5</number> - </property> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> - <number>5</number> - </property> - <item> - <layout class="QVBoxLayout" name="verticalLayout_4"> - <item> - <widget class="QLabel" name="label_31"> - <property name="minimumSize"> - <size> - <width>130</width> - <height>0</height> - </size> - </property> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>motor</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_32"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>motor</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_33"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="text"> - <string>communication</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="TTable" name="stepperHorStatus_tTable"> - <property name="font"> - <font> - <weight>50</weight> - <bold>false</bold> - </font> - </property> - <property name="numRows"> - <number>3</number> - </property> - <property name="numColumns"> - <number>1</number> - </property> - <property name="trueColors"> - <string>4293342999;4278228181;4293342999</string> - </property> - <property name="falseColors"> - <string>4284344910;4290494403;4284344910</string> - </property> - <property name="trueStrings"> - <string>error;moving;error</string> - </property> - <property name="falseStrings"> - <string>ok;not moving;ok</string> - </property> - <property name="displayMask"> - <string>0,1,2</string> - </property> - <property name="source"> - <string>$1/StepperHorStatus</string> - </property> - </widget> - </item> - </layout> - </widget> - </widget> - </widget> - <widget class="QWidget" name="widget" native="true"> - <property name="geometry"> - <rect> - <x>9</x> - <y>530</y> - <width>620</width> - <height>101</height> - </rect> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>550</width> - <height>101</height> - </size> - </property> - <widget class="EContextHelp" name="eContextHelp"> - <property name="geometry"> - <rect> - <x>550</x> - <y>72</y> - <width>70</width> - <height>28</height> - </rect> - </property> - <property name="text"> - <string/> - </property> - </widget> - <widget class="TLabel" name="status_tLabel"> - <property name="geometry"> - <rect> - <x>19</x> - <y>0</y> - <width>520</width> - <height>100</height> - </rect> - </property> - <property name="text"> - <string/> - </property> - <property name="margin"> - <number>3</number> - </property> - <property name="source"> - <string>$1/Status</string> - </property> - </widget> - <widget class="TPushButton" name="emergencyStop_tPushButton"> - <property name="geometry"> - <rect> - <x>550</x> - <y>0</y> - <width>70</width> - <height>70</height> - </rect> - </property> - <property name="whatsThis"> - <string>Emergency STOP</string> - </property> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset resource="../mscr.qrc"> - <normaloff>:/images/Stop_sign_MUTCD.svg</normaloff>:/images/Stop_sign_MUTCD.svg</iconset> - </property> - <property name="iconSize"> - <size> - <width>67</width> - <height>67</height> - </size> - </property> - <property name="flat"> - <bool>false</bool> - </property> - <property name="targets"> - <string>$1->EmergencyStop</string> - </property> - </widget> - <widget class="TLed" name="state_tLed"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>20</width> - <height>100</height> - </rect> - </property> - <property name="rectangular"> - <bool>true</bool> - </property> - <property name="gradientEnabled"> - <bool>false</bool> - </property> - <property name="ledWidth"> - <number>18</number> - </property> - <property name="ledHeight"> - <number>98</number> - </property> - <property name="source"> - <string>$1/State</string> - </property> - <property name="ledHheight" stdset="0"> - <number>24</number> - </property> - </widget> - </widget> - </widget> - <layoutdefault spacing="6" margin="11"/> - <customwidgets> - <customwidget> - <class>TLabel</class> - <extends>ELabel</extends> - <header>TLabel</header> - </customwidget> - <customwidget> - <class>TTable</class> - <extends>EFlag</extends> - <header>TTable</header> - </customwidget> - <customwidget> - <class>TLed</class> - <extends>ELed</extends> - <header>TLed</header> - </customwidget> - <customwidget> - <class>TApplyNumeric</class> - <extends>EApplyNumeric</extends> - <header>TApplyNumeric</header> - </customwidget> - <customwidget> - <class>TPushButton</class> - <extends>QPushButton</extends> - <header>TPushButton</header> - </customwidget> - <customwidget> - <class>TLogButton</class> - <extends>QPushButton</extends> - <header>TLogButton</header> - </customwidget> - <customwidget> - <class>TReaderWriter</class> - <extends>TLabel</extends> - <header>TReaderWriter</header> - </customwidget> - <customwidget> - <class>ELabel</class> - <extends>QLabel</extends> - <header>ELabel</header> - </customwidget> - <customwidget> - <class>EFlag</class> - <extends>QWidget</extends> - <header>EFlag</header> - </customwidget> - <customwidget> - <class>ELed</class> - <extends>QWidget</extends> - <header>ELed</header> - </customwidget> - <customwidget> - <class>EApplyNumeric</class> - <extends>QWidget</extends> - <header>EApplyNumeric</header> - </customwidget> - <customwidget> - <class>EContextHelp</class> - <extends>QPushButton</extends> - <header>EContextHelp</header> - </customwidget> - </customwidgets> - <resources> - <include location="../mscr.qrc"/> - </resources> - <connections/> -</ui> +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>mscr</class> + <widget class="QWidget" name="mscr"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>640</width> + <height>640</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>640</width> + <height>640</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>640</width> + <height>640</height> + </size> + </property> + <property name="windowTitle"> + <string>mscr</string> + </property> + <widget class="QTabWidget" name="tabWidget"> + <property name="geometry"> + <rect> + <x>9</x> + <y>9</y> + <width>615</width> + <height>507</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="tab_main"> + <attribute name="title"> + <string>Main</string> + </attribute> + <widget class="QComboBox" name="lightLevel_comboBox"> + <property name="geometry"> + <rect> + <x>240</x> + <y>40</y> + <width>90</width> + <height>23</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <item> + <property name="text"> + <string>off</string> + </property> + </item> + <item> + <property name="text"> + <string>high</string> + </property> + </item> + <item> + <property name="text"> + <string>medium</string> + </property> + </item> + <item> + <property name="text"> + <string>low</string> + </property> + </item> + </widget> + <widget class="QLabel" name="label_37"> + <property name="geometry"> + <rect> + <x>240</x> + <y>20</y> + <width>90</width> + <height>20</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Light level</string> + </property> + </widget> + <widget class="QGroupBox" name="selector_groupBox"> + <property name="geometry"> + <rect> + <x>30</x> + <y>20</y> + <width>150</width> + <height>170</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="title"> + <string>selector</string> + </property> + <widget class="QRadioButton" name="position0_radioButton"> + <property name="geometry"> + <rect> + <x>20</x> + <y>20</y> + <width>120</width> + <height>24</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>0</string> + </property> + </widget> + <widget class="QRadioButton" name="position3_radioButton"> + <property name="geometry"> + <rect> + <x>20</x> + <y>110</y> + <width>120</width> + <height>24</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>3</string> + </property> + </widget> + <widget class="QRadioButton" name="position2_radioButton"> + <property name="geometry"> + <rect> + <x>20</x> + <y>80</y> + <width>120</width> + <height>24</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>2</string> + </property> + </widget> + <widget class="QRadioButton" name="position1_radioButton"> + <property name="geometry"> + <rect> + <x>20</x> + <y>50</y> + <width>120</width> + <height>24</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>1</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="QRadioButton" name="position4_radioButton"> + <property name="geometry"> + <rect> + <x>20</x> + <y>140</y> + <width>120</width> + <height>24</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>4</string> + </property> + </widget> + </widget> + <widget class="QGroupBox" name="attenuator1_groupBox"> + <property name="geometry"> + <rect> + <x>10</x> + <y>230</y> + <width>290</width> + <height>100</height> + </rect> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="title"> + <string>attenuator #1</string> + </property> + <widget class="QLabel" name="label_38"> + <property name="geometry"> + <rect> + <x>10</x> + <y>24</y> + <width>100</width> + <height>28</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>attenuation %</string> + </property> + </widget> + <widget class="TReaderWriter" name="polar1Attenuation_tReaderWriter"> + <property name="geometry"> + <rect> + <x>110</x> + <y>24</y> + <width>160</width> + <height>28</height> + </rect> + </property> + <property name="font"> + <font> + <family>Arial</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="zoomEnabled"> + <bool>false</bool> + </property> + </widget> + <widget class="QLabel" name="label_10"> + <property name="geometry"> + <rect> + <x>10</x> + <y>60</y> + <width>139</width> + <height>17</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>max. abs. val. 10^-4</string> + </property> + </widget> + </widget> + <widget class="QGroupBox" name="attenuator2_groupBox"> + <property name="geometry"> + <rect> + <x>320</x> + <y>230</y> + <width>290</width> + <height>100</height> + </rect> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="title"> + <string>attenuator #2</string> + </property> + <widget class="QLabel" name="label_39"> + <property name="geometry"> + <rect> + <x>10</x> + <y>24</y> + <width>100</width> + <height>28</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>attenuation %</string> + </property> + </widget> + <widget class="TReaderWriter" name="polar2Attenuation_tReaderWriter"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>110</x> + <y>24</y> + <width>160</width> + <height>28</height> + </rect> + </property> + <property name="font"> + <font> + <family>Arial</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="source"> + <string>$1/Polar2Attenuation</string> + </property> + <property name="zoomEnabled"> + <bool>false</bool> + </property> + </widget> + <widget class="QLabel" name="label_11"> + <property name="geometry"> + <rect> + <x>16</x> + <y>58</y> + <width>139</width> + <height>17</height> + </rect> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>max. abs. val. 10^-4</string> + </property> + </widget> + </widget> + <widget class="QGroupBox" name="verSlit_groupBox"> + <property name="geometry"> + <rect> + <x>10</x> + <y>350</y> + <width>290</width> + <height>100</height> + </rect> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="title"> + <string>Vertical slit</string> + </property> + <widget class="TApplyNumeric" name="tApplyNumeric"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>120</x> + <y>40</y> + <width>160</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="maximum"> + <double>9999.000000000000000</double> + </property> + <property name="minimum"> + <double>-9999.000000000000000</double> + </property> + <property name="buttonPos" stdset="0"> + <enum>Qt::Horizontal</enum> + </property> + <property name="buttonText"> + <string>APPLY</string> + </property> + <property name="numericFont"> + <font> + <family>Arial</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="targets"> + <string>$1/VerSlitPosition;;;</string> + </property> + </widget> + <widget class="TLabel" name="polar1Attenuation_tLabel_2"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>50</y> + <width>110</width> + <height>28</height> + </rect> + </property> + <property name="font"> + <font> + <family>Arial</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="source"> + <string>$1/VerSlitPosition</string> + </property> + </widget> + <widget class="QLabel" name="label_40"> + <property name="geometry"> + <rect> + <x>10</x> + <y>20</y> + <width>110</width> + <height>30</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>position</string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </widget> + <widget class="QGroupBox" name="horSlit_groupBox"> + <property name="geometry"> + <rect> + <x>320</x> + <y>350</y> + <width>290</width> + <height>100</height> + </rect> + </property> + <property name="font"> + <font> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="title"> + <string>Horizontal slit</string> + </property> + <widget class="QLabel" name="label_42"> + <property name="geometry"> + <rect> + <x>10</x> + <y>20</y> + <width>110</width> + <height>30</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>position</string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + <widget class="TApplyNumeric" name="tApplyNumeric_2"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>120</x> + <y>40</y> + <width>160</width> + <height>41</height> + </rect> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="buttonPos" stdset="0"> + <enum>Qt::Horizontal</enum> + </property> + <property name="buttonText"> + <string>APPLY</string> + </property> + <property name="numericFont"> + <font> + <family>Arial</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="targets"> + <string>$1/HorSlitPosition;;</string> + </property> + </widget> + <widget class="TLabel" name="polar1Attenuation_tLabel_3"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="geometry"> + <rect> + <x>10</x> + <y>50</y> + <width>110</width> + <height>28</height> + </rect> + </property> + <property name="font"> + <font> + <family>Arial</family> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="source"> + <string>$1/HorSlitPosition</string> + </property> + </widget> + </widget> + <widget class="QLabel" name="label_41"> + <property name="geometry"> + <rect> + <x>408</x> + <y>20</y> + <width>127</width> + <height>17</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Light level (straigth)</string> + </property> + </widget> + <widget class="QComboBox" name="lightLevel_comboBox_2"> + <property name="geometry"> + <rect> + <x>408</x> + <y>40</y> + <width>90</width> + <height>23</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <item> + <property name="text"> + <string>off</string> + </property> + </item> + <item> + <property name="text"> + <string>high</string> + </property> + </item> + <item> + <property name="text"> + <string>medium</string> + </property> + </item> + <item> + <property name="text"> + <string>low</string> + </property> + </item> + </widget> + <widget class="TLabel" name="tLabelLightLevel"> + <property name="geometry"> + <rect> + <x>194</x> + <y>39</y> + <width>39</width> + <height>25</height> + </rect> + </property> + <property name="source"> + <string>$1/LightLevel</string> + </property> + </widget> + <widget class="TLabel" name="tLabelLightLevel_2"> + <property name="geometry"> + <rect> + <x>360</x> + <y>39</y> + <width>39</width> + <height>23</height> + </rect> + </property> + <property name="source"> + <string>$1/LightLevel2</string> + </property> + </widget> + </widget> + <widget class="QWidget" name="tab_expert"> + <attribute name="title"> + <string>Expert</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="TPushButton" name="tPushButton_2"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>INIT STEPPER +( init motor + fault reset )</string> + </property> + <property name="targets"> + <string>$1->StepperInit;;;</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="TLogButton" name="tLogButton"/> + </item> + <item row="1" column="0"> + <widget class="TPushButton" name="tPushButton"> + <property name="text"> + <string>RESET CAMERA +( power off + power on )</string> + </property> + <property name="targets"> + <string>$1->CameraReset;;</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="TPushButton" name="tPushButton_3"> + <property name="text"> + <string>INIT ATTENUATOR(s) +( motor homing )</string> + </property> + <property name="targets"> + <string>$1->PolarInit;;;</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="TPushButton" name="tPushButton_4"> + <property name="text"> + <string>RESET ATTENUATOR(s) +( power off + power on )</string> + </property> + <property name="targets"> + <string>$1->PolarReset;;;;</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="TPushButton" name="tPushButton_5"> + <property name="text"> + <string>CAMERA ON +( power on )</string> + </property> + <property name="targets"> + <string>$1->CameraOn;;;</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="TPushButton" name="tPushButton_13"> + <property name="text"> + <string>AUXILIARY OUTPUT ON</string> + </property> + <property name="targets"> + <string>$1->Giulio;;;;;</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="TPushButton" name="tPushButton_6"> + <property name="text"> + <string>CAMERA OFF +( power off )</string> + </property> + <property name="targets"> + <string>$1->CameraOff;;;;</string> + </property> + </widget> + </item> + <item row="5" column="1"> + <widget class="TPushButton" name="tPushButton_14"> + <property name="text"> + <string>AUXILIARY OUTPUT OFF</string> + </property> + <property name="targets"> + <string>$1->Giulio;;;;;</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_status"> + <attribute name="title"> + <string>Status</string> + </attribute> + <widget class="QGroupBox" name="mscrStatus_groupBox"> + <property name="geometry"> + <rect> + <x>9</x> + <y>9</y> + <width>311</width> + <height>371</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>5</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>global status</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>5</number> + </property> + <property name="leftMargin"> + <number>5</number> + </property> + <property name="topMargin"> + <number>5</number> + </property> + <property name="rightMargin"> + <number>5</number> + </property> + <property name="bottomMargin"> + <number>5</number> + </property> + <item> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>movement</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>attenuator #1</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_12"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>attenuator #1</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>attenuator #2</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_4"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>attenuator #2</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_20"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>slits</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_6"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>vertical slit</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_5"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>horizontal slit</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_7"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>light</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_8"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>safety switch</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_9"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>pneumatic piston</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_19"> + <property name="minimumSize"> + <size> + <width>135</width> + <height>0</height> + </size> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>pneumatic piston</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="TTable" name="mscrStatus_tTable"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="numRows"> + <number>12</number> + </property> + <property name="numColumns"> + <number>1</number> + </property> + <property name="trueColors"> + <string>4290494403;4290494403;4290494403;4290494403;4290494403;4290494403;4284344910;4284344910;4290494403;4290494403;4278228181;4293342999</string> + </property> + <property name="falseColors"> + <string>4290494403;4290494403;4290494403;4290494403;4290494403;4290494403;4294556167;4294556167;4290494403;4290494403;4290494403;4284344910</string> + </property> + <property name="trueStrings"> + <string>pneumatic;present;discrete;present;discrete;present;allowed to move;allowed to move;on;touched;moving;not reached position</string> + </property> + <property name="falseStrings"> + <string>stepper;not preset;continuos;not present;continuos;not present;not allowed to move;not allowed to move;off;not touched;not moving;reached position</string> + </property> + <property name="displayMask"> + <string>0,1,2,3,4,5,6,7,8,9,10,11</string> + </property> + <property name="source"> + <string>$1/MscrStatus</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="stepperVerStatus_groupBox"> + <property name="geometry"> + <rect> + <x>9</x> + <y>376</y> + <width>301</width> + <height>101</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>109</height> + </size> + </property> + <property name="title"> + <string>VER stepper motor status</string> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <property name="leftMargin"> + <number>5</number> + </property> + <property name="topMargin"> + <number>5</number> + </property> + <property name="rightMargin"> + <number>5</number> + </property> + <property name="bottomMargin"> + <number>5</number> + </property> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_5"> + <item> + <widget class="QLabel" name="label_34"> + <property name="minimumSize"> + <size> + <width>135</width> + <height>0</height> + </size> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>motor</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_35"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>motor</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_36"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>communication</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="1"> + <widget class="TTable" name="stepperVerStatus_tTable"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="numRows"> + <number>3</number> + </property> + <property name="numColumns"> + <number>1</number> + </property> + <property name="trueColors"> + <string>4293342999;4278228181;4293342999</string> + </property> + <property name="falseColors"> + <string>4284344910;4290494403;4284344910</string> + </property> + <property name="trueStrings"> + <string>error;moving;error</string> + </property> + <property name="falseStrings"> + <string>ok;not moving;ok</string> + </property> + <property name="displayMask"> + <string>0,1,2</string> + </property> + <property name="source"> + <string>$1/StepperVerStatus</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="stepperHorStatus_groupBox"> + <property name="geometry"> + <rect> + <x>316</x> + <y>376</y> + <width>291</width> + <height>101</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>109</height> + </size> + </property> + <property name="title"> + <string>HOR stepper motor status</string> + </property> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <widget class="QLabel" name="label_31"> + <property name="minimumSize"> + <size> + <width>130</width> + <height>0</height> + </size> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>motor</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_32"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>motor</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_33"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>communication</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="1"> + <widget class="TTable" name="stepperHorStatus_tTable"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="numRows"> + <number>3</number> + </property> + <property name="numColumns"> + <number>1</number> + </property> + <property name="trueColors"> + <string>4293342999;4278228181;4293342999</string> + </property> + <property name="falseColors"> + <string>4284344910;4290494403;4284344910</string> + </property> + <property name="trueStrings"> + <string>error;moving;error</string> + </property> + <property name="falseStrings"> + <string>ok;not moving;ok</string> + </property> + <property name="displayMask"> + <string>0,1,2</string> + </property> + <property name="source"> + <string>$1/StepperHorStatus</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="polar1Status_groupBox"> + <property name="geometry"> + <rect> + <x>340</x> + <y>10</y> + <width>261</width> + <height>141</height> + </rect> + </property> + <property name="title"> + <string>polarimeter #1 motor status</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <property name="spacing"> + <number>5</number> + </property> + <property name="leftMargin"> + <number>5</number> + </property> + <property name="topMargin"> + <number>5</number> + </property> + <property name="rightMargin"> + <number>5</number> + </property> + <property name="bottomMargin"> + <number>5</number> + </property> + <item> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QLabel" name="label_21"> + <property name="minimumSize"> + <size> + <width>130</width> + <height>0</height> + </size> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>motor</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_22"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>position</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_23"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>communication</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_24"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>left limit switch</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_25"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>right limit switch</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="TTable" name="polar1Status_tTable"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="numRows"> + <number>5</number> + </property> + <property name="numColumns"> + <number>1</number> + </property> + <property name="trueColors"> + <string>4278228181;4293342999;4293342999;4290494403;4290494403</string> + </property> + <property name="falseColors"> + <string>4290494403;4290494403;4284344910;4290494403;4290494403</string> + </property> + <property name="trueStrings"> + <string>moving;not reached;error;touched;touched</string> + </property> + <property name="falseStrings"> + <string>not moving;reached;ok;not touched;not touched</string> + </property> + <property name="displayMask"> + <string>0,1,2,3,4</string> + </property> + <property name="source"> + <string>$1/Polar1Status</string> + </property> + </widget> + </item> + </layout> + </widget> + <widget class="QGroupBox" name="polar2Status_groupBox"> + <property name="geometry"> + <rect> + <x>340</x> + <y>160</y> + <width>261</width> + <height>151</height> + </rect> + </property> + <property name="title"> + <string>polarimeter #2 motor status</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <property name="spacing"> + <number>5</number> + </property> + <property name="leftMargin"> + <number>5</number> + </property> + <property name="topMargin"> + <number>5</number> + </property> + <property name="rightMargin"> + <number>5</number> + </property> + <property name="bottomMargin"> + <number>5</number> + </property> + <item> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QLabel" name="label_26"> + <property name="minimumSize"> + <size> + <width>130</width> + <height>0</height> + </size> + </property> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>motor</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_27"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>position</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_28"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>communication</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_29"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>left limit switch</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_30"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="text"> + <string>right limit switch</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="TTable" name="polar2Status_tTable"> + <property name="font"> + <font> + <weight>50</weight> + <bold>false</bold> + </font> + </property> + <property name="numRows"> + <number>5</number> + </property> + <property name="numColumns"> + <number>1</number> + </property> + <property name="trueColors"> + <string>4278228181;4293342999;4293342999;4290494403;4290494403</string> + </property> + <property name="falseColors"> + <string>4290494403;4290494403;4284344910;4290494403;4290494403</string> + </property> + <property name="trueStrings"> + <string>moving;not reached;error;touched;touched</string> + </property> + <property name="falseStrings"> + <string>not moving;reached;ok;not touched;not touched</string> + </property> + <property name="displayMask"> + <string>0,1,2,3,4</string> + </property> + <property name="source"> + <string>$1/Polar2Status</string> + </property> + </widget> + </item> + </layout> + </widget> + </widget> + <widget class="QWidget" name="tab_lensctrl"> + <attribute name="title"> + <string>LensCtrl</string> + </attribute> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="1"> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>127</height> + </size> + </property> + </spacer> + </item> + <item row="1" column="0"> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>103</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="1" column="1"> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <property name="spacing"> + <number>12</number> + </property> + <property name="leftMargin"> + <number>6</number> + </property> + <property name="topMargin"> + <number>6</number> + </property> + <property name="rightMargin"> + <number>6</number> + </property> + <property name="bottomMargin"> + <number>6</number> + </property> + <item> + <widget class="QGroupBox" name="groupBox_Focus_4"> + <property name="font"> + <font> + <pointsize>11</pointsize> + </font> + </property> + <property name="title"> + <string>Focus</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <layout class="QVBoxLayout" name="verticalLayout_6"> + <item> + <widget class="TPushButton" name="tPushFocusPlus10_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>+ 10</string> + </property> + <property name="targets"> + <string>$1->SetFocusPlus(10);;;</string> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushFocusPlusOne_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>+1</string> + </property> + <property name="targets"> + <string>$1->SetFocusPlus(1);;</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line_8"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushFocusMinusOne_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>-1</string> + </property> + <property name="targets"> + <string>$1->SetFocusMinus(1);;</string> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushFocusMinus10_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>- 10</string> + </property> + <property name="targets"> + <string>$1->SetFocusMinus(10);;</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_Zoom_4"> + <property name="font"> + <font> + <pointsize>11</pointsize> + </font> + </property> + <property name="title"> + <string>Zoom</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <layout class="QVBoxLayout" name="verticalLayout_7"> + <item> + <widget class="TPushButton" name="tPushZoomPlus10_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>+ 10</string> + </property> + <property name="targets"> + <string>$1->SetZoomPlus(10);;</string> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushZoomPlusOne_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>+1</string> + </property> + <property name="targets"> + <string>$1->SetZoomPlus(1);;;</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line_7"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushZoomMinusOne_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>-1</string> + </property> + <property name="targets"> + <string>$1->SetZoomMinus(1);;</string> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushZoomMinus10_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>- 10</string> + </property> + <property name="targets"> + <string>$1->SetZoomMinus(10);</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_Diaph_4"> + <property name="font"> + <font> + <pointsize>11</pointsize> + </font> + </property> + <property name="layoutDirection"> + <enum>Qt::LeftToRight</enum> + </property> + <property name="title"> + <string>Diaphragm</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <layout class="QVBoxLayout" name="verticalLayout_8"> + <item> + <widget class="TPushButton" name="tPushDiaPlus10_4"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16777215</height> + </size> + </property> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>+ 10</string> + </property> + <property name="targets"> + <string>$1->SetDiaphPlus(10);;</string> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushDiaPlusOne_4"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16777215</height> + </size> + </property> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>+1</string> + </property> + <property name="targets"> + <string>$1->SetDiaphPlus(1);</string> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushDiaMinusOne_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>-1</string> + </property> + <property name="targets"> + <string>$1->SetDiaphMinus(1);;</string> + </property> + </widget> + </item> + <item> + <widget class="TPushButton" name="tPushDiaMinus10_4"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <property name="text"> + <string>- 10</string> + </property> + <property name="targets"> + <string>$1->SetDiaphMinus(10);;</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </item> + <item row="1" column="2"> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>118</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="2" column="1"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>127</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + <widget class="QWidget" name="widget" native="true"> + <property name="geometry"> + <rect> + <x>9</x> + <y>530</y> + <width>620</width> + <height>101</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>550</width> + <height>101</height> + </size> + </property> + <widget class="EContextHelp" name="eContextHelp"> + <property name="geometry"> + <rect> + <x>550</x> + <y>72</y> + <width>70</width> + <height>28</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + </widget> + <widget class="TLabel" name="status_tLabel"> + <property name="geometry"> + <rect> + <x>19</x> + <y>0</y> + <width>520</width> + <height>100</height> + </rect> + </property> + <property name="text"> + <string/> + </property> + <property name="margin"> + <number>3</number> + </property> + <property name="source"> + <string>$1/Status</string> + </property> + </widget> + <widget class="TPushButton" name="emergencyStop_tPushButton"> + <property name="geometry"> + <rect> + <x>550</x> + <y>0</y> + <width>70</width> + <height>70</height> + </rect> + </property> + <property name="whatsThis"> + <string>Emergency STOP</string> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset resource="../mscr.qrc"> + <normaloff>:/images/Stop_sign_MUTCD.svg</normaloff>:/images/Stop_sign_MUTCD.svg</iconset> + </property> + <property name="iconSize"> + <size> + <width>67</width> + <height>67</height> + </size> + </property> + <property name="flat"> + <bool>false</bool> + </property> + <property name="targets"> + <string>$1->EmergencyStop</string> + </property> + </widget> + <widget class="TLed" name="state_tLed"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>20</width> + <height>100</height> + </rect> + </property> + <property name="rectangular"> + <bool>true</bool> + </property> + <property name="gradientEnabled"> + <bool>false</bool> + </property> + <property name="ledWidth"> + <number>18</number> + </property> + <property name="ledHeight"> + <number>98</number> + </property> + <property name="source"> + <string>$1/State</string> + </property> + <property name="ledHheight" stdset="0"> + <number>24</number> + </property> + </widget> + </widget> + </widget> + <layoutdefault spacing="6" margin="11"/> + <customwidgets> + <customwidget> + <class>TLabel</class> + <extends>ELabel</extends> + <header>TLabel</header> + </customwidget> + <customwidget> + <class>TTable</class> + <extends>EFlag</extends> + <header>TTable</header> + </customwidget> + <customwidget> + <class>TLed</class> + <extends>ELed</extends> + <header>TLed</header> + </customwidget> + <customwidget> + <class>TApplyNumeric</class> + <extends>EApplyNumeric</extends> + <header>TApplyNumeric</header> + </customwidget> + <customwidget> + <class>TPushButton</class> + <extends>QPushButton</extends> + <header>TPushButton</header> + </customwidget> + <customwidget> + <class>TLogButton</class> + <extends>QPushButton</extends> + <header>TLogButton</header> + </customwidget> + <customwidget> + <class>TReaderWriter</class> + <extends>TLabel</extends> + <header>TReaderWriter</header> + </customwidget> + <customwidget> + <class>ELabel</class> + <extends>QLabel</extends> + <header>elabel.h</header> + </customwidget> + <customwidget> + <class>EFlag</class> + <extends>QWidget</extends> + <header>eflag.h</header> + </customwidget> + <customwidget> + <class>ELed</class> + <extends>QWidget</extends> + <header>eled.h</header> + </customwidget> + <customwidget> + <class>EApplyNumeric</class> + <extends>QWidget</extends> + <header>eapplynumeric.h</header> + </customwidget> + <customwidget> + <class>EContextHelp</class> + <extends>QPushButton</extends> + <header>econtexthelp.h</header> + </customwidget> + </customwidgets> + <resources> + <include location="../mscr.qrc"/> + </resources> + <connections/> +</ui>