Example #1
0
class Ui_ServerWindow(object):
    def setupUi(self, ServerWindow):
        ServerWindow.setObjectName("ServerWindow")
        ServerWindow.resize(443, 371)
        self.centralwidget = QtGui.QWidget(ServerWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setGeometry(QtCore.QRect(30, 10, 400, 300))
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName("curvewidget")
        ServerWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(ServerWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 443, 22))
        self.menubar.setObjectName("menubar")
        ServerWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(ServerWindow)
        self.statusbar.setObjectName("statusbar")
        ServerWindow.setStatusBar(self.statusbar)

        self.retranslateUi(ServerWindow)
        QtCore.QMetaObject.connectSlotsByName(ServerWindow)

    def retranslateUi(self, ServerWindow):
        ServerWindow.setWindowTitle(QtGui.QApplication.translate("ServerWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
Example #2
0
class Ui_ScopeWindow(object):
    def setupUi(self, ScopeWindow):
        ScopeWindow.setObjectName(_fromUtf8("ScopeWindow"))
        ScopeWindow.resize(1104, 737)
        self.centralwidget = QtGui.QWidget(ScopeWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.ScopeSettings = QtGui.QGroupBox(self.centralwidget)
        self.ScopeSettings.setObjectName(_fromUtf8("ScopeSettings"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.ScopeSettings)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.SampleSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.SampleSettings.sizePolicy().hasHeightForWidth())
        self.SampleSettings.setSizePolicy(sizePolicy)
        self.SampleSettings.setObjectName(_fromUtf8("SampleSettings"))
        self.gridLayout = QtGui.QGridLayout(self.SampleSettings)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(self.SampleSettings)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.samplesSpinBox = QtGui.QSpinBox(self.SampleSettings)
        self.samplesSpinBox.setMinimum(32)
        self.samplesSpinBox.setMaximum(999999999)
        self.samplesSpinBox.setSingleStep(64)
        self.samplesSpinBox.setProperty("value", 1024)
        self.samplesSpinBox.setObjectName(_fromUtf8("samplesSpinBox"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.samplesSpinBox)
        self.label_2 = QtGui.QLabel(self.SampleSettings)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.recordsSpinBox = QtGui.QSpinBox(self.SampleSettings)
        self.recordsSpinBox.setMinimum(1)
        self.recordsSpinBox.setMaximum(999999999)
        self.recordsSpinBox.setObjectName(_fromUtf8("recordsSpinBox"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.recordsSpinBox)
        self.label_3 = QtGui.QLabel(self.SampleSettings)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.buffersSpinBox = QtGui.QSpinBox(self.SampleSettings)
        self.buffersSpinBox.setMinimum(1)
        self.buffersSpinBox.setMaximum(999999999)
        self.buffersSpinBox.setObjectName(_fromUtf8("buffersSpinBox"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.buffersSpinBox)
        self.label_21 = QtGui.QLabel(self.SampleSettings)
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole,
                                  self.label_21)
        self.recordsPerAcquisitionSpinBox = QtGui.QSpinBox(self.SampleSettings)
        self.recordsPerAcquisitionSpinBox.setMinimum(1)
        self.recordsPerAcquisitionSpinBox.setMaximum(999999999)
        self.recordsPerAcquisitionSpinBox.setProperty("value", 1)
        self.recordsPerAcquisitionSpinBox.setObjectName(
            _fromUtf8("recordsPerAcquisitionSpinBox"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.recordsPerAcquisitionSpinBox)
        self.gridLayout.addLayout(self.formLayout, 0, 0, 1, 1)
        self.verticalLayout_5.addWidget(self.SampleSettings)
        self.VerticalSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.VerticalSettings.sizePolicy().hasHeightForWidth())
        self.VerticalSettings.setSizePolicy(sizePolicy)
        self.VerticalSettings.setObjectName(_fromUtf8("VerticalSettings"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.VerticalSettings)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.Ch1Vertical = QtGui.QGroupBox(self.VerticalSettings)
        self.Ch1Vertical.setObjectName(_fromUtf8("Ch1Vertical"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.Ch1Vertical)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.formLayout_5 = QtGui.QFormLayout()
        self.formLayout_5.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_5.setObjectName(_fromUtf8("formLayout_5"))
        self.ch1_enabledCheckBox = QtGui.QCheckBox(self.Ch1Vertical)
        self.ch1_enabledCheckBox.setChecked(True)
        self.ch1_enabledCheckBox.setObjectName(
            _fromUtf8("ch1_enabledCheckBox"))
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.LabelRole,
                                    self.ch1_enabledCheckBox)
        self.ch1_filteredCheckBox = QtGui.QCheckBox(self.Ch1Vertical)
        self.ch1_filteredCheckBox.setObjectName(
            _fromUtf8("ch1_filteredCheckBox"))
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.FieldRole,
                                    self.ch1_filteredCheckBox)
        self.label_16 = QtGui.QLabel(self.Ch1Vertical)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.formLayout_5.setWidget(1, QtGui.QFormLayout.LabelRole,
                                    self.label_16)
        self.ch1_rangeComboBox = QtGui.QComboBox(self.Ch1Vertical)
        self.ch1_rangeComboBox.setObjectName(_fromUtf8("ch1_rangeComboBox"))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.formLayout_5.setWidget(1, QtGui.QFormLayout.FieldRole,
                                    self.ch1_rangeComboBox)
        self.label_17 = QtGui.QLabel(self.Ch1Vertical)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout_5.setWidget(2, QtGui.QFormLayout.LabelRole,
                                    self.label_17)
        self.ch1_couplingComboBox = QtGui.QComboBox(self.Ch1Vertical)
        self.ch1_couplingComboBox.setObjectName(
            _fromUtf8("ch1_couplingComboBox"))
        self.ch1_couplingComboBox.addItem(_fromUtf8(""))
        self.ch1_couplingComboBox.addItem(_fromUtf8(""))
        self.formLayout_5.setWidget(2, QtGui.QFormLayout.FieldRole,
                                    self.ch1_couplingComboBox)
        self.verticalLayout_3.addLayout(self.formLayout_5)
        self.horizontalLayout_2.addWidget(self.Ch1Vertical)
        self.Ch2Vertical = QtGui.QGroupBox(self.VerticalSettings)
        self.Ch2Vertical.setObjectName(_fromUtf8("Ch2Vertical"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.Ch2Vertical)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.formLayout_6 = QtGui.QFormLayout()
        self.formLayout_6.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_6.setObjectName(_fromUtf8("formLayout_6"))
        self.ch2_enabledCheckBox = QtGui.QCheckBox(self.Ch2Vertical)
        self.ch2_enabledCheckBox.setChecked(True)
        self.ch2_enabledCheckBox.setObjectName(
            _fromUtf8("ch2_enabledCheckBox"))
        self.formLayout_6.setWidget(0, QtGui.QFormLayout.LabelRole,
                                    self.ch2_enabledCheckBox)
        self.ch2_filteredCheckBox = QtGui.QCheckBox(self.Ch2Vertical)
        self.ch2_filteredCheckBox.setObjectName(
            _fromUtf8("ch2_filteredCheckBox"))
        self.formLayout_6.setWidget(0, QtGui.QFormLayout.FieldRole,
                                    self.ch2_filteredCheckBox)
        self.label_18 = QtGui.QLabel(self.Ch2Vertical)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.LabelRole,
                                    self.label_18)
        self.ch2_rangeComboBox = QtGui.QComboBox(self.Ch2Vertical)
        self.ch2_rangeComboBox.setObjectName(_fromUtf8("ch2_rangeComboBox"))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.FieldRole,
                                    self.ch2_rangeComboBox)
        self.label_19 = QtGui.QLabel(self.Ch2Vertical)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.formLayout_6.setWidget(2, QtGui.QFormLayout.LabelRole,
                                    self.label_19)
        self.ch2_couplingComboBox = QtGui.QComboBox(self.Ch2Vertical)
        self.ch2_couplingComboBox.setObjectName(
            _fromUtf8("ch2_couplingComboBox"))
        self.ch2_couplingComboBox.addItem(_fromUtf8(""))
        self.ch2_couplingComboBox.addItem(_fromUtf8(""))
        self.formLayout_6.setWidget(2, QtGui.QFormLayout.FieldRole,
                                    self.ch2_couplingComboBox)
        self.verticalLayout_4.addLayout(self.formLayout_6)
        self.horizontalLayout_2.addWidget(self.Ch2Vertical)
        self.verticalLayout_5.addWidget(self.VerticalSettings)
        self.ClockSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ClockSettings.sizePolicy().hasHeightForWidth())
        self.ClockSettings.setSizePolicy(sizePolicy)
        self.ClockSettings.setObjectName(_fromUtf8("ClockSettings"))
        self.verticalLayout = QtGui.QVBoxLayout(self.ClockSettings)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_6 = QtGui.QLabel(self.ClockSettings)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole,
                                    self.label_6)
        self.samplerateComboBox = QtGui.QComboBox(self.ClockSettings)
        self.samplerateComboBox.setObjectName(_fromUtf8("samplerateComboBox"))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole,
                                    self.samplerateComboBox)
        self.label_4 = QtGui.QLabel(self.ClockSettings)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole,
                                    self.label_4)
        self.clocksourceComboBox = QtGui.QComboBox(self.ClockSettings)
        self.clocksourceComboBox.setObjectName(
            _fromUtf8("clocksourceComboBox"))
        self.clocksourceComboBox.addItem(_fromUtf8(""))
        self.clocksourceComboBox.addItem(_fromUtf8(""))
        self.clocksourceComboBox.addItem(_fromUtf8(""))
        self.clocksourceComboBox.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole,
                                    self.clocksourceComboBox)
        self.label_5 = QtGui.QLabel(self.ClockSettings)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole,
                                    self.label_5)
        self.clockedgeComboBox = QtGui.QComboBox(self.ClockSettings)
        self.clockedgeComboBox.setObjectName(_fromUtf8("clockedgeComboBox"))
        self.clockedgeComboBox.addItem(_fromUtf8(""))
        self.clockedgeComboBox.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole,
                                    self.clockedgeComboBox)
        self.label_10 = QtGui.QLabel(self.ClockSettings)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole,
                                    self.label_10)
        self.timeoutSpinBox = QtGui.QSpinBox(self.ClockSettings)
        self.timeoutSpinBox.setMaximum(1000000000)
        self.timeoutSpinBox.setProperty("value", 5000)
        self.timeoutSpinBox.setObjectName(_fromUtf8("timeoutSpinBox"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole,
                                    self.timeoutSpinBox)
        self.verticalLayout.addLayout(self.formLayout_2)
        self.verticalLayout_5.addWidget(self.ClockSettings)
        self.TriggerSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.TriggerSettings.sizePolicy().hasHeightForWidth())
        self.TriggerSettings.setSizePolicy(sizePolicy)
        self.TriggerSettings.setObjectName(_fromUtf8("TriggerSettings"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.TriggerSettings)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.formLayout_3 = QtGui.QFormLayout()
        self.formLayout_3.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.label_7 = QtGui.QLabel(self.TriggerSettings)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole,
                                    self.label_7)
        self.trig1_sourceComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trig1_sourceComboBox.setObjectName(
            _fromUtf8("trig1_sourceComboBox"))
        self.trig1_sourceComboBox.addItem(_fromUtf8(""))
        self.trig1_sourceComboBox.addItem(_fromUtf8(""))
        self.trig1_sourceComboBox.addItem(_fromUtf8(""))
        self.trig1_sourceComboBox.addItem(_fromUtf8(""))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole,
                                    self.trig1_sourceComboBox)
        self.trig1_edgeComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trig1_edgeComboBox.setObjectName(_fromUtf8("trig1_edgeComboBox"))
        self.trig1_edgeComboBox.addItem(_fromUtf8(""))
        self.trig1_edgeComboBox.addItem(_fromUtf8(""))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole,
                                    self.trig1_edgeComboBox)
        self.label_9 = QtGui.QLabel(self.TriggerSettings)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole,
                                    self.label_9)
        self.trig1_levelSpinBox = QtGui.QDoubleSpinBox(self.TriggerSettings)
        self.trig1_levelSpinBox.setProperty("value", 1.0)
        self.trig1_levelSpinBox.setObjectName(_fromUtf8("trig1_levelSpinBox"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole,
                                    self.trig1_levelSpinBox)
        self.label_11 = QtGui.QLabel(self.TriggerSettings)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole,
                                    self.label_11)
        self.trigCouplingComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trigCouplingComboBox.setObjectName(
            _fromUtf8("trigCouplingComboBox"))
        self.trigCouplingComboBox.addItem(_fromUtf8(""))
        self.trigCouplingComboBox.addItem(_fromUtf8(""))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole,
                                    self.trigCouplingComboBox)
        self.label_8 = QtGui.QLabel(self.TriggerSettings)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole,
                                    self.label_8)
        self.horizontalLayout.addLayout(self.formLayout_3)
        self.formLayout_4 = QtGui.QFormLayout()
        self.formLayout_4.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_4.setObjectName(_fromUtf8("formLayout_4"))
        self.label_12 = QtGui.QLabel(self.TriggerSettings)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole,
                                    self.label_12)
        self.trig2_sourceComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trig2_sourceComboBox.setObjectName(
            _fromUtf8("trig2_sourceComboBox"))
        self.trig2_sourceComboBox.addItem(_fromUtf8(""))
        self.trig2_sourceComboBox.addItem(_fromUtf8(""))
        self.trig2_sourceComboBox.addItem(_fromUtf8(""))
        self.trig2_sourceComboBox.addItem(_fromUtf8(""))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole,
                                    self.trig2_sourceComboBox)
        self.trig2_edgeComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trig2_edgeComboBox.setObjectName(_fromUtf8("trig2_edgeComboBox"))
        self.trig2_edgeComboBox.addItem(_fromUtf8(""))
        self.trig2_edgeComboBox.addItem(_fromUtf8(""))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole,
                                    self.trig2_edgeComboBox)
        self.label_13 = QtGui.QLabel(self.TriggerSettings)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole,
                                    self.label_13)
        self.trig2_levelSpinBox = QtGui.QDoubleSpinBox(self.TriggerSettings)
        self.trig2_levelSpinBox.setProperty("value", 1.0)
        self.trig2_levelSpinBox.setObjectName(_fromUtf8("trig2_levelSpinBox"))
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole,
                                    self.trig2_levelSpinBox)
        self.label_14 = QtGui.QLabel(self.TriggerSettings)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole,
                                    self.label_14)
        self.label_15 = QtGui.QLabel(self.TriggerSettings)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole,
                                    self.label_15)
        self.trigOpComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trigOpComboBox.setObjectName(_fromUtf8("trigOpComboBox"))
        self.trigOpComboBox.addItem(_fromUtf8(""))
        self.trigOpComboBox.addItem(_fromUtf8(""))
        self.trigOpComboBox.addItem(_fromUtf8(""))
        self.trigOpComboBox.addItem(_fromUtf8(""))
        self.formLayout_4.setWidget(3, QtGui.QFormLayout.FieldRole,
                                    self.trigOpComboBox)
        self.horizontalLayout.addLayout(self.formLayout_4)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.verticalLayout_5.addWidget(self.TriggerSettings)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem)
        self.horizontalLayout_5.addWidget(self.ScopeSettings)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.datapathButton = QtGui.QPushButton(self.centralwidget)
        self.datapathButton.setObjectName(_fromUtf8("datapathButton"))
        self.horizontalLayout_3.addWidget(self.datapathButton)
        self.datapathLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.datapathLineEdit.setObjectName(_fromUtf8("datapathLineEdit"))
        self.horizontalLayout_3.addWidget(self.datapathLineEdit)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.label_20 = QtGui.QLabel(self.centralwidget)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.horizontalLayout_6.addWidget(self.label_20)
        self.filenumberLabel = QtGui.QLabel(self.centralwidget)
        self.filenumberLabel.setObjectName(_fromUtf8("filenumberLabel"))
        self.horizontalLayout_6.addWidget(self.filenumberLabel)
        self.prefixLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.prefixLineEdit.setObjectName(_fromUtf8("prefixLineEdit"))
        self.horizontalLayout_6.addWidget(self.prefixLineEdit)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.runButton = QtGui.QPushButton(self.centralwidget)
        self.runButton.setObjectName(_fromUtf8("runButton"))
        self.horizontalLayout_4.addWidget(self.runButton)
        self.saveButton = QtGui.QPushButton(self.centralwidget)
        self.saveButton.setObjectName(_fromUtf8("saveButton"))
        self.horizontalLayout_4.addWidget(self.saveButton)
        self.autosaveCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.autosaveCheckBox.setObjectName(_fromUtf8("autosaveCheckBox"))
        self.horizontalLayout_4.addWidget(self.autosaveCheckBox)
        self.autorunCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.autorunCheckBox.setChecked(True)
        self.autorunCheckBox.setObjectName(_fromUtf8("autorunCheckBox"))
        self.horizontalLayout_4.addWidget(self.autorunCheckBox)
        self.PSDCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.PSDCheckBox.setObjectName(_fromUtf8("PSDCheckBox"))
        self.horizontalLayout_4.addWidget(self.PSDCheckBox)
        self.x_autoscaleCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.x_autoscaleCheckBox.setEnabled(False)
        self.x_autoscaleCheckBox.setChecked(True)
        self.x_autoscaleCheckBox.setObjectName(
            _fromUtf8("x_autoscaleCheckBox"))
        self.horizontalLayout_4.addWidget(self.x_autoscaleCheckBox)
        self.y_autoscaleCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.y_autoscaleCheckBox.setEnabled(False)
        self.y_autoscaleCheckBox.setChecked(True)
        self.y_autoscaleCheckBox.setObjectName(
            _fromUtf8("y_autoscaleCheckBox"))
        self.horizontalLayout_4.addWidget(self.y_autoscaleCheckBox)
        self.autoscaleCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.autoscaleCheckBox.setChecked(True)
        self.autoscaleCheckBox.setObjectName(_fromUtf8("autoscaleCheckBox"))
        self.horizontalLayout_4.addWidget(self.autoscaleCheckBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.verticalLayout_2.addWidget(self.curvewidget)
        self.horizontalLayout_5.addLayout(self.verticalLayout_2)
        ScopeWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(ScopeWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1104, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        ScopeWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(ScopeWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        ScopeWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(ScopeWindow)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        ScopeWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)

        self.retranslateUi(ScopeWindow)
        self.trig1_sourceComboBox.setCurrentIndex(2)
        self.trig2_sourceComboBox.setCurrentIndex(3)
        QtCore.QMetaObject.connectSlotsByName(ScopeWindow)

    def retranslateUi(self, ScopeWindow):
        ScopeWindow.setWindowTitle(
            QtGui.QApplication.translate("ScopeWindow", "DScope", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ScopeSettings.setTitle(
            QtGui.QApplication.translate("ScopeWindow", "Scope Settings", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.SampleSettings.setTitle(
            QtGui.QApplication.translate("ScopeWindow",
                                         "Sample / Buffer Settings", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ScopeWindow", "Samples", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("ScopeWindow", "Records per Buffer",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("ScopeWindow", "Buffers", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_21.setText(
            QtGui.QApplication.translate("ScopeWindow",
                                         "Records per Acquisition", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.VerticalSettings.setTitle(
            QtGui.QApplication.translate("ScopeWindow", "Vertical Settings",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.Ch1Vertical.setTitle(
            QtGui.QApplication.translate("ScopeWindow", "Channel 1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_enabledCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "Enabled", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_filteredCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "Filtered", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_16.setText(
            QtGui.QApplication.translate("ScopeWindow", "Range", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "4 V", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "2 V", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(
            2,
            QtGui.QApplication.translate("ScopeWindow", "1 V", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(
            3,
            QtGui.QApplication.translate("ScopeWindow", "400 mV", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(
            4,
            QtGui.QApplication.translate("ScopeWindow", "200 mV", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(
            5,
            QtGui.QApplication.translate("ScopeWindow", "100 mV", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(
            6,
            QtGui.QApplication.translate("ScopeWindow", "40 mV", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_17.setText(
            QtGui.QApplication.translate("ScopeWindow", "Coupling", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_couplingComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "DC", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch1_couplingComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "AC", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.Ch2Vertical.setTitle(
            QtGui.QApplication.translate("ScopeWindow", "Channel 2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_enabledCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "Enabled", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_filteredCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "Filtered", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_18.setText(
            QtGui.QApplication.translate("ScopeWindow", "Range", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "4 V", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "2 V", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(
            2,
            QtGui.QApplication.translate("ScopeWindow", "1 V", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(
            3,
            QtGui.QApplication.translate("ScopeWindow", "400 mV", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(
            4,
            QtGui.QApplication.translate("ScopeWindow", "200 mV", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(
            5,
            QtGui.QApplication.translate("ScopeWindow", "100 mV", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(
            6,
            QtGui.QApplication.translate("ScopeWindow", "40 mV", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_19.setText(
            QtGui.QApplication.translate("ScopeWindow", "Coupling", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_couplingComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "DC", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ch2_couplingComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "AC", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ClockSettings.setTitle(
            QtGui.QApplication.translate("ScopeWindow", "Clock Settings", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(
            QtGui.QApplication.translate("ScopeWindow", "Clock Rate", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "1 GHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "500 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            2,
            QtGui.QApplication.translate("ScopeWindow", "250 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            3,
            QtGui.QApplication.translate("ScopeWindow", "100 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            4,
            QtGui.QApplication.translate("ScopeWindow", "50 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            5,
            QtGui.QApplication.translate("ScopeWindow", "20 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            6,
            QtGui.QApplication.translate("ScopeWindow", "10 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            7,
            QtGui.QApplication.translate("ScopeWindow", "5 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            8,
            QtGui.QApplication.translate("ScopeWindow", "2 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            9,
            QtGui.QApplication.translate("ScopeWindow", "1 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            10,
            QtGui.QApplication.translate("ScopeWindow", "20 kHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            11,
            QtGui.QApplication.translate("ScopeWindow", "10 kHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            12,
            QtGui.QApplication.translate("ScopeWindow", "5 kHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            13,
            QtGui.QApplication.translate("ScopeWindow", "2 kHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(
            14,
            QtGui.QApplication.translate("ScopeWindow", "1 kHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(
            QtGui.QApplication.translate("ScopeWindow", "Clock Source", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.clocksourceComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "internal", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.clocksourceComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "reference", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.clocksourceComboBox.setItemText(
            2,
            QtGui.QApplication.translate("ScopeWindow", "60 MHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.clocksourceComboBox.setItemText(
            3,
            QtGui.QApplication.translate("ScopeWindow", "1 GHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate("ScopeWindow", "Clock Edge", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.clockedgeComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "rising", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.clockedgeComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "falling", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(
            QtGui.QApplication.translate("ScopeWindow", "Timeout", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.TriggerSettings.setTitle(
            QtGui.QApplication.translate("ScopeWindow", "Trigger Settings",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(
            QtGui.QApplication.translate("ScopeWindow", "Source 1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig1_sourceComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "CH_A", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig1_sourceComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "CH_B", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig1_sourceComboBox.setItemText(
            2,
            QtGui.QApplication.translate("ScopeWindow", "external", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig1_sourceComboBox.setItemText(
            3,
            QtGui.QApplication.translate("ScopeWindow", "disabled", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig1_edgeComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "rising", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig1_edgeComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "falling", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(
            QtGui.QApplication.translate("ScopeWindow", "Level 1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(
            QtGui.QApplication.translate("ScopeWindow", "Coupling", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trigCouplingComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "DC", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trigCouplingComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "AC", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(
            QtGui.QApplication.translate("ScopeWindow", "Edge 1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(
            QtGui.QApplication.translate("ScopeWindow", "Source 2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig2_sourceComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "CH_A", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig2_sourceComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "CH_B", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig2_sourceComboBox.setItemText(
            2,
            QtGui.QApplication.translate("ScopeWindow", "external", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig2_sourceComboBox.setItemText(
            3,
            QtGui.QApplication.translate("ScopeWindow", "disabled", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig2_edgeComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "rising", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trig2_edgeComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "falling", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(
            QtGui.QApplication.translate("ScopeWindow", "Level 2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(
            QtGui.QApplication.translate("ScopeWindow", "Operation", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(
            QtGui.QApplication.translate("ScopeWindow", "Edge 2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trigOpComboBox.setItemText(
            0,
            QtGui.QApplication.translate("ScopeWindow", "or", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trigOpComboBox.setItemText(
            1,
            QtGui.QApplication.translate("ScopeWindow", "and", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trigOpComboBox.setItemText(
            2,
            QtGui.QApplication.translate("ScopeWindow", "xor", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.trigOpComboBox.setItemText(
            3,
            QtGui.QApplication.translate("ScopeWindow", "and not", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.datapathButton.setText(
            QtGui.QApplication.translate("ScopeWindow", "Datapath", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_20.setText(
            QtGui.QApplication.translate("ScopeWindow", "File Prefix", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.filenumberLabel.setText(
            QtGui.QApplication.translate("ScopeWindow", "000_", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.prefixLineEdit.setText(
            QtGui.QApplication.translate("ScopeWindow", "trace", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.runButton.setText(
            QtGui.QApplication.translate("ScopeWindow", "Run", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.saveButton.setText(
            QtGui.QApplication.translate("ScopeWindow", "Save", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.autosaveCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "autosave", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.autorunCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "autorun", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.PSDCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "PSD", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.x_autoscaleCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "autoscale X", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.y_autoscaleCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "autoscale Y", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.autoscaleCheckBox.setText(
            QtGui.QApplication.translate("ScopeWindow", "autoscale", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(
            QtGui.QApplication.translate("ScopeWindow", "toolBar", None,
                                         QtGui.QApplication.UnicodeUTF8))
Example #3
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1838, 922)
        self.centralwidget = QtGui.QWidget(MainWindow)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.centralwidget.setFont(font)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_2.setContentsMargins(-1, 0, -1, 0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setContentsMargins(-1, -1, -1, 0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.scrollArea = QtGui.QScrollArea(self.centralwidget)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(
            0, 0, 1816, 898))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.groupBox_condition = QtGui.QGroupBox(
            self.scrollAreaWidgetContents)
        self.groupBox_condition.setGeometry(QtCore.QRect(10, 670, 321, 61))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_condition.setFont(font)
        self.groupBox_condition.setObjectName(_fromUtf8("groupBox_condition"))
        self.label_condition = QtGui.QLabel(self.groupBox_condition)
        self.label_condition.setGeometry(QtCore.QRect(10, 20, 301, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_condition.setFont(font)
        self.label_condition.setText(_fromUtf8(""))
        self.label_condition.setObjectName(_fromUtf8("label_condition"))
        self.groupBox_control = QtGui.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_control.setEnabled(True)
        self.groupBox_control.setGeometry(QtCore.QRect(10, 350, 321, 61))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_control.setFont(font)
        self.groupBox_control.setObjectName(_fromUtf8("groupBox_control"))
        self.pushButton_Start = QtGui.QPushButton(self.groupBox_control)
        self.pushButton_Start.setGeometry(QtCore.QRect(30, 20, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Start.setFont(font)
        self.pushButton_Start.setObjectName(_fromUtf8("pushButton_Start"))
        self.pushButton_Pause = QtGui.QPushButton(self.groupBox_control)
        self.pushButton_Pause.setGeometry(QtCore.QRect(130, 20, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Pause.setFont(font)
        self.pushButton_Pause.setObjectName(_fromUtf8("pushButton_Pause"))
        self.pushButton_Stop = QtGui.QPushButton(self.groupBox_control)
        self.pushButton_Stop.setGeometry(QtCore.QRect(230, 20, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Stop.setFont(font)
        self.pushButton_Stop.setObjectName(_fromUtf8("pushButton_Stop"))
        self.groupBox_parameters = QtGui.QGroupBox(
            self.scrollAreaWidgetContents)
        self.groupBox_parameters.setEnabled(True)
        self.groupBox_parameters.setGeometry(QtCore.QRect(10, 420, 321, 241))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_parameters.setFont(font)
        self.groupBox_parameters.setObjectName(
            _fromUtf8("groupBox_parameters"))
        self.label_V1 = QtGui.QLabel(self.groupBox_parameters)
        self.label_V1.setGeometry(QtCore.QRect(130, 50, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_V1.setFont(font)
        self.label_V1.setObjectName(_fromUtf8("label_V1"))
        self.label_step = QtGui.QLabel(self.groupBox_parameters)
        self.label_step.setGeometry(QtCore.QRect(100, 20, 61, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_step.setFont(font)
        self.label_step.setText(_fromUtf8(""))
        self.label_step.setObjectName(_fromUtf8("label_step"))
        self.label_Step = QtGui.QLabel(self.groupBox_parameters)
        self.label_Step.setGeometry(QtCore.QRect(50, 20, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_Step.setFont(font)
        self.label_Step.setObjectName(_fromUtf8("label_Step"))
        self.label_U1 = QtGui.QLabel(self.groupBox_parameters)
        self.label_U1.setGeometry(QtCore.QRect(240, 50, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_U1.setFont(font)
        self.label_U1.setObjectName(_fromUtf8("label_U1"))
        self.label_P1 = QtGui.QLabel(self.groupBox_parameters)
        self.label_P1.setGeometry(QtCore.QRect(30, 50, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_P1.setFont(font)
        self.label_P1.setObjectName(_fromUtf8("label_P1"))
        self.label_Time = QtGui.QLabel(self.groupBox_parameters)
        self.label_Time.setGeometry(QtCore.QRect(150, 20, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_Time.setFont(font)
        self.label_Time.setObjectName(_fromUtf8("label_Time"))
        self.label_time = QtGui.QLabel(self.groupBox_parameters)
        self.label_time.setGeometry(QtCore.QRect(200, 20, 61, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_time.setFont(font)
        self.label_time.setText(_fromUtf8(""))
        self.label_time.setObjectName(_fromUtf8("label_time"))
        self.label_timeunit = QtGui.QLabel(self.groupBox_parameters)
        self.label_timeunit.setGeometry(QtCore.QRect(260, 20, 31, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_timeunit.setFont(font)
        self.label_timeunit.setObjectName(_fromUtf8("label_timeunit"))
        self.label_U2 = QtGui.QLabel(self.groupBox_parameters)
        self.label_U2.setGeometry(QtCore.QRect(240, 80, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_U2.setFont(font)
        self.label_U2.setObjectName(_fromUtf8("label_U2"))
        self.label_P2 = QtGui.QLabel(self.groupBox_parameters)
        self.label_P2.setGeometry(QtCore.QRect(30, 80, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_P2.setFont(font)
        self.label_P2.setObjectName(_fromUtf8("label_P2"))
        self.label_V2 = QtGui.QLabel(self.groupBox_parameters)
        self.label_V2.setGeometry(QtCore.QRect(130, 80, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_V2.setFont(font)
        self.label_V2.setObjectName(_fromUtf8("label_V2"))
        self.label_U3 = QtGui.QLabel(self.groupBox_parameters)
        self.label_U3.setGeometry(QtCore.QRect(240, 110, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_U3.setFont(font)
        self.label_U3.setObjectName(_fromUtf8("label_U3"))
        self.label_P3 = QtGui.QLabel(self.groupBox_parameters)
        self.label_P3.setGeometry(QtCore.QRect(30, 110, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_P3.setFont(font)
        self.label_P3.setObjectName(_fromUtf8("label_P3"))
        self.label_V3 = QtGui.QLabel(self.groupBox_parameters)
        self.label_V3.setGeometry(QtCore.QRect(130, 110, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_V3.setFont(font)
        self.label_V3.setObjectName(_fromUtf8("label_V3"))
        self.label_U4 = QtGui.QLabel(self.groupBox_parameters)
        self.label_U4.setGeometry(QtCore.QRect(240, 140, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_U4.setFont(font)
        self.label_U4.setObjectName(_fromUtf8("label_U4"))
        self.label_P4 = QtGui.QLabel(self.groupBox_parameters)
        self.label_P4.setGeometry(QtCore.QRect(30, 140, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_P4.setFont(font)
        self.label_P4.setObjectName(_fromUtf8("label_P4"))
        self.label_V4 = QtGui.QLabel(self.groupBox_parameters)
        self.label_V4.setGeometry(QtCore.QRect(130, 140, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_V4.setFont(font)
        self.label_V4.setObjectName(_fromUtf8("label_V4"))
        self.label_U5 = QtGui.QLabel(self.groupBox_parameters)
        self.label_U5.setGeometry(QtCore.QRect(240, 170, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_U5.setFont(font)
        self.label_U5.setObjectName(_fromUtf8("label_U5"))
        self.label_P5 = QtGui.QLabel(self.groupBox_parameters)
        self.label_P5.setGeometry(QtCore.QRect(30, 170, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_P5.setFont(font)
        self.label_P5.setObjectName(_fromUtf8("label_P5"))
        self.label_V5 = QtGui.QLabel(self.groupBox_parameters)
        self.label_V5.setGeometry(QtCore.QRect(130, 170, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_V5.setFont(font)
        self.label_V5.setObjectName(_fromUtf8("label_V5"))
        self.label_U6 = QtGui.QLabel(self.groupBox_parameters)
        self.label_U6.setGeometry(QtCore.QRect(240, 200, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_U6.setFont(font)
        self.label_U6.setObjectName(_fromUtf8("label_U6"))
        self.label_P6 = QtGui.QLabel(self.groupBox_parameters)
        self.label_P6.setGeometry(QtCore.QRect(30, 200, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_P6.setFont(font)
        self.label_P6.setObjectName(_fromUtf8("label_P6"))
        self.label_V6 = QtGui.QLabel(self.groupBox_parameters)
        self.label_V6.setGeometry(QtCore.QRect(130, 200, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_V6.setFont(font)
        self.label_V6.setObjectName(_fromUtf8("label_V6"))
        self.tabWidget_visa = QtGui.QTabWidget(self.scrollAreaWidgetContents)
        self.tabWidget_visa.setGeometry(QtCore.QRect(10, 10, 321, 221))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.tabWidget_visa.setFont(font)
        self.tabWidget_visa.setObjectName(_fromUtf8("tabWidget_visa"))
        self.tab_228 = QtGui.QWidget()
        self.tab_228.setObjectName(_fromUtf8("tab_228"))
        self.label_chooseVisa_1 = QtGui.QLabel(self.tab_228)
        self.label_chooseVisa_1.setGeometry(QtCore.QRect(20, 0, 201, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_chooseVisa_1.setFont(font)
        self.label_chooseVisa_1.setObjectName(_fromUtf8("label_chooseVisa_1"))
        self.pushButton_select_1 = QtGui.QPushButton(self.tab_228)
        self.pushButton_select_1.setGeometry(QtCore.QRect(30, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_select_1.setFont(font)
        self.pushButton_select_1.setObjectName(
            _fromUtf8("pushButton_select_1"))
        self.comboBox_visa_1 = QtGui.QComboBox(self.tab_228)
        self.comboBox_visa_1.setGeometry(QtCore.QRect(10, 30, 301, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.comboBox_visa_1.setFont(font)
        self.comboBox_visa_1.setObjectName(_fromUtf8("comboBox_visa_1"))
        self.label_visaname_1 = QtGui.QLabel(self.tab_228)
        self.label_visaname_1.setGeometry(QtCore.QRect(20, 120, 181, 27))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_visaname_1.setFont(font)
        self.label_visaname_1.setObjectName(_fromUtf8("label_visaname_1"))
        self.pushButton_close_1 = QtGui.QPushButton(self.tab_228)
        self.pushButton_close_1.setGeometry(QtCore.QRect(130, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_close_1.setFont(font)
        self.pushButton_close_1.setObjectName(_fromUtf8("pushButton_close_1"))
        self.pushButton_update_1 = QtGui.QPushButton(self.tab_228)
        self.pushButton_update_1.setGeometry(QtCore.QRect(230, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_update_1.setFont(font)
        self.pushButton_update_1.setObjectName(
            _fromUtf8("pushButton_update_1"))
        self.label_visa_1 = QtGui.QLabel(self.tab_228)
        self.label_visa_1.setGeometry(QtCore.QRect(0, 150, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_visa_1.setFont(font)
        self.label_visa_1.setText(_fromUtf8(""))
        self.label_visa_1.setObjectName(_fromUtf8("label_visa_1"))
        self.tabWidget_visa.addTab(self.tab_228, _fromUtf8(""))
        self.tab_229 = QtGui.QWidget()
        self.tab_229.setObjectName(_fromUtf8("tab_229"))
        self.pushButton_update_2 = QtGui.QPushButton(self.tab_229)
        self.pushButton_update_2.setGeometry(QtCore.QRect(230, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_update_2.setFont(font)
        self.pushButton_update_2.setObjectName(
            _fromUtf8("pushButton_update_2"))
        self.pushButton_close_2 = QtGui.QPushButton(self.tab_229)
        self.pushButton_close_2.setGeometry(QtCore.QRect(130, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_close_2.setFont(font)
        self.pushButton_close_2.setObjectName(_fromUtf8("pushButton_close_2"))
        self.pushButton_select_2 = QtGui.QPushButton(self.tab_229)
        self.pushButton_select_2.setGeometry(QtCore.QRect(30, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_select_2.setFont(font)
        self.pushButton_select_2.setObjectName(
            _fromUtf8("pushButton_select_2"))
        self.comboBox_visa_2 = QtGui.QComboBox(self.tab_229)
        self.comboBox_visa_2.setGeometry(QtCore.QRect(10, 30, 301, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.comboBox_visa_2.setFont(font)
        self.comboBox_visa_2.setObjectName(_fromUtf8("comboBox_visa_2"))
        self.label_visaname_2 = QtGui.QLabel(self.tab_229)
        self.label_visaname_2.setGeometry(QtCore.QRect(20, 120, 181, 27))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_visaname_2.setFont(font)
        self.label_visaname_2.setObjectName(_fromUtf8("label_visaname_2"))
        self.label_chooseVisa_2 = QtGui.QLabel(self.tab_229)
        self.label_chooseVisa_2.setGeometry(QtCore.QRect(20, 0, 201, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_chooseVisa_2.setFont(font)
        self.label_chooseVisa_2.setObjectName(_fromUtf8("label_chooseVisa_2"))
        self.label_visa_2 = QtGui.QLabel(self.tab_229)
        self.label_visa_2.setGeometry(QtCore.QRect(0, 150, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_visa_2.setFont(font)
        self.label_visa_2.setText(_fromUtf8(""))
        self.label_visa_2.setObjectName(_fromUtf8("label_visa_2"))
        self.tabWidget_visa.addTab(self.tab_229, _fromUtf8(""))
        self.tab_230 = QtGui.QWidget()
        self.tab_230.setObjectName(_fromUtf8("tab_230"))
        self.pushButton_update_3 = QtGui.QPushButton(self.tab_230)
        self.pushButton_update_3.setGeometry(QtCore.QRect(230, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_update_3.setFont(font)
        self.pushButton_update_3.setObjectName(
            _fromUtf8("pushButton_update_3"))
        self.pushButton_close_3 = QtGui.QPushButton(self.tab_230)
        self.pushButton_close_3.setGeometry(QtCore.QRect(130, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_close_3.setFont(font)
        self.pushButton_close_3.setObjectName(_fromUtf8("pushButton_close_3"))
        self.pushButton_select_3 = QtGui.QPushButton(self.tab_230)
        self.pushButton_select_3.setGeometry(QtCore.QRect(30, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_select_3.setFont(font)
        self.pushButton_select_3.setObjectName(
            _fromUtf8("pushButton_select_3"))
        self.comboBox_visa_3 = QtGui.QComboBox(self.tab_230)
        self.comboBox_visa_3.setGeometry(QtCore.QRect(10, 30, 301, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.comboBox_visa_3.setFont(font)
        self.comboBox_visa_3.setObjectName(_fromUtf8("comboBox_visa_3"))
        self.label_visaname_3 = QtGui.QLabel(self.tab_230)
        self.label_visaname_3.setGeometry(QtCore.QRect(20, 120, 181, 27))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_visaname_3.setFont(font)
        self.label_visaname_3.setObjectName(_fromUtf8("label_visaname_3"))
        self.label_chooseVisa_3 = QtGui.QLabel(self.tab_230)
        self.label_chooseVisa_3.setGeometry(QtCore.QRect(20, 0, 201, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_chooseVisa_3.setFont(font)
        self.label_chooseVisa_3.setObjectName(_fromUtf8("label_chooseVisa_3"))
        self.label_visa_3 = QtGui.QLabel(self.tab_230)
        self.label_visa_3.setGeometry(QtCore.QRect(0, 150, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_visa_3.setFont(font)
        self.label_visa_3.setText(_fromUtf8(""))
        self.label_visa_3.setObjectName(_fromUtf8("label_visa_3"))
        self.tabWidget_visa.addTab(self.tab_230, _fromUtf8(""))
        self.tab_231 = QtGui.QWidget()
        self.tab_231.setObjectName(_fromUtf8("tab_231"))
        self.pushButton_update_4 = QtGui.QPushButton(self.tab_231)
        self.pushButton_update_4.setGeometry(QtCore.QRect(230, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_update_4.setFont(font)
        self.pushButton_update_4.setObjectName(
            _fromUtf8("pushButton_update_4"))
        self.pushButton_close_4 = QtGui.QPushButton(self.tab_231)
        self.pushButton_close_4.setGeometry(QtCore.QRect(130, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_close_4.setFont(font)
        self.pushButton_close_4.setObjectName(_fromUtf8("pushButton_close_4"))
        self.pushButton_select_4 = QtGui.QPushButton(self.tab_231)
        self.pushButton_select_4.setGeometry(QtCore.QRect(30, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_select_4.setFont(font)
        self.pushButton_select_4.setObjectName(
            _fromUtf8("pushButton_select_4"))
        self.comboBox_visa_4 = QtGui.QComboBox(self.tab_231)
        self.comboBox_visa_4.setGeometry(QtCore.QRect(10, 30, 301, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.comboBox_visa_4.setFont(font)
        self.comboBox_visa_4.setObjectName(_fromUtf8("comboBox_visa_4"))
        self.label_visaname_4 = QtGui.QLabel(self.tab_231)
        self.label_visaname_4.setGeometry(QtCore.QRect(20, 120, 181, 27))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_visaname_4.setFont(font)
        self.label_visaname_4.setObjectName(_fromUtf8("label_visaname_4"))
        self.label_chooseVisa_4 = QtGui.QLabel(self.tab_231)
        self.label_chooseVisa_4.setGeometry(QtCore.QRect(20, 0, 201, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_chooseVisa_4.setFont(font)
        self.label_chooseVisa_4.setObjectName(_fromUtf8("label_chooseVisa_4"))
        self.label_visa_4 = QtGui.QLabel(self.tab_231)
        self.label_visa_4.setGeometry(QtCore.QRect(0, 150, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_visa_4.setFont(font)
        self.label_visa_4.setText(_fromUtf8(""))
        self.label_visa_4.setObjectName(_fromUtf8("label_visa_4"))
        self.tabWidget_visa.addTab(self.tab_231, _fromUtf8(""))
        self.tab_232 = QtGui.QWidget()
        self.tab_232.setObjectName(_fromUtf8("tab_232"))
        self.pushButton_update_5 = QtGui.QPushButton(self.tab_232)
        self.pushButton_update_5.setGeometry(QtCore.QRect(230, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_update_5.setFont(font)
        self.pushButton_update_5.setObjectName(
            _fromUtf8("pushButton_update_5"))
        self.pushButton_close_5 = QtGui.QPushButton(self.tab_232)
        self.pushButton_close_5.setGeometry(QtCore.QRect(130, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_close_5.setFont(font)
        self.pushButton_close_5.setObjectName(_fromUtf8("pushButton_close_5"))
        self.pushButton_select_5 = QtGui.QPushButton(self.tab_232)
        self.pushButton_select_5.setGeometry(QtCore.QRect(30, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_select_5.setFont(font)
        self.pushButton_select_5.setObjectName(
            _fromUtf8("pushButton_select_5"))
        self.comboBox_visa_5 = QtGui.QComboBox(self.tab_232)
        self.comboBox_visa_5.setGeometry(QtCore.QRect(10, 30, 301, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.comboBox_visa_5.setFont(font)
        self.comboBox_visa_5.setObjectName(_fromUtf8("comboBox_visa_5"))
        self.label_visaname_5 = QtGui.QLabel(self.tab_232)
        self.label_visaname_5.setGeometry(QtCore.QRect(20, 120, 181, 27))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_visaname_5.setFont(font)
        self.label_visaname_5.setObjectName(_fromUtf8("label_visaname_5"))
        self.label_chooseVisa_5 = QtGui.QLabel(self.tab_232)
        self.label_chooseVisa_5.setGeometry(QtCore.QRect(20, 0, 201, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_chooseVisa_5.setFont(font)
        self.label_chooseVisa_5.setObjectName(_fromUtf8("label_chooseVisa_5"))
        self.label_visa_5 = QtGui.QLabel(self.tab_232)
        self.label_visa_5.setGeometry(QtCore.QRect(0, 150, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_visa_5.setFont(font)
        self.label_visa_5.setText(_fromUtf8(""))
        self.label_visa_5.setObjectName(_fromUtf8("label_visa_5"))
        self.tabWidget_visa.addTab(self.tab_232, _fromUtf8(""))
        self.textEdit = QtGui.QTextEdit(self.scrollAreaWidgetContents)
        self.textEdit.setGeometry(QtCore.QRect(10, 250, 321, 91))
        self.textEdit.setObjectName(_fromUtf8("textEdit"))
        self.curvewidget_1 = CurveWidget(self.scrollAreaWidgetContents)
        self.curvewidget_1.setGeometry(QtCore.QRect(350, 10, 721, 421))
        self.curvewidget_1.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget_1.setObjectName(_fromUtf8("curvewidget_1"))
        self.curvewidget_2 = CurveWidget(self.scrollAreaWidgetContents)
        self.curvewidget_2.setGeometry(QtCore.QRect(1080, 10, 721, 421))
        self.curvewidget_2.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget_2.setObjectName(_fromUtf8("curvewidget_2"))
        self.curvewidget_3 = CurveWidget(self.scrollAreaWidgetContents)
        self.curvewidget_3.setGeometry(QtCore.QRect(350, 460, 721, 421))
        self.curvewidget_3.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget_3.setObjectName(_fromUtf8("curvewidget_3"))
        self.curvewidget_4 = CurveWidget(self.scrollAreaWidgetContents)
        self.curvewidget_4.setGeometry(QtCore.QRect(1080, 460, 721, 421))
        self.curvewidget_4.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget_4.setObjectName(_fromUtf8("curvewidget_4"))
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionArray_Builder = QtGui.QAction(MainWindow)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.actionArray_Builder.setFont(font)
        self.actionArray_Builder.setObjectName(
            _fromUtf8("actionArray_Builder"))
        self.actionAgilent_Single_scan = QtGui.QAction(MainWindow)
        self.actionAgilent_Single_scan.setObjectName(
            _fromUtf8("actionAgilent_Single_scan"))
        self.actionKeithley_Single_scan = QtGui.QAction(MainWindow)
        self.actionKeithley_Single_scan.setObjectName(
            _fromUtf8("actionKeithley_Single_scan"))
        self.actionKeithley__Sweep = QtGui.QAction(MainWindow)
        self.actionKeithley__Sweep.setObjectName(
            _fromUtf8("actionKeithley__Sweep"))
        self.actionLockIn_Single_Scan = QtGui.QAction(MainWindow)
        self.actionLockIn_Single_Scan.setObjectName(
            _fromUtf8("actionLockIn_Single_Scan"))
        self.actionResonant_Single_Scan = QtGui.QAction(MainWindow)
        self.actionResonant_Single_Scan.setObjectName(
            _fromUtf8("actionResonant_Single_Scan"))
        self.actionKeithley_Stepper_Single_Scan = QtGui.QAction(MainWindow)
        self.actionKeithley_Stepper_Single_Scan.setObjectName(
            _fromUtf8("actionKeithley_Stepper_Single_Scan"))
        self.actionSee_Visa_List = QtGui.QAction(MainWindow)
        self.actionSee_Visa_List.setObjectName(
            _fromUtf8("actionSee_Visa_List"))
        self.actionTwo_s_with_Lock_in = QtGui.QAction(MainWindow)
        self.actionTwo_s_with_Lock_in.setObjectName(
            _fromUtf8("actionTwo_s_with_Lock_in"))
        self.actionSweep_Scan = QtGui.QAction(MainWindow)
        self.actionSweep_Scan.setObjectName(_fromUtf8("actionSweep_Scan"))
        self.actionLockInSweep = QtGui.QAction(MainWindow)
        self.actionLockInSweep.setObjectName(_fromUtf8("actionLockInSweep"))
        self.actionDouble_Lock_In = QtGui.QAction(MainWindow)
        self.actionDouble_Lock_In.setObjectName(
            _fromUtf8("actionDouble_Lock_In"))
        self.actionVoltage_Bias = QtGui.QAction(MainWindow)
        self.actionVoltage_Bias.setObjectName(_fromUtf8("actionVoltage_Bias"))
        self.actionCurrent_Bias = QtGui.QAction(MainWindow)
        self.actionCurrent_Bias.setObjectName(_fromUtf8("actionCurrent_Bias"))
        self.actionJV_1 = QtGui.QAction(MainWindow)
        self.actionJV_1.setObjectName(_fromUtf8("actionJV_1"))
        self.actionJV_2 = QtGui.QAction(MainWindow)
        self.actionJV_2.setObjectName(_fromUtf8("actionJV_2"))
        self.actionJV_3 = QtGui.QAction(MainWindow)
        self.actionJV_3.setObjectName(_fromUtf8("actionJV_3"))
        self.actionJS_1 = QtGui.QAction(MainWindow)
        self.actionJS_1.setObjectName(_fromUtf8("actionJS_1"))
        self.actionJS_2 = QtGui.QAction(MainWindow)
        self.actionJS_2.setObjectName(_fromUtf8("actionJS_2"))
        self.actionRS_1 = QtGui.QAction(MainWindow)
        self.actionRS_1.setObjectName(_fromUtf8("actionRS_1"))
        self.actionRS_2 = QtGui.QAction(MainWindow)
        self.actionRS_2.setObjectName(_fromUtf8("actionRS_2"))
        self.actionJS_3 = QtGui.QAction(MainWindow)
        self.actionJS_3.setObjectName(_fromUtf8("actionJS_3"))
        self.actionRS_3 = QtGui.QAction(MainWindow)
        self.actionRS_3.setObjectName(_fromUtf8("actionRS_3"))
        self.actionBW_1 = QtGui.QAction(MainWindow)
        self.actionBW_1.setObjectName(_fromUtf8("actionBW_1"))
        self.actionBW_2 = QtGui.QAction(MainWindow)
        self.actionBW_2.setObjectName(_fromUtf8("actionBW_2"))
        self.actionBW_3 = QtGui.QAction(MainWindow)
        self.actionBW_3.setObjectName(_fromUtf8("actionBW_3"))
        self.actionST_1 = QtGui.QAction(MainWindow)
        self.actionST_1.setObjectName(_fromUtf8("actionST_1"))
        self.actionST_2 = QtGui.QAction(MainWindow)
        self.actionST_2.setObjectName(_fromUtf8("actionST_2"))
        self.actionST_3 = QtGui.QAction(MainWindow)
        self.actionST_3.setObjectName(_fromUtf8("actionST_3"))

        self.retranslateUi(MainWindow)
        self.tabWidget_visa.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.groupBox_condition.setTitle(
            _translate("MainWindow", "Condition", None))
        self.groupBox_control.setTitle(
            _translate("MainWindow", "Control", None))
        self.pushButton_Start.setText(_translate("MainWindow", "Start", None))
        self.pushButton_Pause.setText(_translate("MainWindow", "Pause", None))
        self.pushButton_Stop.setText(_translate("MainWindow", "Stop", None))
        self.groupBox_parameters.setTitle(
            _translate("MainWindow", "Parameters", None))
        self.label_V1.setText(_translate("MainWindow", "Value 1", None))
        self.label_Step.setText(_translate("MainWindow", "Steps:", None))
        self.label_U1.setText(_translate("MainWindow", "Unit 1", None))
        self.label_P1.setText(_translate("MainWindow", "Parameter 1:", None))
        self.label_Time.setText(_translate("MainWindow", "Time:", None))
        self.label_timeunit.setText(_translate("MainWindow", "s", None))
        self.label_U2.setText(_translate("MainWindow", "Unit 2", None))
        self.label_P2.setText(_translate("MainWindow", "Parameter 2:", None))
        self.label_V2.setText(_translate("MainWindow", "Value 2", None))
        self.label_U3.setText(_translate("MainWindow", "Unit 3", None))
        self.label_P3.setText(_translate("MainWindow", "Parameter 3:", None))
        self.label_V3.setText(_translate("MainWindow", "Value 3", None))
        self.label_U4.setText(_translate("MainWindow", "Unit 4", None))
        self.label_P4.setText(_translate("MainWindow", "Parameter 4:", None))
        self.label_V4.setText(_translate("MainWindow", "Value 4", None))
        self.label_U5.setText(_translate("MainWindow", "Unit 5", None))
        self.label_P5.setText(_translate("MainWindow", "Parameter 5:", None))
        self.label_V5.setText(_translate("MainWindow", "Value 5", None))
        self.label_U6.setText(_translate("MainWindow", "Unit 6", None))
        self.label_P6.setText(_translate("MainWindow", "Parameter 6:", None))
        self.label_V6.setText(_translate("MainWindow", "Value 6", None))
        self.label_chooseVisa_1.setText(
            _translate("MainWindow", "Choose  Visa:", None))
        self.pushButton_select_1.setText(
            _translate("MainWindow", "Select", None))
        self.label_visaname_1.setText(
            _translate("MainWindow", "VISA name:", None))
        self.pushButton_close_1.setText(_translate("MainWindow", "Close",
                                                   None))
        self.pushButton_update_1.setText(
            _translate("MainWindow", "Update", None))
        self.tabWidget_visa.setTabText(
            self.tabWidget_visa.indexOf(self.tab_228),
            _translate("MainWindow", "Visa1", None))
        self.pushButton_update_2.setText(
            _translate("MainWindow", "Update", None))
        self.pushButton_close_2.setText(_translate("MainWindow", "Close",
                                                   None))
        self.pushButton_select_2.setText(
            _translate("MainWindow", "Select", None))
        self.label_visaname_2.setText(
            _translate("MainWindow", "VISA name:", None))
        self.label_chooseVisa_2.setText(
            _translate("MainWindow", "Choose  Visa:", None))
        self.tabWidget_visa.setTabText(
            self.tabWidget_visa.indexOf(self.tab_229),
            _translate("MainWindow", "Visa2", None))
        self.pushButton_update_3.setText(
            _translate("MainWindow", "Update", None))
        self.pushButton_close_3.setText(_translate("MainWindow", "Close",
                                                   None))
        self.pushButton_select_3.setText(
            _translate("MainWindow", "Select", None))
        self.label_visaname_3.setText(
            _translate("MainWindow", "VISA name:", None))
        self.label_chooseVisa_3.setText(
            _translate("MainWindow", "Choose  Visa:", None))
        self.tabWidget_visa.setTabText(
            self.tabWidget_visa.indexOf(self.tab_230),
            _translate("MainWindow", "Visa3", None))
        self.pushButton_update_4.setText(
            _translate("MainWindow", "Update", None))
        self.pushButton_close_4.setText(_translate("MainWindow", "Close",
                                                   None))
        self.pushButton_select_4.setText(
            _translate("MainWindow", "Select", None))
        self.label_visaname_4.setText(
            _translate("MainWindow", "VISA name:", None))
        self.label_chooseVisa_4.setText(
            _translate("MainWindow", "Choose  Visa:", None))
        self.tabWidget_visa.setTabText(
            self.tabWidget_visa.indexOf(self.tab_231),
            _translate("MainWindow", "Visa4", None))
        self.pushButton_update_5.setText(
            _translate("MainWindow", "Update", None))
        self.pushButton_close_5.setText(_translate("MainWindow", "Close",
                                                   None))
        self.pushButton_select_5.setText(
            _translate("MainWindow", "Select", None))
        self.label_visaname_5.setText(
            _translate("MainWindow", "VISA name:", None))
        self.label_chooseVisa_5.setText(
            _translate("MainWindow", "Choose  Visa:", None))
        self.tabWidget_visa.setTabText(
            self.tabWidget_visa.indexOf(self.tab_232),
            _translate("MainWindow", "Visa5", None))
        self.actionArray_Builder.setText(
            _translate("MainWindow", "Array Builder", None))
        self.actionAgilent_Single_scan.setText(
            _translate("MainWindow", "Single Scan", None))
        self.actionKeithley_Single_scan.setText(
            _translate("MainWindow", "Single Scan", None))
        self.actionKeithley__Sweep.setText(
            _translate("MainWindow", " Sweep", None))
        self.actionLockIn_Single_Scan.setText(
            _translate("MainWindow", "Single Scan", None))
        self.actionResonant_Single_Scan.setText(
            _translate("MainWindow", "Single Scan", None))
        self.actionKeithley_Stepper_Single_Scan.setText(
            _translate("MainWindow", "Single Scan", None))
        self.actionSee_Visa_List.setText(
            _translate("MainWindow", "See Visa List", None))
        self.actionTwo_s_with_Lock_in.setText(
            _translate("MainWindow", "Two s with Lock-in", None))
        self.actionSweep_Scan.setText(
            _translate("MainWindow", "Sweep Scan", None))
        self.actionLockInSweep.setText(
            _translate("MainWindow", "Sweep Scan", None))
        self.actionDouble_Lock_In.setText(
            _translate("MainWindow", "Double Lock-In", None))
        self.actionVoltage_Bias.setText(
            _translate("MainWindow", "Voltage", None))
        self.actionCurrent_Bias.setText(
            _translate("MainWindow", "Current", None))
        self.actionJV_1.setText(_translate("MainWindow", "Program 1", None))
        self.actionJV_2.setText(_translate("MainWindow", "Program 2", None))
        self.actionJV_3.setText(_translate("MainWindow", "Program 3", None))
        self.actionJS_1.setText(_translate("MainWindow", "Program 1", None))
        self.actionJS_2.setText(_translate("MainWindow", "Program 2", None))
        self.actionRS_1.setText(_translate("MainWindow", "Program 1", None))
        self.actionRS_2.setText(_translate("MainWindow", "Program 2", None))
        self.actionJS_3.setText(_translate("MainWindow", "Program 3", None))
        self.actionRS_3.setText(_translate("MainWindow", "Program 3", None))
        self.actionBW_1.setText(_translate("MainWindow", "Program 1", None))
        self.actionBW_2.setText(_translate("MainWindow", "Program 2", None))
        self.actionBW_3.setText(_translate("MainWindow", "Program 3", None))
        self.actionST_1.setText(_translate("MainWindow", "Program 1", None))
        self.actionST_2.setText(_translate("MainWindow", "Program 2", None))
        self.actionST_3.setText(_translate("MainWindow", "Program 3", None))
Example #4
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setEnabled(True)
        MainWindow.resize(912, 824)
        MainWindow.setTabShape(QtGui.QTabWidget.Rounded)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setSizeConstraint(
            QtGui.QLayout.SetDefaultConstraint)
        self.verticalLayout_3.setContentsMargins(-1, 9, -1, -1)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setFrameShadow(QtGui.QFrame.Sunken)
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.verticalLayout_3.addWidget(self.curvewidget)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.Slider = Qwt5.QwtSlider(self.centralwidget)
        self.Slider.setReadOnly(False)
        self.Slider.setScalePosition(Qwt5.QwtSlider.NoScale)
        self.Slider.setBgStyle(Qwt5.QwtSlider.BgSlot)
        self.Slider.setObjectName(_fromUtf8("Slider"))
        self.horizontalLayout_5.addWidget(self.Slider)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.line_10 = QtGui.QFrame(self.centralwidget)
        self.line_10.setFrameShape(QtGui.QFrame.HLine)
        self.line_10.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_10.setObjectName(_fromUtf8("line_10"))
        self.verticalLayout_3.addWidget(self.line_10)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout_7 = QtGui.QVBoxLayout()
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.plottingIntervalDial = QtGui.QDial(self.centralwidget)
        self.plottingIntervalDial.setMinimum(100)
        self.plottingIntervalDial.setMaximum(5000)
        self.plottingIntervalDial.setSingleStep(100)
        self.plottingIntervalDial.setPageStep(100)
        self.plottingIntervalDial.setProperty("value", 1000)
        self.plottingIntervalDial.setOrientation(QtCore.Qt.Horizontal)
        self.plottingIntervalDial.setInvertedAppearance(False)
        self.plottingIntervalDial.setInvertedControls(False)
        self.plottingIntervalDial.setWrapping(False)
        self.plottingIntervalDial.setNotchTarget(10.0)
        self.plottingIntervalDial.setNotchesVisible(True)
        self.plottingIntervalDial.setObjectName(
            _fromUtf8("plottingIntervalDial"))
        self.verticalLayout_7.addWidget(self.plottingIntervalDial)
        self.plottingIntervalLabel = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.plottingIntervalLabel.setFont(font)
        self.plottingIntervalLabel.setObjectName(
            _fromUtf8("plottingIntervalLabel"))
        self.verticalLayout_7.addWidget(self.plottingIntervalLabel)
        self.sampleIntervalDial = QtGui.QDial(self.centralwidget)
        self.sampleIntervalDial.setMinimum(100)
        self.sampleIntervalDial.setMaximum(1000)
        self.sampleIntervalDial.setSingleStep(100)
        self.sampleIntervalDial.setPageStep(100)
        self.sampleIntervalDial.setProperty("value", 500)
        self.sampleIntervalDial.setWrapping(False)
        self.sampleIntervalDial.setNotchTarget(10.0)
        self.sampleIntervalDial.setNotchesVisible(True)
        self.sampleIntervalDial.setObjectName(_fromUtf8("sampleIntervalDial"))
        self.verticalLayout_7.addWidget(self.sampleIntervalDial)
        self.sampleIntervalLabel = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.sampleIntervalLabel.setFont(font)
        self.sampleIntervalLabel.setObjectName(
            _fromUtf8("sampleIntervalLabel"))
        self.verticalLayout_7.addWidget(self.sampleIntervalLabel)
        self.verticalLayout_7.setStretch(0, 1)
        self.horizontalLayout.addLayout(self.verticalLayout_7)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.horizontalLayout.addWidget(self.line)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.line_4 = QtGui.QFrame(self.centralwidget)
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.verticalLayout_4.addWidget(self.line_4)
        self.timerStatusLabel = QtGui.QLabel(self.centralwidget)
        self.timerStatusLabel.setObjectName(_fromUtf8("timerStatusLabel"))
        self.verticalLayout_4.addWidget(self.timerStatusLabel)
        self.line_8 = QtGui.QFrame(self.centralwidget)
        self.line_8.setFrameShape(QtGui.QFrame.HLine)
        self.line_8.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_8.setObjectName(_fromUtf8("line_8"))
        self.verticalLayout_4.addWidget(self.line_8)
        self.timeLabel = QtGui.QLabel(self.centralwidget)
        self.timeLabel.setFrameShape(QtGui.QFrame.NoFrame)
        self.timeLabel.setFrameShadow(QtGui.QFrame.Sunken)
        self.timeLabel.setLineWidth(1)
        self.timeLabel.setObjectName(_fromUtf8("timeLabel"))
        self.verticalLayout_4.addWidget(self.timeLabel)
        self.line_5 = QtGui.QFrame(self.centralwidget)
        self.line_5.setFrameShape(QtGui.QFrame.HLine)
        self.line_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_5.setObjectName(_fromUtf8("line_5"))
        self.verticalLayout_4.addWidget(self.line_5)
        self.svLabel = QtGui.QLabel(self.centralwidget)
        self.svLabel.setFrameShape(QtGui.QFrame.NoFrame)
        self.svLabel.setObjectName(_fromUtf8("svLabel"))
        self.verticalLayout_4.addWidget(self.svLabel)
        self.line_7 = QtGui.QFrame(self.centralwidget)
        self.line_7.setFrameShape(QtGui.QFrame.HLine)
        self.line_7.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_7.setObjectName(_fromUtf8("line_7"))
        self.verticalLayout_4.addWidget(self.line_7)
        self.pvLabel = QtGui.QLabel(self.centralwidget)
        self.pvLabel.setObjectName(_fromUtf8("pvLabel"))
        self.verticalLayout_4.addWidget(self.pvLabel)
        self.line_3 = QtGui.QFrame(self.centralwidget)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.verticalLayout_4.addWidget(self.line_3)
        self.label_3 = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_4.addWidget(self.label_3)
        self.startButton = QtGui.QPushButton(self.centralwidget)
        self.startButton.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/gtk-media-play-ltr.png")),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.startButton.setIcon(icon)
        self.startButton.setObjectName(_fromUtf8("startButton"))
        self.verticalLayout_4.addWidget(self.startButton)
        self.resetButton = QtGui.QPushButton(self.centralwidget)
        self.resetButton.setEnabled(False)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/editdelete.svg")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.resetButton.setIcon(icon1)
        self.resetButton.setObjectName(_fromUtf8("resetButton"))
        self.verticalLayout_4.addWidget(self.resetButton)
        self.stopButton = QtGui.QPushButton(self.centralwidget)
        self.stopButton.setEnabled(False)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/gtk-media-stop.png")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.stopButton.setIcon(icon2)
        self.stopButton.setObjectName(_fromUtf8("stopButton"))
        self.verticalLayout_4.addWidget(self.stopButton)
        self.horizontalLayout.addLayout(self.verticalLayout_4)
        self.line_9 = QtGui.QFrame(self.centralwidget)
        self.line_9.setFrameShape(QtGui.QFrame.VLine)
        self.line_9.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_9.setObjectName(_fromUtf8("line_9"))
        self.horizontalLayout.addWidget(self.line_9)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.svVerticalSlider = QtGui.QSlider(self.centralwidget)
        self.svVerticalSlider.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.svVerticalSlider.setMaximum(9999)
        self.svVerticalSlider.setOrientation(QtCore.Qt.Vertical)
        self.svVerticalSlider.setObjectName(_fromUtf8("svVerticalSlider"))
        self.verticalLayout_5.addWidget(self.svVerticalSlider)
        self.SvLcdNumber = QtGui.QLCDNumber(self.centralwidget)
        self.SvLcdNumber.setEnabled(True)
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.SvLcdNumber.setFont(font)
        self.SvLcdNumber.setSmallDecimalPoint(False)
        self.SvLcdNumber.setNumDigits(5)
        self.SvLcdNumber.setProperty("value", 999.9)
        self.SvLcdNumber.setObjectName(_fromUtf8("SvLcdNumber"))
        self.verticalLayout_5.addWidget(self.SvLcdNumber)
        self.setSvButton = QtGui.QPushButton(self.centralwidget)
        self.setSvButton.setEnabled(False)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/1uparrow.svg")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.setSvButton.setIcon(icon3)
        self.setSvButton.setObjectName(_fromUtf8("setSvButton"))
        self.verticalLayout_5.addWidget(self.setSvButton)
        self.horizontalLayout.addLayout(self.verticalLayout_5)
        self.line_2 = QtGui.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.horizontalLayout.addWidget(self.line_2)
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setStatusTip(_fromUtf8(""))
        self.tabWidget.setIconSize(QtCore.QSize(24, 24))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.connectionTab_2 = QtGui.QWidget()
        self.connectionTab_2.setObjectName(_fromUtf8("connectionTab_2"))
        self.verticalLayout_11 = QtGui.QVBoxLayout(self.connectionTab_2)
        self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11"))
        self.portComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.portComboBox.setObjectName(_fromUtf8("portComboBox"))
        self.verticalLayout_11.addWidget(self.portComboBox)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.timoutDoubleSpinBox = QtGui.QDoubleSpinBox(self.connectionTab_2)
        self.timoutDoubleSpinBox.setDecimals(1)
        self.timoutDoubleSpinBox.setMaximum(1.0)
        self.timoutDoubleSpinBox.setProperty("value", 0.1)
        self.timoutDoubleSpinBox.setObjectName(
            _fromUtf8("timoutDoubleSpinBox"))
        self.gridLayout_3.addWidget(self.timoutDoubleSpinBox, 0, 3, 1, 1)
        self.stopBitsComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.stopBitsComboBox.setObjectName(_fromUtf8("stopBitsComboBox"))
        self.stopBitsComboBox.addItem(_fromUtf8(""))
        self.stopBitsComboBox.addItem(_fromUtf8(""))
        self.stopBitsComboBox.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.stopBitsComboBox, 1, 1, 1, 1)
        self.label_14 = QtGui.QLabel(self.connectionTab_2)
        self.label_14.setWordWrap(False)
        self.label_14.setMargin(0)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout_3.addWidget(self.label_14, 3, 0, 1, 1)
        self.baudComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.baudComboBox.setObjectName(_fromUtf8("baudComboBox"))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.baudComboBox, 0, 1, 1, 1)
        self.label_13 = QtGui.QLabel(self.connectionTab_2)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_3.addWidget(self.label_13, 1, 0, 1, 1)
        self.label_15 = QtGui.QLabel(self.connectionTab_2)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.gridLayout_3.addWidget(self.label_15, 1, 2, 1, 1)
        self.ParityComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.ParityComboBox.setObjectName(_fromUtf8("ParityComboBox"))
        self.ParityComboBox.addItem(_fromUtf8(""))
        self.ParityComboBox.addItem(_fromUtf8(""))
        self.ParityComboBox.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.ParityComboBox, 3, 1, 1, 1)
        self.dataBitsComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.dataBitsComboBox.setObjectName(_fromUtf8("dataBitsComboBox"))
        self.dataBitsComboBox.addItem(_fromUtf8(""))
        self.dataBitsComboBox.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.dataBitsComboBox, 1, 3, 1, 1)
        self.label_16 = QtGui.QLabel(self.connectionTab_2)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.gridLayout_3.addWidget(self.label_16, 0, 2, 1, 1)
        self.connectButton = QtGui.QPushButton(self.connectionTab_2)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(165, 240, 156))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(165, 240, 156))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(165, 240, 156))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.connectButton.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.connectButton.setFont(font)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/tool_logwindow.svg")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.connectButton.setIcon(icon4)
        self.connectButton.setFlat(False)
        self.connectButton.setObjectName(_fromUtf8("connectButton"))
        self.gridLayout_3.addWidget(self.connectButton, 3, 2, 1, 1)
        self.disconnectButton = QtGui.QPushButton(self.connectionTab_2)
        self.disconnectButton.setEnabled(False)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.disconnectButton.setFont(font)
        self.disconnectButton.setIcon(icon1)
        self.disconnectButton.setObjectName(_fromUtf8("disconnectButton"))
        self.gridLayout_3.addWidget(self.disconnectButton, 3, 3, 1, 1)
        self.verticalLayout_11.addLayout(self.gridLayout_3)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/USBcable.svg")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.connectionTab_2, icon5, _fromUtf8(""))
        self.tab_5 = QtGui.QWidget()
        self.tab_5.setObjectName(_fromUtf8("tab_5"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tab_5)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.tab_5)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.pvLcdNumber = QtGui.QLCDNumber(self.tab_5)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(231, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(231, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText,
                         brush)
        self.pvLcdNumber.setPalette(palette)
        self.pvLcdNumber.setSmallDecimalPoint(False)
        self.pvLcdNumber.setDigitCount(5)
        self.pvLcdNumber.setProperty("value", 999.9)
        self.pvLcdNumber.setObjectName(_fromUtf8("pvLcdNumber"))
        self.verticalLayout.addWidget(self.pvLcdNumber)
        self.getPvButton = QtGui.QPushButton(self.tab_5)
        self.getPvButton.setEnabled(False)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/1downarrow.svg")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.getPvButton.setIcon(icon6)
        self.getPvButton.setObjectName(_fromUtf8("getPvButton"))
        self.verticalLayout.addWidget(self.getPvButton)
        self.verticalLayout.setStretch(1, 1)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_2 = QtGui.QLabel(self.tab_5)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.svLcdNumber = QtGui.QLCDNumber(self.tab_5)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 222, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 222, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText,
                         brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText,
                         brush)
        self.svLcdNumber.setPalette(palette)
        self.svLcdNumber.setSmallDecimalPoint(False)
        self.svLcdNumber.setProperty("value", 999.9)
        self.svLcdNumber.setObjectName(_fromUtf8("svLcdNumber"))
        self.verticalLayout_2.addWidget(self.svLcdNumber)
        self.getSvButton = QtGui.QPushButton(self.tab_5)
        self.getSvButton.setEnabled(False)
        self.getSvButton.setIcon(icon6)
        self.getSvButton.setObjectName(_fromUtf8("getSvButton"))
        self.verticalLayout_2.addWidget(self.getSvButton)
        self.verticalLayout_2.setStretch(1, 1)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/Analyzeloop.svg")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab_5, icon7, _fromUtf8(""))
        self.monitorTab_2 = QtGui.QWidget()
        self.monitorTab_2.setObjectName(_fromUtf8("monitorTab_2"))
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.monitorTab_2)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.dataTextEdit = QtGui.QTextEdit(self.monitorTab_2)
        self.dataTextEdit.setEnabled(True)
        self.dataTextEdit.setObjectName(_fromUtf8("dataTextEdit"))
        self.verticalLayout_8.addWidget(self.dataTextEdit)
        self.monitorScrollCheckBox = QtGui.QCheckBox(self.monitorTab_2)
        self.monitorScrollCheckBox.setChecked(True)
        self.monitorScrollCheckBox.setObjectName(
            _fromUtf8("monitorScrollCheckBox"))
        self.verticalLayout_8.addWidget(self.monitorScrollCheckBox)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/Bill.svg")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.monitorTab_2, icon8, _fromUtf8(""))
        self.dataTab_2 = QtGui.QWidget()
        self.dataTab_2.setObjectName(_fromUtf8("dataTab_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.dataTab_2)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.DaqTableWidget = QtGui.QTableWidget(self.dataTab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.DaqTableWidget.sizePolicy().hasHeightForWidth())
        self.DaqTableWidget.setSizePolicy(sizePolicy)
        self.DaqTableWidget.setMinimumSize(QtCore.QSize(0, 0))
        self.DaqTableWidget.setMidLineWidth(1)
        self.DaqTableWidget.setVerticalScrollBarPolicy(
            QtCore.Qt.ScrollBarAlwaysOn)
        self.DaqTableWidget.setAlternatingRowColors(True)
        self.DaqTableWidget.setObjectName(_fromUtf8("DaqTableWidget"))
        self.DaqTableWidget.setColumnCount(6)
        self.DaqTableWidget.setRowCount(1)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 0, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 1, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 2, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 3, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 4, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 5, item)
        self.DaqTableWidget.horizontalHeader().setCascadingSectionResizes(
            False)
        self.DaqTableWidget.horizontalHeader().setMinimumSectionSize(25)
        self.DaqTableWidget.horizontalHeader().setStretchLastSection(False)
        self.DaqTableWidget.verticalHeader().setVisible(False)
        self.DaqTableWidget.verticalHeader().setDefaultSectionSize(20)
        self.verticalLayout_6.addWidget(self.DaqTableWidget)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.daqScrollCheckBox = QtGui.QCheckBox(self.dataTab_2)
        self.daqScrollCheckBox.setChecked(True)
        self.daqScrollCheckBox.setObjectName(_fromUtf8("daqScrollCheckBox"))
        self.horizontalLayout_4.addWidget(self.daqScrollCheckBox)
        self.daqSamplesTakenLabel = QtGui.QLabel(self.dataTab_2)
        self.daqSamplesTakenLabel.setObjectName(
            _fromUtf8("daqSamplesTakenLabel"))
        self.horizontalLayout_4.addWidget(self.daqSamplesTakenLabel)
        self.clearDaqButton = QtGui.QPushButton(self.dataTab_2)
        self.clearDaqButton.setStatusTip(_fromUtf8(""))
        self.clearDaqButton.setObjectName(_fromUtf8("clearDaqButton"))
        self.horizontalLayout_4.addWidget(self.clearDaqButton)
        self.verticalLayout_6.addLayout(self.horizontalLayout_4)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/Research.svg")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.dataTab_2, icon9, _fromUtf8(""))
        self.modbusTab_2 = QtGui.QWidget()
        self.modbusTab_2.setObjectName(_fromUtf8("modbusTab_2"))
        self.verticalLayout_13 = QtGui.QVBoxLayout(self.modbusTab_2)
        self.verticalLayout_13.setObjectName(_fromUtf8("verticalLayout_13"))
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_4 = QtGui.QLabel(self.modbusTab_2)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole,
                                    self.label_4)
        self.label_17 = QtGui.QLabel(self.modbusTab_2)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole,
                                    self.label_17)
        self.PvReadSpinBox = QtGui.QSpinBox(self.modbusTab_2)
        self.PvReadSpinBox.setMaximum(10000)
        self.PvReadSpinBox.setProperty("value", 4096)
        self.PvReadSpinBox.setObjectName(_fromUtf8("PvReadSpinBox"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole,
                                    self.PvReadSpinBox)
        self.label_18 = QtGui.QLabel(self.modbusTab_2)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole,
                                    self.label_18)
        self.SvReadSpinBox = QtGui.QSpinBox(self.modbusTab_2)
        self.SvReadSpinBox.setMaximum(10000)
        self.SvReadSpinBox.setProperty("value", 4097)
        self.SvReadSpinBox.setObjectName(_fromUtf8("SvReadSpinBox"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole,
                                    self.SvReadSpinBox)
        self.label_19 = QtGui.QLabel(self.modbusTab_2)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.LabelRole,
                                    self.label_19)
        self.PvWriteSpinBox = QtGui.QSpinBox(self.modbusTab_2)
        self.PvWriteSpinBox.setMaximum(10000)
        self.PvWriteSpinBox.setProperty("value", 4096)
        self.PvWriteSpinBox.setObjectName(_fromUtf8("PvWriteSpinBox"))
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole,
                                    self.PvWriteSpinBox)
        self.label_20 = QtGui.QLabel(self.modbusTab_2)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.LabelRole,
                                    self.label_20)
        self.SvWriteSpinBox = QtGui.QSpinBox(self.modbusTab_2)
        self.SvWriteSpinBox.setMaximum(10000)
        self.SvWriteSpinBox.setProperty("value", 4097)
        self.SvWriteSpinBox.setObjectName(_fromUtf8("SvWriteSpinBox"))
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.FieldRole,
                                    self.SvWriteSpinBox)
        self.label_5 = QtGui.QLabel(self.modbusTab_2)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole,
                                    self.label_5)
        self.verticalLayout_13.addLayout(self.formLayout_2)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/PCboard.svg")),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.modbusTab_2, icon10, _fromUtf8(""))
        self.horizontalLayout.addWidget(self.tabWidget)
        self.horizontalLayout.setStretch(0, 2)
        self.horizontalLayout.setStretch(6, 7)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.verticalLayout_3.setStretch(0, 2)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 912, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
        self.actionExit = QtGui.QAction(MainWindow)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/application-exit.svg")),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExit.setIcon(icon11)
        self.actionExit.setObjectName(_fromUtf8("actionExit"))
        self.actionSave_Daq = QtGui.QAction(MainWindow)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(_fromUtf8(":/stock_save.svg")),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_Daq.setIcon(icon12)
        self.actionSave_Daq.setObjectName(_fromUtf8("actionSave_Daq"))
        self.actionReset_DAQ = QtGui.QAction(MainWindow)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap(_fromUtf8(":/gtk-refresh.svg")),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionReset_DAQ.setIcon(icon13)
        self.actionReset_DAQ.setObjectName(_fromUtf8("actionReset_DAQ"))
        self.actionAbout = QtGui.QAction(MainWindow)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap(_fromUtf8(":/help-about.svg")),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAbout.setIcon(icon14)
        self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
        self.actionHelp = QtGui.QAction(MainWindow)
        icon15 = QtGui.QIcon()
        icon15.addPixmap(QtGui.QPixmap(_fromUtf8(":/gnome-help.svg")),
                         QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionHelp.setIcon(icon15)
        self.actionHelp.setObjectName(_fromUtf8("actionHelp"))
        self.menuFile.addAction(self.actionSave_Daq)
        self.menuFile.addAction(self.actionReset_DAQ)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionExit)
        self.menuHelp.addAction(self.actionAbout)
        self.menuHelp.addAction(self.actionHelp)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())
        self.toolBar.addAction(self.actionReset_DAQ)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.actionSave_Daq)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.actionExit)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.actionAbout)
        self.toolBar.addAction(self.actionHelp)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(3)
        self.baudComboBox.setCurrentIndex(2)
        self.ParityComboBox.setCurrentIndex(0)
        self.dataBitsComboBox.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.plottingIntervalLabel.setText(
            _translate("MainWindow", "Plotting Interval: 1000", None))
        self.sampleIntervalLabel.setText(
            _translate("MainWindow", "Sample Interval: 100", None))
        self.timerStatusLabel.setText(
            _translate("MainWindow", "Status: Stopped", None))
        self.timeLabel.setText(_translate("MainWindow", "Time: 12:59:59",
                                          None))
        self.svLabel.setText(_translate("MainWindow", "SV: 999.9", None))
        self.pvLabel.setText(_translate("MainWindow", "PV: 999.9", None))
        self.label_3.setText(_translate("MainWindow", "DAQ Record", None))
        self.startButton.setStatusTip(
            _translate("MainWindow",
                       "Start recording DAQ at plotting interval", None))
        self.startButton.setText(_translate("MainWindow", "Start", None))
        self.resetButton.setStatusTip(
            _translate("MainWindow", "Reset DAQ", None))
        self.resetButton.setText(_translate("MainWindow", "Reset", None))
        self.stopButton.setStatusTip(
            _translate("MainWindow", "Stop Taking DAQ data (cannot restart)",
                       None))
        self.stopButton.setText(_translate("MainWindow", "Stop", None))
        self.svVerticalSlider.setStatusTip(
            _translate("MainWindow", "Value to set SV to", None))
        self.setSvButton.setStatusTip(
            _translate("MainWindow", "Set the SV on the Love 16B", None))
        self.setSvButton.setText(_translate("MainWindow", "Set SV", None))
        self.portComboBox.setStatusTip(
            _translate("MainWindow", "Com port for ModBus connection", None))
        self.stopBitsComboBox.setItemText(0,
                                          _translate("MainWindow", "1", None))
        self.stopBitsComboBox.setItemText(
            1, _translate("MainWindow", "1.5", None))
        self.stopBitsComboBox.setItemText(2,
                                          _translate("MainWindow", "2", None))
        self.label_14.setText(_translate("MainWindow", "Parity:", None))
        self.baudComboBox.setItemText(0, _translate("MainWindow", "9600",
                                                    None))
        self.baudComboBox.setItemText(1, _translate("MainWindow", "19200",
                                                    None))
        self.baudComboBox.setItemText(2, _translate("MainWindow", "38400",
                                                    None))
        self.baudComboBox.setItemText(3, _translate("MainWindow", "57600",
                                                    None))
        self.baudComboBox.setItemText(4,
                                      _translate("MainWindow", "115200", None))
        self.label_13.setText(_translate("MainWindow", "Stop Bits:", None))
        self.label_15.setText(_translate("MainWindow", "Data Bits:", None))
        self.ParityComboBox.setItemText(0,
                                        _translate("MainWindow", "NONE", None))
        self.ParityComboBox.setItemText(1,
                                        _translate("MainWindow", "EVEN", None))
        self.ParityComboBox.setItemText(2, _translate("MainWindow", "ODD",
                                                      None))
        self.dataBitsComboBox.setItemText(0,
                                          _translate("MainWindow", "7", None))
        self.dataBitsComboBox.setItemText(1,
                                          _translate("MainWindow", "8", None))
        self.label_16.setText(_translate("MainWindow", "Modbus Timeout", None))
        self.connectButton.setText(
            _translate("MainWindow", "Connect Modbus", None))
        self.disconnectButton.setText(
            _translate("MainWindow", "Disconnect ModBus", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.connectionTab_2),
                                  _translate("MainWindow", "Connection", None))
        self.label.setText(_translate("MainWindow", "PV", None))
        self.getPvButton.setStatusTip(
            _translate("MainWindow", "Get PV from Love 16B", None))
        self.getPvButton.setText(_translate("MainWindow", "Get PV", None))
        self.label_2.setText(_translate("MainWindow", "SV", None))
        self.getSvButton.setStatusTip(
            _translate("MainWindow", "Get SV from Love 16B", None))
        self.getSvButton.setText(_translate("MainWindow", "Get SV", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5),
                                  _translate("MainWindow", "Readouts", None))
        self.dataTextEdit.setStatusTip(
            _translate("MainWindow", "Message log...", None))
        self.dataTextEdit.setHtml(
            _translate(
                "MainWindow",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt; font-weight:600;\">Love 16B Data Monitor...</span></p></body></html>",
                None))
        self.monitorScrollCheckBox.setText(
            _translate("MainWindow", "Scroll to Bottom", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.monitorTab_2),
                                  _translate("MainWindow", "Monitor", None))
        item = self.DaqTableWidget.verticalHeaderItem(0)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "Sample#", None))
        item = self.DaqTableWidget.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "Time(H:M:S)", None))
        item = self.DaqTableWidget.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "Datetime", None))
        item = self.DaqTableWidget.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "Temperature", None))
        item = self.DaqTableWidget.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "Set Point", None))
        item = self.DaqTableWidget.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "Error", None))
        __sortingEnabled = self.DaqTableWidget.isSortingEnabled()
        self.DaqTableWidget.setSortingEnabled(False)
        item = self.DaqTableWidget.item(0, 0)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.item(0, 1)
        item.setText(_translate("MainWindow", "00:00", None))
        item = self.DaqTableWidget.item(0, 2)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.item(0, 3)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.item(0, 4)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.item(0, 5)
        item.setText(_translate("MainWindow", "0", None))
        self.DaqTableWidget.setSortingEnabled(__sortingEnabled)
        self.daqScrollCheckBox.setText(
            _translate("MainWindow", "Scroll to Bottom", None))
        self.daqSamplesTakenLabel.setText(
            _translate("MainWindow", "# of Samples Taken: 00000", None))
        self.clearDaqButton.setToolTip(
            _translate("MainWindow", "Clear Program and Readout", None))
        self.clearDaqButton.setText(_translate("MainWindow", "Clear DAQ",
                                               None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.dataTab_2),
                                  _translate("MainWindow", "DAQ Viewer", None))
        self.label_4.setText(_translate("MainWindow", "Read Registers", None))
        self.label_17.setText(
            _translate("MainWindow", "PV Read Register", None))
        self.label_18.setText(
            _translate("MainWindow", "SV Read Register", None))
        self.label_19.setText(
            _translate("MainWindow", "PV Write Register", None))
        self.label_20.setText(
            _translate("MainWindow", "SV Write Register", None))
        self.label_5.setText(_translate("MainWindow", "Write Registers", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.modbusTab_2),
            _translate("MainWindow", "ModBus Config", None))
        self.menuFile.setTitle(_translate("MainWindow", "File", None))
        self.menuHelp.setTitle(_translate("MainWindow", "Help", None))
        self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
        self.actionExit.setText(_translate("MainWindow", "E&xit", None))
        self.actionExit.setToolTip(
            _translate("MainWindow", "Exit the program", None))
        self.actionExit.setStatusTip(
            _translate("MainWindow", "Exit the program", None))
        self.actionExit.setShortcut(_translate("MainWindow", "Ctrl+X", None))
        self.actionSave_Daq.setText(_translate("MainWindow", "Save DAQ", None))
        self.actionSave_Daq.setToolTip(
            _translate("MainWindow", "Save DAQ Data", None))
        self.actionSave_Daq.setStatusTip(
            _translate("MainWindow", "Save DAQ Data", None))
        self.actionSave_Daq.setShortcut(
            _translate("MainWindow", "Ctrl+S", None))
        self.actionReset_DAQ.setText(
            _translate("MainWindow", "Reset DAQ", None))
        self.actionReset_DAQ.setToolTip(
            _translate("MainWindow", "Reset the DAQ", None))
        self.actionReset_DAQ.setStatusTip(
            _translate("MainWindow", "Reset the DAQ", None))
        self.actionAbout.setText(_translate("MainWindow", "About", None))
        self.actionAbout.setStatusTip(_translate("MainWindow", "About", None))
        self.actionHelp.setText(_translate("MainWindow", "Help", None))
        self.actionHelp.setStatusTip(_translate("MainWindow", "Help", None))
class Ui_SpectrumAnalyzerWindow(object):
    def setupUi(self, SpectrumAnalyzerWindow):
        SpectrumAnalyzerWindow.setObjectName(_fromUtf8("SpectrumAnalyzerWindow"))
        SpectrumAnalyzerWindow.resize(817, 666)
        self.centralwidget = QtGui.QWidget(SpectrumAnalyzerWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setGeometry(QtCore.QRect(190, 10, 471, 301))
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.clearButton = QtGui.QPushButton(self.centralwidget)
        self.clearButton.setGeometry(QtCore.QRect(680, 10, 121, 61))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.clearButton.setFont(font)
        self.clearButton.setObjectName(_fromUtf8("clearButton"))
        self.layoutWidget = QtGui.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 10, 176, 321))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.powerLCD = QtGui.QLCDNumber(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.powerLCD.setFont(font)
        self.powerLCD.setFrameShape(QtGui.QFrame.Panel)
        self.powerLCD.setFrameShadow(QtGui.QFrame.Raised)
        self.powerLCD.setLineWidth(1)
        self.powerLCD.setMidLineWidth(-2)
        self.powerLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.powerLCD.setObjectName(_fromUtf8("powerLCD"))
        self.horizontalLayout_6.addWidget(self.powerLCD)
        self.dBmLabel = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.dBmLabel.setFont(font)
        self.dBmLabel.setObjectName(_fromUtf8("dBmLabel"))
        self.horizontalLayout_6.addWidget(self.dBmLabel)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.calibratedOuputCheckBox = QtGui.QCheckBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.calibratedOuputCheckBox.setFont(font)
        self.calibratedOuputCheckBox.setObjectName(_fromUtf8("calibratedOuputCheckBox"))
        self.verticalLayout.addWidget(self.calibratedOuputCheckBox)
        self.label_12 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_12.setFont(font)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.verticalLayout.addWidget(self.label_12)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.frequencySpinBox = QtGui.QDoubleSpinBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.frequencySpinBox.setFont(font)
        self.frequencySpinBox.setDecimals(5)
        self.frequencySpinBox.setMinimum(1.0)
        self.frequencySpinBox.setMaximum(10.0)
        self.frequencySpinBox.setSingleStep(0.01)
        self.frequencySpinBox.setProperty(_fromUtf8("value"), 7.000)
        self.frequencySpinBox.setObjectName(_fromUtf8("frequencySpinBox"))
        self.horizontalLayout_5.addWidget(self.frequencySpinBox)
        self.label_13 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_13.setFont(font)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.horizontalLayout_5.addWidget(self.label_13)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.instantRButton = QtGui.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.instantRButton.setFont(font)
        self.instantRButton.setChecked(True)
        self.instantRButton.setObjectName(_fromUtf8("instantRButton"))
        self.powerReadingButtonGroup = QtGui.QButtonGroup(SpectrumAnalyzerWindow)
        self.powerReadingButtonGroup.setObjectName(_fromUtf8("powerReadingButtonGroup"))
        self.powerReadingButtonGroup.addButton(self.instantRButton)
        self.verticalLayout.addWidget(self.instantRButton)
        self.averageRButton = QtGui.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.averageRButton.setFont(font)
        self.averageRButton.setObjectName(_fromUtf8("averageRButton"))
        self.powerReadingButtonGroup.addButton(self.averageRButton)
        self.verticalLayout.addWidget(self.averageRButton)
        self.label_3 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout.addWidget(self.label_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.updateRateSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.updateRateSpinBox.setFont(font)
        self.updateRateSpinBox.setMinimum(0.01)
        self.updateRateSpinBox.setMaximum(30.0)
        self.updateRateSpinBox.setSingleStep(0.2)
        self.updateRateSpinBox.setObjectName(_fromUtf8("updateRateSpinBox"))
        self.horizontalLayout.addWidget(self.updateRateSpinBox)
        self.label_4 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout.addWidget(self.label_4)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.spectrumCurvewidget = CurveWidget(self.centralwidget)
        self.spectrumCurvewidget.setGeometry(QtCore.QRect(190, 350, 601, 251))
        self.spectrumCurvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.spectrumCurvewidget.setObjectName(_fromUtf8("spectrumCurvewidget"))
        self.layoutWidget1 = QtGui.QWidget(self.centralwidget)
        self.layoutWidget1.setGeometry(QtCore.QRect(10, 350, 161, 251))
        self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_7 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_7.setFont(font)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_2.addWidget(self.label_7)
        self.label_8 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_8.setFont(font)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.verticalLayout_2.addWidget(self.label_8)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.startSweepSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.startSweepSpinBox.setFont(font)
        self.startSweepSpinBox.setMinimum(1.0)
        self.startSweepSpinBox.setMaximum(10.0)
        self.startSweepSpinBox.setSingleStep(0.00001)
        self.startSweepSpinBox.setProperty(_fromUtf8("value"), 6.5)
        self.startSweepSpinBox.setObjectName(_fromUtf8("startSweepSpinBox"))
        self.horizontalLayout_2.addWidget(self.startSweepSpinBox)
        self.label_5 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_5.setFont(font)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_2.addWidget(self.label_5)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.label_9 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_9.setFont(font)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.verticalLayout_2.addWidget(self.label_9)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.endSweepSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.endSweepSpinBox.setFont(font)
        self.endSweepSpinBox.setMinimum(1.0)
        self.endSweepSpinBox.setMaximum(10.0)
        self.endSweepSpinBox.setSingleStep(0.00001)
        self.endSweepSpinBox.setProperty(_fromUtf8("value"), 7.2)
        self.endSweepSpinBox.setObjectName(_fromUtf8("endSweepSpinBox"))
        self.horizontalLayout_3.addWidget(self.endSweepSpinBox)
        self.label_6 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_3.addWidget(self.label_6)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.label_10 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_10.setFont(font)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.verticalLayout_2.addWidget(self.label_10)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.stepSweepSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.stepSweepSpinBox.setFont(font)
        self.stepSweepSpinBox.setDecimals(6)
        self.stepSweepSpinBox.setMinimum(0.00001)
        self.stepSweepSpinBox.setMaximum(1.0)
        self.stepSweepSpinBox.setSingleStep(0.00001)
        self.stepSweepSpinBox.setProperty(_fromUtf8("value"), 0.005)
        self.stepSweepSpinBox.setObjectName(_fromUtf8("stepSweepSpinBox"))
        self.horizontalLayout_4.addWidget(self.stepSweepSpinBox)
        self.label_11 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_11.setFont(font)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.horizontalLayout_4.addWidget(self.label_11)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.sweepButton = QtGui.QPushButton(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.sweepButton.setFont(font)
        self.sweepButton.setObjectName(_fromUtf8("sweepButton"))
        self.verticalLayout_2.addWidget(self.sweepButton)
        SpectrumAnalyzerWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(SpectrumAnalyzerWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 817, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        SpectrumAnalyzerWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(SpectrumAnalyzerWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        SpectrumAnalyzerWindow.setStatusBar(self.statusbar)

        self.retranslateUi(SpectrumAnalyzerWindow)
        QtCore.QMetaObject.connectSlotsByName(SpectrumAnalyzerWindow)

    def retranslateUi(self, SpectrumAnalyzerWindow):
        SpectrumAnalyzerWindow.setWindowTitle(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Spectrum Analyzer", None, QtGui.QApplication.UnicodeUTF8))
        self.clearButton.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Clear Plot", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Current Power:", None, QtGui.QApplication.UnicodeUTF8))
        self.dBmLabel.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "(±0.2)dBm", None, QtGui.QApplication.UnicodeUTF8))
        self.calibratedOuputCheckBox.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Calibrated output (in dBm)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "At Frequency:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Power Reading Mode:", None, QtGui.QApplication.UnicodeUTF8))
        self.instantRButton.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Instant", None, QtGui.QApplication.UnicodeUTF8))
        self.averageRButton.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Average", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Update Rate:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Hz", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Sweep Setup:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Start:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "End:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Step:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.sweepButton.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Sweep", None, QtGui.QApplication.UnicodeUTF8))
Example #6
0
class Ui_NWAViewerWindow(object):
    def setupUi(self, NWAViewerWindow):
        NWAViewerWindow.setObjectName("NWAViewerWindow")
        NWAViewerWindow.resize(946, 819)
        self.centralwidget = QtGui.QWidget(NWAViewerWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.fileLabel = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fileLabel.sizePolicy().hasHeightForWidth())
        self.fileLabel.setSizePolicy(sizePolicy)
        self.fileLabel.setObjectName("fileLabel")
        self.horizontalLayout.addWidget(self.fileLabel)
        self.linearCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.linearCheckBox.setObjectName("linearCheckBox")
        self.horizontalLayout.addWidget(self.linearCheckBox)
        self.fileButton = QtGui.QPushButton(self.centralwidget)
        self.fileButton.setObjectName("fileButton")
        self.horizontalLayout.addWidget(self.fileButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.curvewidget = CurveWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.curvewidget.sizePolicy().hasHeightForWidth())
        self.curvewidget.setSizePolicy(sizePolicy)
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName("curvewidget")
        self.verticalLayout.addWidget(self.curvewidget)
        self.curvewidget2 = CurveWidget(self.centralwidget)
        self.curvewidget2.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget2.setObjectName("curvewidget2")
        self.verticalLayout.addWidget(self.curvewidget2)
        NWAViewerWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(NWAViewerWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 946, 22))
        self.menubar.setObjectName("menubar")
        NWAViewerWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(NWAViewerWindow)
        self.statusbar.setObjectName("statusbar")
        NWAViewerWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(NWAViewerWindow)
        self.toolBar.setObjectName("toolBar")
        NWAViewerWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)

        self.retranslateUi(NWAViewerWindow)
        QtCore.QMetaObject.connectSlotsByName(NWAViewerWindow)

    def retranslateUi(self, NWAViewerWindow):
        NWAViewerWindow.setWindowTitle(
            QtGui.QApplication.translate("NWAViewerWindow",
                                         "Network Analyzer Viewer", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.fileLabel.setText(
            QtGui.QApplication.translate("NWAViewerWindow", "No File Loaded",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.linearCheckBox.setText(
            QtGui.QApplication.translate("NWAViewerWindow", "Linear", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.fileButton.setText(
            QtGui.QApplication.translate("NWAViewerWindow", "Open", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(
            QtGui.QApplication.translate("NWAViewerWindow", "toolBar", None,
                                         QtGui.QApplication.UnicodeUTF8))
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1149, 925)
        self.centralwidget = QtGui.QWidget(MainWindow)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.centralwidget.setFont(font)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.scrollArea = QtGui.QScrollArea(self.centralwidget)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1127, 883))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.gridLayout_3 = QtGui.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.tabWidget = QtGui.QTabWidget(self.scrollAreaWidgetContents)
        font = QtGui.QFont()
        font.setPointSize(12)
        self.tabWidget.setFont(font)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_1 = QtGui.QWidget()
        self.tab_1.setObjectName(_fromUtf8("tab_1"))
        self.groupBox_parameter = QtGui.QGroupBox(self.tab_1)
        self.groupBox_parameter.setGeometry(QtCore.QRect(20, 10, 191, 811))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_parameter.setFont(font)
        self.groupBox_parameter.setObjectName(_fromUtf8("groupBox_parameter"))
        self.label_starting_value = QtGui.QLabel(self.groupBox_parameter)
        self.label_starting_value.setGeometry(QtCore.QRect(10, 20, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_starting_value.setFont(font)
        self.label_starting_value.setObjectName(_fromUtf8("label_starting_value"))
        self.lineEdit_start = QtGui.QLineEdit(self.groupBox_parameter)
        self.lineEdit_start.setGeometry(QtCore.QRect(10, 50, 171, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_start.setFont(font)
        self.lineEdit_start.setObjectName(_fromUtf8("lineEdit_start"))
        self.pushButton_plot = QtGui.QPushButton(self.groupBox_parameter)
        self.pushButton_plot.setGeometry(QtCore.QRect(100, 690, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_plot.setFont(font)
        self.pushButton_plot.setObjectName(_fromUtf8("pushButton_plot"))
        self.pushButton_clear = QtGui.QPushButton(self.groupBox_parameter)
        self.pushButton_clear.setEnabled(False)
        self.pushButton_clear.setGeometry(QtCore.QRect(20, 690, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_clear.setFont(font)
        self.pushButton_clear.setObjectName(_fromUtf8("pushButton_clear"))
        self.textEdit_peaks_steps = QtGui.QTextEdit(self.groupBox_parameter)
        self.textEdit_peaks_steps.setGeometry(QtCore.QRect(10, 120, 171, 551))
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setStrikeOut(False)
        font.setKerning(True)
        self.textEdit_peaks_steps.setFont(font)
        self.textEdit_peaks_steps.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.IBeamCursor))
        self.textEdit_peaks_steps.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.textEdit_peaks_steps.setTabStopWidth(80)
        self.textEdit_peaks_steps.setCursorWidth(2)
        self.textEdit_peaks_steps.setObjectName(_fromUtf8("textEdit_peaks_steps"))
        self.label_2 = QtGui.QLabel(self.groupBox_parameter)
        self.label_2.setGeometry(QtCore.QRect(10, 90, 151, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.groupBox_save_general = QtGui.QGroupBox(self.tab_1)
        self.groupBox_save_general.setGeometry(QtCore.QRect(230, 10, 541, 171))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_save_general.setFont(font)
        self.groupBox_save_general.setObjectName(_fromUtf8("groupBox_save_general"))
        self.lineEdit_array_name = QtGui.QLineEdit(self.groupBox_save_general)
        self.lineEdit_array_name.setGeometry(QtCore.QRect(20, 50, 181, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_array_name.setFont(font)
        self.lineEdit_array_name.setObjectName(_fromUtf8("lineEdit_array_name"))
        self.label_4 = QtGui.QLabel(self.groupBox_save_general)
        self.label_4.setGeometry(QtCore.QRect(20, 20, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.pushButton_save = QtGui.QPushButton(self.groupBox_save_general)
        self.pushButton_save.setEnabled(False)
        self.pushButton_save.setGeometry(QtCore.QRect(440, 70, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_save.setFont(font)
        self.pushButton_save.setObjectName(_fromUtf8("pushButton_save"))
        self.label_6 = QtGui.QLabel(self.groupBox_save_general)
        self.label_6.setGeometry(QtCore.QRect(20, 80, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.lineEdit_directory_save = QtGui.QLineEdit(self.groupBox_save_general)
        self.lineEdit_directory_save.setGeometry(QtCore.QRect(20, 110, 501, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_directory_save.setFont(font)
        self.lineEdit_directory_save.setObjectName(_fromUtf8("lineEdit_directory_save"))
        self.pushButton_browse_save = QtGui.QPushButton(self.groupBox_save_general)
        self.pushButton_browse_save.setGeometry(QtCore.QRect(440, 30, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_browse_save.setFont(font)
        self.pushButton_browse_save.setObjectName(_fromUtf8("pushButton_browse_save"))
        self.label_10 = QtGui.QLabel(self.groupBox_save_general)
        self.label_10.setGeometry(QtCore.QRect(230, 20, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_10.setFont(font)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.lineEdit_user_name = QtGui.QLineEdit(self.groupBox_save_general)
        self.lineEdit_user_name.setGeometry(QtCore.QRect(230, 50, 181, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_user_name.setFont(font)
        self.lineEdit_user_name.setObjectName(_fromUtf8("lineEdit_user_name"))
        self.groupBox_plot = QtGui.QGroupBox(self.tab_1)
        self.groupBox_plot.setGeometry(QtCore.QRect(230, 190, 851, 631))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_plot.setFont(font)
        self.groupBox_plot.setObjectName(_fromUtf8("groupBox_plot"))
        self.mplwidget_general = MatplotlibWidget(self.groupBox_plot)
        self.mplwidget_general.setGeometry(QtCore.QRect(350, 270, 16, 16))
        self.mplwidget_general.setObjectName(_fromUtf8("mplwidget_general"))
        self.widget_general = QtGui.QWidget(self.groupBox_plot)
        self.widget_general.setGeometry(QtCore.QRect(0, 10, 851, 621))
        self.widget_general.setObjectName(_fromUtf8("widget_general"))
        self.groupBox_condition_general = QtGui.QGroupBox(self.tab_1)
        self.groupBox_condition_general.setGeometry(QtCore.QRect(790, 10, 291, 171))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_condition_general.setFont(font)
        self.groupBox_condition_general.setObjectName(_fromUtf8("groupBox_condition_general"))
        self.textEdit_condition = QtGui.QTextEdit(self.groupBox_condition_general)
        self.textEdit_condition.setGeometry(QtCore.QRect(20, 50, 251, 81))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.textEdit_condition.setFont(font)
        self.textEdit_condition.setObjectName(_fromUtf8("textEdit_condition"))
        self.tabWidget.addTab(self.tab_1, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.groupBox_import_keithley = QtGui.QGroupBox(self.tab_2)
        self.groupBox_import_keithley.setGeometry(QtCore.QRect(10, 10, 311, 141))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_import_keithley.setFont(font)
        self.groupBox_import_keithley.setObjectName(_fromUtf8("groupBox_import_keithley"))
        self.lineEdit_directory_keithley = QtGui.QLineEdit(self.groupBox_import_keithley)
        self.lineEdit_directory_keithley.setGeometry(QtCore.QRect(10, 50, 291, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_directory_keithley.setFont(font)
        self.lineEdit_directory_keithley.setObjectName(_fromUtf8("lineEdit_directory_keithley"))
        self.label_7 = QtGui.QLabel(self.groupBox_import_keithley)
        self.label_7.setGeometry(QtCore.QRect(10, 20, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_7.setFont(font)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.pushButton_browse_keithley = QtGui.QPushButton(self.groupBox_import_keithley)
        self.pushButton_browse_keithley.setGeometry(QtCore.QRect(10, 100, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_browse_keithley.setFont(font)
        self.pushButton_browse_keithley.setObjectName(_fromUtf8("pushButton_browse_keithley"))
        self.pushButton_import_keithley = QtGui.QPushButton(self.groupBox_import_keithley)
        self.pushButton_import_keithley.setEnabled(False)
        self.pushButton_import_keithley.setGeometry(QtCore.QRect(120, 100, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_import_keithley.setFont(font)
        self.pushButton_import_keithley.setObjectName(_fromUtf8("pushButton_import_keithley"))
        self.pushButton_copy_keithley = QtGui.QPushButton(self.groupBox_import_keithley)
        self.pushButton_copy_keithley.setEnabled(True)
        self.pushButton_copy_keithley.setGeometry(QtCore.QRect(230, 100, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_copy_keithley.setFont(font)
        self.pushButton_copy_keithley.setObjectName(_fromUtf8("pushButton_copy_keithley"))
        self.tabWidget_plot_keithely = QtGui.QTabWidget(self.tab_2)
        self.tabWidget_plot_keithely.setGeometry(QtCore.QRect(10, 230, 1081, 601))
        self.tabWidget_plot_keithely.setObjectName(_fromUtf8("tabWidget_plot_keithely"))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.widget_import = QtGui.QWidget(self.tab_3)
        self.widget_import.setGeometry(QtCore.QRect(0, 0, 1081, 571))
        self.widget_import.setObjectName(_fromUtf8("widget_import"))
        self.mplwidget_import = MatplotlibWidget(self.widget_import)
        self.mplwidget_import.setGeometry(QtCore.QRect(520, 230, 16, 16))
        self.mplwidget_import.setObjectName(_fromUtf8("mplwidget_import"))
        self.tabWidget_plot_keithely.addTab(self.tab_3, _fromUtf8(""))
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName(_fromUtf8("tab_4"))
        self.curvewidget_keithley = CurveWidget(self.tab_4)
        self.curvewidget_keithley.setGeometry(QtCore.QRect(0, 10, 1061, 551))
        self.curvewidget_keithley.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget_keithley.setObjectName(_fromUtf8("curvewidget_keithley"))
        self.tabWidget_plot_keithely.addTab(self.tab_4, _fromUtf8(""))
        self.tab_6 = QtGui.QWidget()
        self.tab_6.setObjectName(_fromUtf8("tab_6"))
        self.widget_analysis = QtGui.QWidget(self.tab_6)
        self.widget_analysis.setGeometry(QtCore.QRect(0, 0, 1081, 571))
        self.widget_analysis.setObjectName(_fromUtf8("widget_analysis"))
        self.mplwidget_analysis = MatplotlibWidget(self.widget_analysis)
        self.mplwidget_analysis.setGeometry(QtCore.QRect(520, 230, 16, 16))
        self.mplwidget_analysis.setObjectName(_fromUtf8("mplwidget_analysis"))
        self.tabWidget_plot_keithely.addTab(self.tab_6, _fromUtf8(""))
        self.tab_7 = QtGui.QWidget()
        self.tab_7.setObjectName(_fromUtf8("tab_7"))
        self.tabWidget_plot_keithely.addTab(self.tab_7, _fromUtf8(""))
        self.groupBox_condition_keithley = QtGui.QGroupBox(self.tab_2)
        self.groupBox_condition_keithley.setGeometry(QtCore.QRect(10, 150, 311, 71))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_condition_keithley.setFont(font)
        self.groupBox_condition_keithley.setObjectName(_fromUtf8("groupBox_condition_keithley"))
        self.lineEdit_condition_keithley = QtGui.QLineEdit(self.groupBox_condition_keithley)
        self.lineEdit_condition_keithley.setGeometry(QtCore.QRect(10, 30, 291, 31))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.lineEdit_condition_keithley.setFont(font)
        self.lineEdit_condition_keithley.setObjectName(_fromUtf8("lineEdit_condition_keithley"))
        self.groupBox_visa_keithley = QtGui.QGroupBox(self.tab_2)
        self.groupBox_visa_keithley.setEnabled(False)
        self.groupBox_visa_keithley.setGeometry(QtCore.QRect(330, 10, 321, 211))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_visa_keithley.setFont(font)
        self.groupBox_visa_keithley.setObjectName(_fromUtf8("groupBox_visa_keithley"))
        self.label_chooseVisa = QtGui.QLabel(self.groupBox_visa_keithley)
        self.label_chooseVisa.setGeometry(QtCore.QRect(20, 20, 311, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_chooseVisa.setFont(font)
        self.label_chooseVisa.setObjectName(_fromUtf8("label_chooseVisa"))
        self.comboBox_visa_keithley = QtGui.QComboBox(self.groupBox_visa_keithley)
        self.comboBox_visa_keithley.setGeometry(QtCore.QRect(10, 50, 301, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.comboBox_visa_keithley.setFont(font)
        self.comboBox_visa_keithley.setObjectName(_fromUtf8("comboBox_visa_keithley"))
        self.pushButton_select_keithley = QtGui.QPushButton(self.groupBox_visa_keithley)
        self.pushButton_select_keithley.setGeometry(QtCore.QRect(60, 100, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_select_keithley.setFont(font)
        self.pushButton_select_keithley.setObjectName(_fromUtf8("pushButton_select_keithley"))
        self.pushButton_close_keithley = QtGui.QPushButton(self.groupBox_visa_keithley)
        self.pushButton_close_keithley.setGeometry(QtCore.QRect(190, 100, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_close_keithley.setFont(font)
        self.pushButton_close_keithley.setObjectName(_fromUtf8("pushButton_close_keithley"))
        self.label_8 = QtGui.QLabel(self.groupBox_visa_keithley)
        self.label_8.setGeometry(QtCore.QRect(20, 140, 311, 27))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_8.setFont(font)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.lineEdit_visa_keithley = QtGui.QLineEdit(self.groupBox_visa_keithley)
        self.lineEdit_visa_keithley.setGeometry(QtCore.QRect(10, 170, 301, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_visa_keithley.setFont(font)
        self.lineEdit_visa_keithley.setObjectName(_fromUtf8("lineEdit_visa_keithley"))
        self.groupBox_scan_keithley = QtGui.QGroupBox(self.tab_2)
        self.groupBox_scan_keithley.setEnabled(False)
        self.groupBox_scan_keithley.setGeometry(QtCore.QRect(660, 10, 431, 211))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupBox_scan_keithley.setFont(font)
        self.groupBox_scan_keithley.setObjectName(_fromUtf8("groupBox_scan_keithley"))
        self.label = QtGui.QLabel(self.groupBox_scan_keithley)
        self.label.setGeometry(QtCore.QRect(10, 20, 61, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.radioButton_voltage_keithley = QtGui.QRadioButton(self.groupBox_scan_keithley)
        self.radioButton_voltage_keithley.setGeometry(QtCore.QRect(70, 20, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioButton_voltage_keithley.setFont(font)
        self.radioButton_voltage_keithley.setChecked(True)
        self.radioButton_voltage_keithley.setObjectName(_fromUtf8("radioButton_voltage_keithley"))
        self.radioButton_current_keithley = QtGui.QRadioButton(self.groupBox_scan_keithley)
        self.radioButton_current_keithley.setGeometry(QtCore.QRect(150, 20, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioButton_current_keithley.setFont(font)
        self.radioButton_current_keithley.setObjectName(_fromUtf8("radioButton_current_keithley"))
        self.pushButton_scan_keithley = QtGui.QPushButton(self.groupBox_scan_keithley)
        self.pushButton_scan_keithley.setGeometry(QtCore.QRect(170, 170, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_scan_keithley.setFont(font)
        self.pushButton_scan_keithley.setObjectName(_fromUtf8("pushButton_scan_keithley"))
        self.pushButton_stop_keithley = QtGui.QPushButton(self.groupBox_scan_keithley)
        self.pushButton_stop_keithley.setEnabled(False)
        self.pushButton_stop_keithley.setGeometry(QtCore.QRect(290, 170, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_stop_keithley.setFont(font)
        self.pushButton_stop_keithley.setObjectName(_fromUtf8("pushButton_stop_keithley"))
        self.pushButton_clear_keithley = QtGui.QPushButton(self.groupBox_scan_keithley)
        self.pushButton_clear_keithley.setEnabled(False)
        self.pushButton_clear_keithley.setGeometry(QtCore.QRect(340, 130, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_clear_keithley.setFont(font)
        self.pushButton_clear_keithley.setObjectName(_fromUtf8("pushButton_clear_keithley"))
        self.label_xname_keithley = QtGui.QLabel(self.groupBox_scan_keithley)
        self.label_xname_keithley.setGeometry(QtCore.QRect(230, 80, 61, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_xname_keithley.setFont(font)
        self.label_xname_keithley.setObjectName(_fromUtf8("label_xname_keithley"))
        self.label_yname_keithley = QtGui.QLabel(self.groupBox_scan_keithley)
        self.label_yname_keithley.setGeometry(QtCore.QRect(230, 40, 61, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_yname_keithley.setFont(font)
        self.label_yname_keithley.setObjectName(_fromUtf8("label_yname_keithley"))
        self.pushButton_pause_keithley = QtGui.QPushButton(self.groupBox_scan_keithley)
        self.pushButton_pause_keithley.setEnabled(False)
        self.pushButton_pause_keithley.setGeometry(QtCore.QRect(220, 130, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_pause_keithley.setFont(font)
        self.pushButton_pause_keithley.setObjectName(_fromUtf8("pushButton_pause_keithley"))
        self.label_yunit_keithley = QtGui.QLabel(self.groupBox_scan_keithley)
        self.label_yunit_keithley.setGeometry(QtCore.QRect(370, 40, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_yunit_keithley.setFont(font)
        self.label_yunit_keithley.setText(_fromUtf8(""))
        self.label_yunit_keithley.setObjectName(_fromUtf8("label_yunit_keithley"))
        self.label_xunit_keithley = QtGui.QLabel(self.groupBox_scan_keithley)
        self.label_xunit_keithley.setGeometry(QtCore.QRect(370, 80, 51, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_xunit_keithley.setFont(font)
        self.label_xunit_keithley.setText(_fromUtf8(""))
        self.label_xunit_keithley.setObjectName(_fromUtf8("label_xunit_keithley"))
        self.tabWidget_scan_keithley = QtGui.QTabWidget(self.groupBox_scan_keithley)
        self.tabWidget_scan_keithley.setGeometry(QtCore.QRect(10, 60, 191, 71))
        self.tabWidget_scan_keithley.setObjectName(_fromUtf8("tabWidget_scan_keithley"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.radioButton_mv_keithley = QtGui.QRadioButton(self.tab)
        self.radioButton_mv_keithley.setGeometry(QtCore.QRect(70, 10, 51, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioButton_mv_keithley.setFont(font)
        self.radioButton_mv_keithley.setChecked(True)
        self.radioButton_mv_keithley.setObjectName(_fromUtf8("radioButton_mv_keithley"))
        self.radioButton_v_keithley = QtGui.QRadioButton(self.tab)
        self.radioButton_v_keithley.setGeometry(QtCore.QRect(130, 10, 41, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioButton_v_keithley.setFont(font)
        self.radioButton_v_keithley.setObjectName(_fromUtf8("radioButton_v_keithley"))
        self.radioButton_uv_keithley = QtGui.QRadioButton(self.tab)
        self.radioButton_uv_keithley.setGeometry(QtCore.QRect(10, 10, 51, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioButton_uv_keithley.setFont(font)
        self.radioButton_uv_keithley.setObjectName(_fromUtf8("radioButton_uv_keithley"))
        self.tabWidget_scan_keithley.addTab(self.tab, _fromUtf8(""))
        self.tab_5 = QtGui.QWidget()
        self.tab_5.setObjectName(_fromUtf8("tab_5"))
        self.radioButton_na_keithley = QtGui.QRadioButton(self.tab_5)
        self.radioButton_na_keithley.setGeometry(QtCore.QRect(10, 10, 51, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioButton_na_keithley.setFont(font)
        self.radioButton_na_keithley.setChecked(True)
        self.radioButton_na_keithley.setObjectName(_fromUtf8("radioButton_na_keithley"))
        self.radioButton_ua_keithley = QtGui.QRadioButton(self.tab_5)
        self.radioButton_ua_keithley.setGeometry(QtCore.QRect(70, 10, 51, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioButton_ua_keithley.setFont(font)
        self.radioButton_ua_keithley.setObjectName(_fromUtf8("radioButton_ua_keithley"))
        self.radioButton_ma_keithley = QtGui.QRadioButton(self.tab_5)
        self.radioButton_ma_keithley.setGeometry(QtCore.QRect(130, 10, 51, 21))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.radioButton_ma_keithley.setFont(font)
        self.radioButton_ma_keithley.setObjectName(_fromUtf8("radioButton_ma_keithley"))
        self.tabWidget_scan_keithley.addTab(self.tab_5, _fromUtf8(""))
        self.label_yname_keithley_2 = QtGui.QLabel(self.groupBox_scan_keithley)
        self.label_yname_keithley_2.setGeometry(QtCore.QRect(10, 140, 121, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_yname_keithley_2.setFont(font)
        self.label_yname_keithley_2.setObjectName(_fromUtf8("label_yname_keithley_2"))
        self.lineEdit_tstep_keithley = QtGui.QLineEdit(self.groupBox_scan_keithley)
        self.lineEdit_tstep_keithley.setGeometry(QtCore.QRect(10, 170, 121, 31))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.lineEdit_tstep_keithley.setFont(font)
        self.lineEdit_tstep_keithley.setObjectName(_fromUtf8("lineEdit_tstep_keithley"))
        self.label_yvalue_keithley = QtGui.QLabel(self.groupBox_scan_keithley)
        self.label_yvalue_keithley.setGeometry(QtCore.QRect(300, 40, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_yvalue_keithley.setFont(font)
        self.label_yvalue_keithley.setText(_fromUtf8(""))
        self.label_yvalue_keithley.setObjectName(_fromUtf8("label_yvalue_keithley"))
        self.label_xvalue_keithley = QtGui.QLabel(self.groupBox_scan_keithley)
        self.label_xvalue_keithley.setGeometry(QtCore.QRect(300, 80, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_xvalue_keithley.setFont(font)
        self.label_xvalue_keithley.setText(_fromUtf8(""))
        self.label_xvalue_keithley.setObjectName(_fromUtf8("label_xvalue_keithley"))
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_31 = QtGui.QWidget()
        self.tab_31.setObjectName(_fromUtf8("tab_31"))
        self.saveBox = QtGui.QGroupBox(self.tab_31)
        self.saveBox.setGeometry(QtCore.QRect(10, 270, 181, 271))
        self.saveBox.setObjectName(_fromUtf8("saveBox"))
        self.browseButton = QtGui.QPushButton(self.saveBox)
        self.browseButton.setGeometry(QtCore.QRect(10, 30, 71, 31))
        self.browseButton.setObjectName(_fromUtf8("browseButton"))
        self.fileTypeLable = QtGui.QLabel(self.saveBox)
        self.fileTypeLable.setGeometry(QtCore.QRect(10, 70, 71, 31))
        self.fileTypeLable.setObjectName(_fromUtf8("fileTypeLable"))
        self.csvRadio = QtGui.QRadioButton(self.saveBox)
        self.csvRadio.setGeometry(QtCore.QRect(90, 90, 51, 21))
        self.csvRadio.setObjectName(_fromUtf8("csvRadio"))
        self.txtRadio = QtGui.QRadioButton(self.saveBox)
        self.txtRadio.setGeometry(QtCore.QRect(90, 70, 51, 21))
        self.txtRadio.setObjectName(_fromUtf8("txtRadio"))
        self.directoryLable = QtGui.QLabel(self.saveBox)
        self.directoryLable.setGeometry(QtCore.QRect(10, 120, 81, 31))
        self.directoryLable.setObjectName(_fromUtf8("directoryLable"))
        self.directory = QtGui.QLineEdit(self.saveBox)
        self.directory.setGeometry(QtCore.QRect(10, 150, 161, 31))
        self.directory.setObjectName(_fromUtf8("directory"))
        self.saveButton = QtGui.QPushButton(self.saveBox)
        self.saveButton.setGeometry(QtCore.QRect(100, 30, 71, 31))
        self.saveButton.setObjectName(_fromUtf8("saveButton"))
        self.folderName = QtGui.QComboBox(self.saveBox)
        self.folderName.setGeometry(QtCore.QRect(10, 220, 161, 31))
        self.folderName.setObjectName(_fromUtf8("folderName"))
        self.folderNameLable = QtGui.QLabel(self.saveBox)
        self.folderNameLable.setGeometry(QtCore.QRect(10, 190, 111, 31))
        self.folderNameLable.setObjectName(_fromUtf8("folderNameLable"))
        self.fileBox = QtGui.QGroupBox(self.tab_31)
        self.fileBox.setGeometry(QtCore.QRect(10, 160, 311, 101))
        self.fileBox.setObjectName(_fromUtf8("fileBox"))
        self.defaultFile = QtGui.QRadioButton(self.fileBox)
        self.defaultFile.setGeometry(QtCore.QRect(10, 20, 131, 31))
        self.defaultFile.setObjectName(_fromUtf8("defaultFile"))
        self.customFile = QtGui.QRadioButton(self.fileBox)
        self.customFile.setGeometry(QtCore.QRect(10, 50, 81, 31))
        self.customFile.setObjectName(_fromUtf8("customFile"))
        self.file = QtGui.QLineEdit(self.fileBox)
        self.file.setGeometry(QtCore.QRect(90, 50, 211, 31))
        self.file.setObjectName(_fromUtf8("file"))
        self.output = QtGui.QTextEdit(self.tab_31)
        self.output.setGeometry(QtCore.QRect(10, 720, 311, 101))
        self.output.setObjectName(_fromUtf8("output"))
        self.outputLable = QtGui.QLabel(self.tab_31)
        self.outputLable.setGeometry(QtCore.QRect(10, 690, 61, 31))
        self.outputLable.setObjectName(_fromUtf8("outputLable"))
        self.errorLable = QtGui.QLabel(self.tab_31)
        self.errorLable.setGeometry(QtCore.QRect(10, 550, 51, 31))
        self.errorLable.setObjectName(_fromUtf8("errorLable"))
        self.error = QtGui.QTextEdit(self.tab_31)
        self.error.setGeometry(QtCore.QRect(10, 580, 311, 101))
        self.error.setObjectName(_fromUtf8("error"))
        self.groupBox_import_keithley_2 = QtGui.QGroupBox(self.tab_31)
        self.groupBox_import_keithley_2.setGeometry(QtCore.QRect(10, 10, 311, 141))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.groupBox_import_keithley_2.setFont(font)
        self.groupBox_import_keithley_2.setObjectName(_fromUtf8("groupBox_import_keithley_2"))
        self.lineEdit_directory_ay = QtGui.QLineEdit(self.groupBox_import_keithley_2)
        self.lineEdit_directory_ay.setGeometry(QtCore.QRect(20, 50, 281, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_directory_ay.setFont(font)
        self.lineEdit_directory_ay.setObjectName(_fromUtf8("lineEdit_directory_ay"))
        self.lable_import_ay = QtGui.QLabel(self.groupBox_import_keithley_2)
        self.lable_import_ay.setGeometry(QtCore.QRect(20, 20, 111, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lable_import_ay.setFont(font)
        self.lable_import_ay.setObjectName(_fromUtf8("lable_import_ay"))
        self.pushButton_browse_ay = QtGui.QPushButton(self.groupBox_import_keithley_2)
        self.pushButton_browse_ay.setGeometry(QtCore.QRect(20, 90, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_browse_ay.setFont(font)
        self.pushButton_browse_ay.setObjectName(_fromUtf8("pushButton_browse_ay"))
        self.pushButton_import_ay = QtGui.QPushButton(self.groupBox_import_keithley_2)
        self.pushButton_import_ay.setEnabled(False)
        self.pushButton_import_ay.setGeometry(QtCore.QRect(120, 90, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_import_ay.setFont(font)
        self.pushButton_import_ay.setObjectName(_fromUtf8("pushButton_import_ay"))
        self.pushButton_copy_ay = QtGui.QPushButton(self.groupBox_import_keithley_2)
        self.pushButton_copy_ay.setEnabled(True)
        self.pushButton_copy_ay.setGeometry(QtCore.QRect(220, 90, 81, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_copy_ay.setFont(font)
        self.pushButton_copy_ay.setObjectName(_fromUtf8("pushButton_copy_ay"))
        self.groupBox = QtGui.QGroupBox(self.tab_31)
        self.groupBox.setGeometry(QtCore.QRect(330, 10, 761, 161))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.selectVisaLable0 = QtGui.QLabel(self.groupBox)
        self.selectVisaLable0.setGeometry(QtCore.QRect(100, 20, 161, 31))
        self.selectVisaLable0.setObjectName(_fromUtf8("selectVisaLable0"))
        self.selectVisa0 = QtGui.QComboBox(self.groupBox)
        self.selectVisa0.setGeometry(QtCore.QRect(260, 20, 371, 31))
        self.selectVisa0.setObjectName(_fromUtf8("selectVisa0"))
        self.visaLable0 = QtGui.QLabel(self.groupBox)
        self.visaLable0.setGeometry(QtCore.QRect(100, 50, 161, 31))
        self.visaLable0.setObjectName(_fromUtf8("visaLable0"))
        self.visa0 = QtGui.QLabel(self.groupBox)
        self.visa0.setGeometry(QtCore.QRect(260, 50, 491, 31))
        self.visa0.setText(_fromUtf8(""))
        self.visa0.setObjectName(_fromUtf8("visa0"))
        self.selectVisaLable1 = QtGui.QLabel(self.groupBox)
        self.selectVisaLable1.setGeometry(QtCore.QRect(100, 90, 161, 31))
        self.selectVisaLable1.setObjectName(_fromUtf8("selectVisaLable1"))
        self.selectVisa1 = QtGui.QComboBox(self.groupBox)
        self.selectVisa1.setGeometry(QtCore.QRect(260, 90, 371, 31))
        self.selectVisa1.setObjectName(_fromUtf8("selectVisa1"))
        self.visa1 = QtGui.QLabel(self.groupBox)
        self.visa1.setGeometry(QtCore.QRect(260, 120, 491, 31))
        self.visa1.setText(_fromUtf8(""))
        self.visa1.setObjectName(_fromUtf8("visa1"))
        self.visaLable1 = QtGui.QLabel(self.groupBox)
        self.visaLable1.setGeometry(QtCore.QRect(100, 120, 161, 31))
        self.visaLable1.setObjectName(_fromUtf8("visaLable1"))
        self.closeVisaButton0 = QtGui.QPushButton(self.groupBox)
        self.closeVisaButton0.setGeometry(QtCore.QRect(640, 20, 111, 31))
        self.closeVisaButton0.setObjectName(_fromUtf8("closeVisaButton0"))
        self.closeVisaButton1 = QtGui.QPushButton(self.groupBox)
        self.closeVisaButton1.setGeometry(QtCore.QRect(640, 90, 111, 31))
        self.closeVisaButton1.setObjectName(_fromUtf8("closeVisaButton1"))
        self.selectVisaButton = QtGui.QPushButton(self.groupBox)
        self.selectVisaButton.setGeometry(QtCore.QRect(10, 70, 81, 31))
        self.selectVisaButton.setObjectName(_fromUtf8("selectVisaButton"))
        self.updateVisaButton = QtGui.QPushButton(self.groupBox)
        self.updateVisaButton.setGeometry(QtCore.QRect(10, 30, 81, 31))
        self.updateVisaButton.setObjectName(_fromUtf8("updateVisaButton"))
        self.groupBox_scan_ay = QtGui.QGroupBox(self.tab_31)
        self.groupBox_scan_ay.setGeometry(QtCore.QRect(200, 270, 121, 271))
        self.groupBox_scan_ay.setObjectName(_fromUtf8("groupBox_scan_ay"))
        self.startButton = QtGui.QPushButton(self.groupBox_scan_ay)
        self.startButton.setGeometry(QtCore.QRect(10, 30, 101, 41))
        self.startButton.setObjectName(_fromUtf8("startButton"))
        self.stopButton = QtGui.QPushButton(self.groupBox_scan_ay)
        self.stopButton.setGeometry(QtCore.QRect(20, 80, 81, 41))
        self.stopButton.setObjectName(_fromUtf8("stopButton"))
        self.timeStepValueLable = QtGui.QLabel(self.groupBox_scan_ay)
        self.timeStepValueLable.setGeometry(QtCore.QRect(20, 190, 81, 31))
        self.timeStepValueLable.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.timeStepValueLable.setObjectName(_fromUtf8("timeStepValueLable"))
        self.timeStepValue = QtGui.QLineEdit(self.groupBox_scan_ay)
        self.timeStepValue.setGeometry(QtCore.QRect(10, 220, 101, 31))
        self.timeStepValue.setObjectName(_fromUtf8("timeStepValue"))
        self.tabWidget_plot_ay = QtGui.QTabWidget(self.tab_31)
        self.tabWidget_plot_ay.setGeometry(QtCore.QRect(330, 180, 761, 641))
        self.tabWidget_plot_ay.setObjectName(_fromUtf8("tabWidget_plot_ay"))
        self.tab_11 = QtGui.QWidget()
        self.tab_11.setObjectName(_fromUtf8("tab_11"))
        self.widget_import_ay = QtGui.QWidget(self.tab_11)
        self.widget_import_ay.setGeometry(QtCore.QRect(0, 0, 751, 611))
        self.widget_import_ay.setObjectName(_fromUtf8("widget_import_ay"))
        self.mplwidget_import_ay = MatplotlibWidget(self.widget_import_ay)
        self.mplwidget_import_ay.setGeometry(QtCore.QRect(370, 280, 16, 16))
        self.mplwidget_import_ay.setObjectName(_fromUtf8("mplwidget_import_ay"))
        self.tabWidget_plot_ay.addTab(self.tab_11, _fromUtf8(""))
        self.tab_21 = QtGui.QWidget()
        self.tab_21.setObjectName(_fromUtf8("tab_21"))
        self.curvewidget_scanPlot_ay = CurveWidget(self.tab_21)
        self.curvewidget_scanPlot_ay.setGeometry(QtCore.QRect(0, 0, 751, 601))
        self.curvewidget_scanPlot_ay.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget_scanPlot_ay.setObjectName(_fromUtf8("curvewidget_scanPlot_ay"))
        self.tabWidget_plot_ay.addTab(self.tab_21, _fromUtf8(""))
        self.tabWidget.addTab(self.tab_31, _fromUtf8(""))
        self.gridLayout_3.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(2)
        self.tabWidget_plot_keithely.setCurrentIndex(0)
        self.tabWidget_scan_keithley.setCurrentIndex(0)
        self.tabWidget_plot_ay.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.groupBox_parameter.setTitle(_translate("MainWindow", "Parameter", None))
        self.label_starting_value.setText(_translate("MainWindow", "Starting Value:", None))
        self.lineEdit_start.setText(_translate("MainWindow", "0", None))
        self.pushButton_plot.setText(_translate("MainWindow", "Plot", None))
        self.pushButton_clear.setText(_translate("MainWindow", "Clear", None))
        self.label_2.setText(_translate("MainWindow", "Steps, Repeat, Peaks:", None))
        self.groupBox_save_general.setTitle(_translate("MainWindow", "Save", None))
        self.label_4.setText(_translate("MainWindow", "Array Name:", None))
        self.pushButton_save.setText(_translate("MainWindow", "Save", None))
        self.label_6.setText(_translate("MainWindow", "Directory:", None))
        self.pushButton_browse_save.setText(_translate("MainWindow", "Browse", None))
        self.label_10.setText(_translate("MainWindow", "User Name:", None))
        self.groupBox_plot.setTitle(_translate("MainWindow", "Plot", None))
        self.groupBox_condition_general.setTitle(_translate("MainWindow", "Condition", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), _translate("MainWindow", "Array Builder", None))
        self.groupBox_import_keithley.setTitle(_translate("MainWindow", "Import", None))
        self.label_7.setText(_translate("MainWindow", "Array Import:", None))
        self.pushButton_browse_keithley.setText(_translate("MainWindow", "Browse", None))
        self.pushButton_import_keithley.setText(_translate("MainWindow", "Import", None))
        self.pushButton_copy_keithley.setText(_translate("MainWindow", "copy", None))
        self.tabWidget_plot_keithely.setTabText(self.tabWidget_plot_keithely.indexOf(self.tab_3), _translate("MainWindow", "Import Plot", None))
        self.tabWidget_plot_keithely.setTabText(self.tabWidget_plot_keithely.indexOf(self.tab_4), _translate("MainWindow", "Scan Plot", None))
        self.tabWidget_plot_keithely.setTabText(self.tabWidget_plot_keithely.indexOf(self.tab_6), _translate("MainWindow", "Analysis", None))
        self.tabWidget_plot_keithely.setTabText(self.tabWidget_plot_keithely.indexOf(self.tab_7), _translate("MainWindow", "Save", None))
        self.groupBox_condition_keithley.setTitle(_translate("MainWindow", "Condition", None))
        self.groupBox_visa_keithley.setTitle(_translate("MainWindow", "Visa", None))
        self.label_chooseVisa.setText(_translate("MainWindow", "Choose VISA", None))
        self.pushButton_select_keithley.setText(_translate("MainWindow", "Select", None))
        self.pushButton_close_keithley.setText(_translate("MainWindow", "Close", None))
        self.label_8.setText(_translate("MainWindow", "VISA name:", None))
        self.lineEdit_visa_keithley.setText(_translate("MainWindow", "None", None))
        self.groupBox_scan_keithley.setTitle(_translate("MainWindow", "Scan", None))
        self.label.setText(_translate("MainWindow", "Source:", None))
        self.radioButton_voltage_keithley.setText(_translate("MainWindow", "Voltage", None))
        self.radioButton_current_keithley.setText(_translate("MainWindow", "Current", None))
        self.pushButton_scan_keithley.setText(_translate("MainWindow", "Scan", None))
        self.pushButton_stop_keithley.setText(_translate("MainWindow", "Stop", None))
        self.pushButton_clear_keithley.setText(_translate("MainWindow", "Clear", None))
        self.label_xname_keithley.setText(_translate("MainWindow", "X-Value:", None))
        self.label_yname_keithley.setText(_translate("MainWindow", "Y-Value:", None))
        self.pushButton_pause_keithley.setText(_translate("MainWindow", "Pause", None))
        self.radioButton_mv_keithley.setText(_translate("MainWindow", "mV", None))
        self.radioButton_v_keithley.setText(_translate("MainWindow", "V", None))
        self.radioButton_uv_keithley.setText(_translate("MainWindow", "uV", None))
        self.tabWidget_scan_keithley.setTabText(self.tabWidget_scan_keithley.indexOf(self.tab), _translate("MainWindow", "V unit", None))
        self.radioButton_na_keithley.setText(_translate("MainWindow", "nA", None))
        self.radioButton_ua_keithley.setText(_translate("MainWindow", "uA", None))
        self.radioButton_ma_keithley.setText(_translate("MainWindow", "mA", None))
        self.tabWidget_scan_keithley.setTabText(self.tabWidget_scan_keithley.indexOf(self.tab_5), _translate("MainWindow", "C unit", None))
        self.label_yname_keithley_2.setText(_translate("MainWindow", "Time Step(sec):", None))
        self.lineEdit_tstep_keithley.setText(_translate("MainWindow", "0.2", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Keithley", None))
        self.saveBox.setTitle(_translate("MainWindow", "Save", None))
        self.browseButton.setText(_translate("MainWindow", "Browse", None))
        self.fileTypeLable.setText(_translate("MainWindow", "File Type:", None))
        self.csvRadio.setText(_translate("MainWindow", "csv", None))
        self.txtRadio.setText(_translate("MainWindow", "txt", None))
        self.directoryLable.setText(_translate("MainWindow", "Directory:", None))
        self.saveButton.setText(_translate("MainWindow", "Save", None))
        self.folderNameLable.setText(_translate("MainWindow", "Folder Name:", None))
        self.fileBox.setTitle(_translate("MainWindow", "File Name", None))
        self.defaultFile.setText(_translate("MainWindow", "Date and Time", None))
        self.customFile.setText(_translate("MainWindow", "Custum", None))
        self.outputLable.setText(_translate("MainWindow", "Output:", None))
        self.errorLable.setText(_translate("MainWindow", "Error:", None))
        self.groupBox_import_keithley_2.setTitle(_translate("MainWindow", "Import", None))
        self.lable_import_ay.setText(_translate("MainWindow", "Array Import:", None))
        self.pushButton_browse_ay.setText(_translate("MainWindow", "Browse", None))
        self.pushButton_import_ay.setText(_translate("MainWindow", "Import", None))
        self.pushButton_copy_ay.setText(_translate("MainWindow", "Copy", None))
        self.groupBox.setTitle(_translate("MainWindow", "Select Device", None))
        self.selectVisaLable0.setText(_translate("MainWindow", "Select Visa (Current):", None))
        self.visaLable0.setText(_translate("MainWindow", "Current Visa (Curent):", None))
        self.selectVisaLable1.setText(_translate("MainWindow", "Select Visa (Voltage):", None))
        self.visaLable1.setText(_translate("MainWindow", "Curent Visa (Voltage):", None))
        self.closeVisaButton0.setText(_translate("MainWindow", "Close Visa (I)", None))
        self.closeVisaButton1.setText(_translate("MainWindow", "Close Visa (V)", None))
        self.selectVisaButton.setText(_translate("MainWindow", "Select", None))
        self.updateVisaButton.setText(_translate("MainWindow", "Update", None))
        self.groupBox_scan_ay.setTitle(_translate("MainWindow", "Scan", None))
        self.startButton.setText(_translate("MainWindow", "Start", None))
        self.stopButton.setText(_translate("MainWindow", "Stop", None))
        self.timeStepValueLable.setText(_translate("MainWindow", "Time Step", None))
        self.tabWidget_plot_ay.setTabText(self.tabWidget_plot_ay.indexOf(self.tab_11), _translate("MainWindow", "Imported Plot", None))
        self.tabWidget_plot_ay.setTabText(self.tabWidget_plot_ay.indexOf(self.tab_21), _translate("MainWindow", "Scan Plot", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_31), _translate("MainWindow", "Agilent / Yokogawa", None))
Example #8
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(905, 675)
        self.graphicsView = QtGui.QGraphicsView(Dialog)
        self.graphicsView.setGeometry(QtCore.QRect(9, 9, 256, 192))
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.imagewidget = ImageWidget(Dialog)
        self.imagewidget.setGeometry(QtCore.QRect(290, 10, 291, 191))
        self.imagewidget.setOrientation(QtCore.Qt.Vertical)
        self.imagewidget.setObjectName(_fromUtf8("imagewidget"))
        self.curvewidget = CurveWidget(Dialog)
        self.curvewidget.setGeometry(QtCore.QRect(620, 10, 241, 211))
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.mplwidget = MatplotlibWidget(Dialog)
        self.mplwidget.setGeometry(QtCore.QRect(0, 230, 311, 231))
        self.mplwidget.setObjectName(_fromUtf8("mplwidget"))
        self.qwtPlot = Qwt5.QwtPlot(Dialog)
        self.qwtPlot.setGeometry(QtCore.QRect(540, 260, 281, 161))
        self.qwtPlot.setObjectName(_fromUtf8("qwtPlot"))
        self.AnalogClock = Qwt5.QwtAnalogClock(Dialog)
        self.AnalogClock.setGeometry(QtCore.QRect(30, 500, 151, 151))
        self.AnalogClock.setLineWidth(4)
        self.AnalogClock.setObjectName(_fromUtf8("AnalogClock"))
        self.Compass = Qwt5.QwtCompass(Dialog)
        self.Compass.setGeometry(QtCore.QRect(220, 490, 151, 151))
        self.Compass.setLineWidth(4)
        self.Compass.setObjectName(_fromUtf8("Compass"))
        self.Thermo = Qwt5.QwtThermo(Dialog)
        self.Thermo.setGeometry(QtCore.QRect(390, 480, 71, 151))
        self.Thermo.setObjectName(_fromUtf8("Thermo"))
        self.Wheel = Qwt5.QwtWheel(Dialog)
        self.Wheel.setGeometry(QtCore.QRect(510, 470, 151, 31))
        self.Wheel.setObjectName(_fromUtf8("Wheel"))
        self.label = QtGui.QLabel(Dialog)
        self.label.setGeometry(QtCore.QRect(80, 210, 131, 16))
        self.label.setObjectName(_fromUtf8("label"))
        self.label_2 = QtGui.QLabel(Dialog)
        self.label_2.setGeometry(QtCore.QRect(370, 210, 131, 16))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(Dialog)
        self.label_3.setGeometry(QtCore.QRect(690, 230, 131, 16))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label_4 = QtGui.QLabel(Dialog)
        self.label_4.setGeometry(QtCore.QRect(80, 470, 131, 16))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(Dialog)
        self.label_5.setGeometry(QtCore.QRect(370, 420, 131, 16))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.label_6 = QtGui.QLabel(Dialog)
        self.label_6.setGeometry(QtCore.QRect(660, 430, 131, 16))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_8 = QtGui.QLabel(Dialog)
        self.label_8.setGeometry(QtCore.QRect(60, 650, 131, 16))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.label_9 = QtGui.QLabel(Dialog)
        self.label_9.setGeometry(QtCore.QRect(250, 650, 131, 16))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.label_10 = QtGui.QLabel(Dialog)
        self.label_10.setGeometry(QtCore.QRect(410, 650, 131, 16))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.label_11 = QtGui.QLabel(Dialog)
        self.label_11.setGeometry(QtCore.QRect(550, 530, 131, 16))
        self.label_11.setObjectName(_fromUtf8("label_11"))

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
        self.label.setText(_translate("Dialog", "Graphics View", None))
        self.label_2.setText(_translate("Dialog", "ImageWidget", None))
        self.label_3.setText(_translate("Dialog", "CurveWidget", None))
        self.label_4.setText(_translate("Dialog", "MatplotlibWidget", None))
        self.label_5.setText(_translate("Dialog", "QVTKWidget", None))
        self.label_6.setText(_translate("Dialog", "QwtPlot", None))
        self.label_8.setText(_translate("Dialog", "QwtAnalogClock", None))
        self.label_9.setText(_translate("Dialog", "QwtCompass", None))
        self.label_10.setText(_translate("Dialog", "QwtThermo", None))
        self.label_11.setText(_translate("Dialog", "QwtWheel", None))
Example #9
0
class Ui_SpectrumAnalyzerWindow(object):
    def setupUi(self, SpectrumAnalyzerWindow):
        SpectrumAnalyzerWindow.setObjectName(_fromUtf8("SpectrumAnalyzerWindow"))
        SpectrumAnalyzerWindow.resize(813, 321)
        self.centralwidget = QtGui.QWidget(SpectrumAnalyzerWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setGeometry(QtCore.QRect(190, 10, 471, 251))
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.clearButton = QtGui.QPushButton(self.centralwidget)
        self.clearButton.setGeometry(QtCore.QRect(680, 10, 121, 61))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.clearButton.setFont(font)
        self.clearButton.setObjectName(_fromUtf8("clearButton"))
        self.layoutWidget = QtGui.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 10, 164, 251))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.powerLCD = QtGui.QLCDNumber(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.powerLCD.setFont(font)
        self.powerLCD.setFrameShape(QtGui.QFrame.Panel)
        self.powerLCD.setFrameShadow(QtGui.QFrame.Raised)
        self.powerLCD.setLineWidth(1)
        self.powerLCD.setMidLineWidth(-2)
        self.powerLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.powerLCD.setObjectName(_fromUtf8("powerLCD"))
        self.verticalLayout.addWidget(self.powerLCD)
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.instantRButton = QtGui.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.instantRButton.setFont(font)
        self.instantRButton.setChecked(True)
        self.instantRButton.setObjectName(_fromUtf8("instantRButton"))
        self.powerReadingButtonGroup = QtGui.QButtonGroup(SpectrumAnalyzerWindow)
        self.powerReadingButtonGroup.setObjectName(_fromUtf8("powerReadingButtonGroup"))
        self.powerReadingButtonGroup.addButton(self.instantRButton)
        self.verticalLayout.addWidget(self.instantRButton)
        self.averageRButton = QtGui.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.averageRButton.setFont(font)
        self.averageRButton.setObjectName(_fromUtf8("averageRButton"))
        self.powerReadingButtonGroup.addButton(self.averageRButton)
        self.verticalLayout.addWidget(self.averageRButton)
        self.label_3 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout.addWidget(self.label_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.updateRateSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.updateRateSpinBox.setFont(font)
        self.updateRateSpinBox.setMinimum(0.01)
        self.updateRateSpinBox.setMaximum(1000.0)
        self.updateRateSpinBox.setSingleStep(0.01)
        self.updateRateSpinBox.setObjectName(_fromUtf8("updateRateSpinBox"))
        self.horizontalLayout.addWidget(self.updateRateSpinBox)
        self.label_4 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout.addWidget(self.label_4)
        self.verticalLayout.addLayout(self.horizontalLayout)
        SpectrumAnalyzerWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(SpectrumAnalyzerWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 813, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        SpectrumAnalyzerWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(SpectrumAnalyzerWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        SpectrumAnalyzerWindow.setStatusBar(self.statusbar)

        self.retranslateUi(SpectrumAnalyzerWindow)
        QtCore.QMetaObject.connectSlotsByName(SpectrumAnalyzerWindow)

    def retranslateUi(self, SpectrumAnalyzerWindow):
        SpectrumAnalyzerWindow.setWindowTitle(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Spectrum Analyzer", None, QtGui.QApplication.UnicodeUTF8))
        self.clearButton.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Clear Plot", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Current Power:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Power Reading Mode:", None, QtGui.QApplication.UnicodeUTF8))
        self.instantRButton.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Instant", None, QtGui.QApplication.UnicodeUTF8))
        self.averageRButton.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Average", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Update Rate:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Hz", None, QtGui.QApplication.UnicodeUTF8))
Example #10
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setEnabled(True)
        MainWindow.resize(1268, 918)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setStrikeOut(False)
        font.setKerning(True)
        MainWindow.setFont(font)
        MainWindow.setMouseTracking(False)
        MainWindow.setIconSize(QtCore.QSize(24, 24))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tab)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.scrollArea = QtGui.QScrollArea(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setWidgetResizable(False)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(
            0, 0, 1220, 830))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.pushButton_Refresh = QtGui.QPushButton(
            self.scrollAreaWidgetContents)
        self.pushButton_Refresh.setGeometry(QtCore.QRect(320, 560, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Refresh.setFont(font)
        self.pushButton_Refresh.setObjectName(_fromUtf8("pushButton_Refresh"))
        self.label_Current_Visa = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_Current_Visa.setGeometry(QtCore.QRect(40, 620, 131, 21))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_Current_Visa.setFont(font)
        self.label_Current_Visa.setObjectName(_fromUtf8("label_Current_Visa"))
        self.label_Meas_Type = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_Meas_Type.setGeometry(QtCore.QRect(40, 680, 301, 21))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_Meas_Type.setFont(font)
        self.label_Meas_Type.setObjectName(_fromUtf8("label_Meas_Type"))
        self.pushButton_Select_Visa = QtGui.QPushButton(
            self.scrollAreaWidgetContents)
        self.pushButton_Select_Visa.setGeometry(QtCore.QRect(320, 600, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Select_Visa.setFont(font)
        self.pushButton_Select_Visa.setObjectName(
            _fromUtf8("pushButton_Select_Visa"))
        self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_2.setGeometry(QtCore.QRect(370, 700, 91, 51))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.lineEdit_Steps = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.lineEdit_Steps.setGeometry(QtCore.QRect(730, 650, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_Steps.setFont(font)
        self.lineEdit_Steps.setObjectName(_fromUtf8("lineEdit_Steps"))
        self.groupBox_Filename = QtGui.QGroupBox(self.scrollAreaWidgetContents)
        self.groupBox_Filename.setGeometry(QtCore.QRect(840, 730, 271, 91))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.groupBox_Filename.setFont(font)
        self.groupBox_Filename.setObjectName(_fromUtf8("groupBox_Filename"))
        self.radioButton_Timename = QtGui.QRadioButton(self.groupBox_Filename)
        self.radioButton_Timename.setGeometry(QtCore.QRect(20, 20, 151, 21))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.radioButton_Timename.setFont(font)
        self.radioButton_Timename.setObjectName(
            _fromUtf8("radioButton_Timename"))
        self.radioButton_Custom_Name = QtGui.QRadioButton(
            self.groupBox_Filename)
        self.radioButton_Custom_Name.setGeometry(QtCore.QRect(20, 50, 121, 21))
        self.radioButton_Custom_Name.setObjectName(
            _fromUtf8("radioButton_Custom_Name"))
        self.lineEdit_Custom_Name = QtGui.QLineEdit(self.groupBox_Filename)
        self.lineEdit_Custom_Name.setGeometry(QtCore.QRect(120, 50, 141, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_Custom_Name.setFont(font)
        self.lineEdit_Custom_Name.setObjectName(
            _fromUtf8("lineEdit_Custom_Name"))
        self.lineEdit_Points = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.lineEdit_Points.setGeometry(QtCore.QRect(730, 560, 71, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_Points.setFont(font)
        self.lineEdit_Points.setObjectName(_fromUtf8("lineEdit_Points"))
        self.lineEdit_Error = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.lineEdit_Error.setGeometry(QtCore.QRect(450, 710, 371, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_Error.setFont(font)
        self.lineEdit_Error.setObjectName(_fromUtf8("lineEdit_Error"))
        self.pushButton_Start = QtGui.QPushButton(
            self.scrollAreaWidgetContents)
        self.pushButton_Start.setGeometry(QtCore.QRect(510, 780, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Start.setFont(font)
        self.pushButton_Start.setObjectName(_fromUtf8("pushButton_Start"))
        self.comboBox_All_Visas = QtGui.QComboBox(
            self.scrollAreaWidgetContents)
        self.comboBox_All_Visas.setGeometry(QtCore.QRect(40, 580, 261, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.comboBox_All_Visas.setFont(font)
        self.comboBox_All_Visas.setObjectName(_fromUtf8("comboBox_All_Visas"))
        self.pushButton_Select_Directory = QtGui.QPushButton(
            self.scrollAreaWidgetContents)
        self.pushButton_Select_Directory.setGeometry(
            QtCore.QRect(1070, 690, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Select_Directory.setFont(font)
        self.pushButton_Select_Directory.setObjectName(
            _fromUtf8("pushButton_Select_Directory"))
        self.pushButton_Select_Measurement = QtGui.QPushButton(
            self.scrollAreaWidgetContents)
        self.pushButton_Select_Measurement.setGeometry(
            QtCore.QRect(250, 710, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Select_Measurement.setFont(font)
        self.pushButton_Select_Measurement.setObjectName(
            _fromUtf8("pushButton_Select_Measurement"))
        self.label_4 = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_4.setGeometry(QtCore.QRect(850, 670, 201, 20))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.checkBox_Continue = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.checkBox_Continue.setGeometry(QtCore.QRect(480, 580, 201, 41))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.checkBox_Continue.setFont(font)
        self.checkBox_Continue.setObjectName(_fromUtf8("checkBox_Continue"))
        self.pushButton_Browse = QtGui.QPushButton(
            self.scrollAreaWidgetContents)
        self.pushButton_Browse.setGeometry(QtCore.QRect(850, 560, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Browse.setFont(font)
        self.pushButton_Browse.setObjectName(_fromUtf8("pushButton_Browse"))
        self.label = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label.setGeometry(QtCore.QRect(40, 550, 231, 31))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.comboBox_Meas_Type = QtGui.QComboBox(
            self.scrollAreaWidgetContents)
        self.comboBox_Meas_Type.setGeometry(QtCore.QRect(40, 710, 191, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.comboBox_Meas_Type.setFont(font)
        self.comboBox_Meas_Type.setObjectName(_fromUtf8("comboBox_Meas_Type"))
        self.comboBox_Meas_Type.addItem(_fromUtf8(""))
        self.comboBox_Meas_Type.addItem(_fromUtf8(""))
        self.comboBox_Meas_Type.addItem(_fromUtf8(""))
        self.comboBox_Meas_Type.addItem(_fromUtf8(""))
        self.comboBox_Meas_Type.addItem(_fromUtf8(""))
        self.comboBox_Meas_Type.addItem(_fromUtf8(""))
        self.groupBox_File_Type = QtGui.QGroupBox(
            self.scrollAreaWidgetContents)
        self.groupBox_File_Type.setGeometry(QtCore.QRect(970, 550, 221, 51))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.groupBox_File_Type.setFont(font)
        self.groupBox_File_Type.setObjectName(_fromUtf8("groupBox_File_Type"))
        self.radioButton_csv = QtGui.QRadioButton(self.groupBox_File_Type)
        self.radioButton_csv.setGeometry(QtCore.QRect(40, 20, 61, 31))
        self.radioButton_csv.setObjectName(_fromUtf8("radioButton_csv"))
        self.radioButton_txt = QtGui.QRadioButton(self.groupBox_File_Type)
        self.radioButton_txt.setGeometry(QtCore.QRect(100, 20, 61, 31))
        self.radioButton_txt.setObjectName(_fromUtf8("radioButton_txt"))
        self.label_CurrentMeasurement = QtGui.QLabel(
            self.scrollAreaWidgetContents)
        self.label_CurrentMeasurement.setGeometry(
            QtCore.QRect(40, 770, 241, 21))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_CurrentMeasurement.setFont(font)
        self.label_CurrentMeasurement.setText(_fromUtf8(""))
        self.label_CurrentMeasurement.setObjectName(
            _fromUtf8("label_CurrentMeasurement"))
        self.pushButton_Save = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.pushButton_Save.setGeometry(QtCore.QRect(1120, 750, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Save.setFont(font)
        self.pushButton_Save.setObjectName(_fromUtf8("pushButton_Save"))
        self.lineEdit_OneDrive = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.lineEdit_OneDrive.setGeometry(QtCore.QRect(850, 630, 361, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.lineEdit_OneDrive.setFont(font)
        self.lineEdit_OneDrive.setObjectName(_fromUtf8("lineEdit_OneDrive"))
        self.label_3 = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_3.setGeometry(QtCore.QRect(850, 600, 171, 21))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label_CurrentVisa = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_CurrentVisa.setGeometry(QtCore.QRect(40, 640, 361, 21))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_CurrentVisa.setFont(font)
        self.label_CurrentVisa.setText(_fromUtf8(""))
        self.label_CurrentVisa.setObjectName(_fromUtf8("label_CurrentVisa"))
        self.comboBox_Name_Folder = QtGui.QComboBox(
            self.scrollAreaWidgetContents)
        self.comboBox_Name_Folder.setGeometry(QtCore.QRect(850, 690, 191, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.comboBox_Name_Folder.setFont(font)
        self.comboBox_Name_Folder.setObjectName(
            _fromUtf8("comboBox_Name_Folder"))
        self.comboBox_Name_Folder.addItem(_fromUtf8(""))
        self.comboBox_Name_Folder.addItem(_fromUtf8(""))
        self.comboBox_Name_Folder.addItem(_fromUtf8(""))
        self.comboBox_Name_Folder.addItem(_fromUtf8(""))
        self.comboBox_Name_Folder.addItem(_fromUtf8(""))
        self.label_Meas_Points = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_Meas_Points.setGeometry(QtCore.QRect(450, 560, 271, 21))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_Meas_Points.setFont(font)
        self.label_Meas_Points.setObjectName(_fromUtf8("label_Meas_Points"))
        self.label_second = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_second.setGeometry(QtCore.QRect(810, 660, 41, 20))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.label_second.setFont(font)
        self.label_second.setObjectName(_fromUtf8("label_second"))
        self.pushButton_Stop = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.pushButton_Stop.setGeometry(QtCore.QRect(630, 780, 91, 31))
        font = QtGui.QFont()
        font.setPointSize(12)
        self.pushButton_Stop.setFont(font)
        self.pushButton_Stop.setObjectName(_fromUtf8("pushButton_Stop"))
        self.label_Meas_Delay = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_Meas_Delay.setGeometry(QtCore.QRect(450, 650, 281, 31))
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_Meas_Delay.setFont(font)
        self.label_Meas_Delay.setObjectName(_fromUtf8("label_Meas_Delay"))
        self.curvewidgetPlot = CurveWidget(self.scrollAreaWidgetContents)
        self.curvewidgetPlot.setGeometry(QtCore.QRect(210, 40, 771, 471))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.curvewidgetPlot.setFont(font)
        self.curvewidgetPlot.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidgetPlot.setObjectName(_fromUtf8("curvewidgetPlot"))
        self.label_Step_Reminder = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.label_Step_Reminder.setGeometry(QtCore.QRect(470, 670, 261, 31))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_Step_Reminder.setFont(font)
        self.label_Step_Reminder.setText(_fromUtf8(""))
        self.label_Step_Reminder.setObjectName(
            _fromUtf8("label_Step_Reminder"))
        self.label_Current_Measurement = QtGui.QLabel(
            self.scrollAreaWidgetContents)
        self.label_Current_Measurement.setGeometry(
            QtCore.QRect(40, 750, 131, 21))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_Current_Measurement.setFont(font)
        self.label_Current_Measurement.setObjectName(
            _fromUtf8("label_Current_Measurement"))
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_3.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionCopy = QtGui.QAction(MainWindow)
        self.actionCopy.setObjectName(_fromUtf8("actionCopy"))
        self.actionSave = QtGui.QAction(MainWindow)
        self.actionSave.setObjectName(_fromUtf8("actionSave"))
        self.actionQuit = QtGui.QAction(MainWindow)
        self.actionQuit.setObjectName(_fromUtf8("actionQuit"))

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.pushButton_Refresh.setText(
            _translate("MainWindow", "Refresh", None))
        self.label_Current_Visa.setText(
            _translate("MainWindow", "Current visa address:", None))
        self.label_Meas_Type.setText(
            _translate("MainWindow", "Choose one you want to measure", None))
        self.pushButton_Select_Visa.setText(
            _translate("MainWindow", "Select", None))
        self.label_2.setText(_translate("MainWindow", "Condition:", None))
        self.groupBox_Filename.setTitle(
            _translate("MainWindow", "File name", None))
        self.radioButton_Timename.setText(
            _translate("MainWindow", "Date and time", None))
        self.radioButton_Custom_Name.setText(
            _translate("MainWindow", "Custom", None))
        self.pushButton_Start.setText(_translate("MainWindow", "Start", None))
        self.pushButton_Select_Directory.setText(
            _translate("MainWindow", "Select", None))
        self.pushButton_Select_Measurement.setText(
            _translate("MainWindow", "Select", None))
        self.label_4.setText(
            _translate("MainWindow", "Pick up a name folder", None))
        self.checkBox_Continue.setText(
            _translate("MainWindow", "Continue Measure Mode", None))
        self.pushButton_Browse.setText(_translate("MainWindow", "Browse",
                                                  None))
        self.label.setText(
            _translate("MainWindow", "Choose the visa you need", None))
        self.comboBox_Meas_Type.setItemText(
            0, _translate("MainWindow", "None", None))
        self.comboBox_Meas_Type.setItemText(
            1, _translate("MainWindow", "AC Current", None))
        self.comboBox_Meas_Type.setItemText(
            2, _translate("MainWindow", "DC Current", None))
        self.comboBox_Meas_Type.setItemText(
            3, _translate("MainWindow", "AC Voltage", None))
        self.comboBox_Meas_Type.setItemText(
            4, _translate("MainWindow", "DC Voltage", None))
        self.comboBox_Meas_Type.setItemText(
            5, _translate("MainWindow", "Resistance", None))
        self.groupBox_File_Type.setTitle(
            _translate("MainWindow", "File type", None))
        self.radioButton_csv.setText(_translate("MainWindow", "csv", None))
        self.radioButton_txt.setText(_translate("MainWindow", "txt", None))
        self.pushButton_Save.setText(_translate("MainWindow", "Save", None))
        self.lineEdit_OneDrive.setText(
            _translate("MainWindow", "C:\\Google Drive\\03 User Accounts",
                       None))
        self.label_3.setText(
            _translate("MainWindow", "OneDrive directory:", None))
        self.comboBox_Name_Folder.setItemText(
            0, _translate("MainWindow", "None", None))
        self.comboBox_Name_Folder.setItemText(
            1, _translate("MainWindow", "Snyder", None))
        self.comboBox_Name_Folder.setItemText(
            2, _translate("MainWindow", "Wang", None))
        self.comboBox_Name_Folder.setItemText(
            3, _translate("MainWindow", "Williams", None))
        self.comboBox_Name_Folder.setItemText(
            4, _translate("MainWindow", "Vannucci", None))
        self.label_Meas_Points.setText(
            _translate("MainWindow", "How many points you want to plot?",
                       None))
        self.label_second.setText(_translate("MainWindow", "s", None))
        self.pushButton_Stop.setText(_translate("MainWindow", "Stop", None))
        self.label_Meas_Delay.setText(
            _translate("MainWindow", "How long do you want for time step?",
                       None))
        self.label_Current_Measurement.setText(
            _translate("MainWindow", "Current measurement:", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tab),
            _translate("MainWindow", "Continuous Readings", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tab_2),
            _translate("MainWindow", "Hardware Triggering", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tab_3),
            _translate("MainWindow", "Visa Controls", None))
        self.actionCopy.setText(_translate("MainWindow", "Copy", None))
        self.actionSave.setText(_translate("MainWindow", "Save", None))
        self.actionQuit.setText(_translate("MainWindow", "Quit", None))
Example #11
0
class Ui_NWAViewerWindow(object):
    def setupUi(self, NWAViewerWindow):
        NWAViewerWindow.setObjectName("NWAViewerWindow")
        NWAViewerWindow.resize(946, 819)
        self.centralwidget = QtGui.QWidget(NWAViewerWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.fileLabel = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fileLabel.sizePolicy().hasHeightForWidth())
        self.fileLabel.setSizePolicy(sizePolicy)
        self.fileLabel.setObjectName("fileLabel")
        self.horizontalLayout.addWidget(self.fileLabel)
        self.linearCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.linearCheckBox.setObjectName("linearCheckBox")
        self.horizontalLayout.addWidget(self.linearCheckBox)
        self.fileButton = QtGui.QPushButton(self.centralwidget)
        self.fileButton.setObjectName("fileButton")
        self.horizontalLayout.addWidget(self.fileButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.curvewidget = CurveWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.curvewidget.sizePolicy().hasHeightForWidth())
        self.curvewidget.setSizePolicy(sizePolicy)
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName("curvewidget")
        self.verticalLayout.addWidget(self.curvewidget)
        self.curvewidget2 = CurveWidget(self.centralwidget)
        self.curvewidget2.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget2.setObjectName("curvewidget2")
        self.verticalLayout.addWidget(self.curvewidget2)
        NWAViewerWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(NWAViewerWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 946, 22))
        self.menubar.setObjectName("menubar")
        NWAViewerWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(NWAViewerWindow)
        self.statusbar.setObjectName("statusbar")
        NWAViewerWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(NWAViewerWindow)
        self.toolBar.setObjectName("toolBar")
        NWAViewerWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)

        self.retranslateUi(NWAViewerWindow)
        QtCore.QMetaObject.connectSlotsByName(NWAViewerWindow)

    def retranslateUi(self, NWAViewerWindow):
        NWAViewerWindow.setWindowTitle(QtGui.QApplication.translate("NWAViewerWindow", "Network Analyzer Viewer", None, QtGui.QApplication.UnicodeUTF8))
        self.fileLabel.setText(QtGui.QApplication.translate("NWAViewerWindow", "No File Loaded", None, QtGui.QApplication.UnicodeUTF8))
        self.linearCheckBox.setText(QtGui.QApplication.translate("NWAViewerWindow", "Linear", None, QtGui.QApplication.UnicodeUTF8))
        self.fileButton.setText(QtGui.QApplication.translate("NWAViewerWindow", "Open", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("NWAViewerWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
Example #12
0
class Ui_ROIDialog(object):
    def setupUi(self, ROIDialog):
        ROIDialog.setObjectName(_fromUtf8("ROIDialog"))
        ROIDialog.resize(411, 533)
        self.verticalLayout = QtGui.QVBoxLayout(ROIDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox_5 = QtGui.QGroupBox(ROIDialog)
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.roiHistWidget = CurveWidget(self.groupBox_5)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(100)
        sizePolicy.setHeightForWidth(
            self.roiHistWidget.sizePolicy().hasHeightForWidth())
        self.roiHistWidget.setSizePolicy(sizePolicy)
        self.roiHistWidget.setMinimumSize(QtCore.QSize(0, 10))
        self.roiHistWidget.setOrientation(QtCore.Qt.Horizontal)
        self.roiHistWidget.setObjectName(_fromUtf8("roiHistWidget"))
        self.verticalLayout_3.addWidget(self.roiHistWidget)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.xHistLimBox = QtGui.QSpinBox(self.groupBox_5)
        self.xHistLimBox.setMaximum(65536)
        self.xHistLimBox.setSingleStep(100)
        self.xHistLimBox.setProperty("value", 500)
        self.xHistLimBox.setObjectName(_fromUtf8("xHistLimBox"))
        self.gridLayout_3.addWidget(self.xHistLimBox, 0, 1, 1, 1)
        self.yHistLimBox = QtGui.QSpinBox(self.groupBox_5)
        self.yHistLimBox.setMaximum(65536)
        self.yHistLimBox.setSingleStep(10)
        self.yHistLimBox.setProperty("value", 2000)
        self.yHistLimBox.setObjectName(_fromUtf8("yHistLimBox"))
        self.gridLayout_3.addWidget(self.yHistLimBox, 0, 3, 1, 1)
        self.label_19 = QtGui.QLabel(self.groupBox_5)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.gridLayout_3.addWidget(self.label_19, 0, 0, 1, 1)
        self.label_20 = QtGui.QLabel(self.groupBox_5)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.gridLayout_3.addWidget(self.label_20, 0, 2, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout_3)
        self.verticalLayout.addWidget(self.groupBox_5)
        self.groupBox_4 = QtGui.QGroupBox(ROIDialog)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_4)
        self.gridLayout.setHorizontalSpacing(12)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_15 = QtGui.QLabel(self.groupBox_4)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole,
                                  self.label_15)
        self.roiTotalLbl = QtGui.QLabel(self.groupBox_4)
        self.roiTotalLbl.setAlignment(QtCore.Qt.AlignRight
                                      | QtCore.Qt.AlignTrailing
                                      | QtCore.Qt.AlignVCenter)
        self.roiTotalLbl.setObjectName(_fromUtf8("roiTotalLbl"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.roiTotalLbl)
        self.label_16 = QtGui.QLabel(self.groupBox_4)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole,
                                  self.label_16)
        self.roiMeanLbl = QtGui.QLabel(self.groupBox_4)
        self.roiMeanLbl.setAlignment(QtCore.Qt.AlignRight
                                     | QtCore.Qt.AlignTrailing
                                     | QtCore.Qt.AlignVCenter)
        self.roiMeanLbl.setObjectName(_fromUtf8("roiMeanLbl"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.roiMeanLbl)
        self.label_17 = QtGui.QLabel(self.groupBox_4)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole,
                                  self.label_17)
        self.roiMinLbl = QtGui.QLabel(self.groupBox_4)
        self.roiMinLbl.setAlignment(QtCore.Qt.AlignRight
                                    | QtCore.Qt.AlignTrailing
                                    | QtCore.Qt.AlignVCenter)
        self.roiMinLbl.setObjectName(_fromUtf8("roiMinLbl"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.roiMinLbl)
        self.label_18 = QtGui.QLabel(self.groupBox_4)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole,
                                  self.label_18)
        self.roiMaxLbl = QtGui.QLabel(self.groupBox_4)
        self.roiMaxLbl.setEnabled(True)
        self.roiMaxLbl.setAlignment(QtCore.Qt.AlignRight
                                    | QtCore.Qt.AlignTrailing
                                    | QtCore.Qt.AlignVCenter)
        self.roiMaxLbl.setObjectName(_fromUtf8("roiMaxLbl"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.roiMaxLbl)
        self.gridLayout.addLayout(self.formLayout, 0, 0, 1, 1)
        self.formLayout_4 = QtGui.QFormLayout()
        self.formLayout_4.setObjectName(_fromUtf8("formLayout_4"))
        self.label_6 = QtGui.QLabel(self.groupBox_4)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole,
                                    self.label_6)
        self.label_7 = QtGui.QLabel(self.groupBox_4)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole,
                                    self.label_7)
        self.label_8 = QtGui.QLabel(self.groupBox_4)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole,
                                    self.label_8)
        self.label_9 = QtGui.QLabel(self.groupBox_4)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole,
                                    self.label_9)
        self.roiX1Lbl = QtGui.QLabel(self.groupBox_4)
        self.roiX1Lbl.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.roiX1Lbl.setObjectName(_fromUtf8("roiX1Lbl"))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole,
                                    self.roiX1Lbl)
        self.roiX2Lbl = QtGui.QLabel(self.groupBox_4)
        self.roiX2Lbl.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.roiX2Lbl.setObjectName(_fromUtf8("roiX2Lbl"))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole,
                                    self.roiX2Lbl)
        self.roiY1Lbl = QtGui.QLabel(self.groupBox_4)
        self.roiY1Lbl.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.roiY1Lbl.setObjectName(_fromUtf8("roiY1Lbl"))
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole,
                                    self.roiY1Lbl)
        self.roiY2Lbl = QtGui.QLabel(self.groupBox_4)
        self.roiY2Lbl.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.roiY2Lbl.setObjectName(_fromUtf8("roiY2Lbl"))
        self.formLayout_4.setWidget(3, QtGui.QFormLayout.FieldRole,
                                    self.roiY2Lbl)
        self.gridLayout.addLayout(self.formLayout_4, 0, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.closeButton = QtGui.QPushButton(ROIDialog)
        self.closeButton.setObjectName(_fromUtf8("closeButton"))
        self.horizontalLayout.addWidget(self.closeButton)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(ROIDialog)
        QtCore.QMetaObject.connectSlotsByName(ROIDialog)

    def retranslateUi(self, ROIDialog):
        ROIDialog.setWindowTitle(
            QtGui.QApplication.translate("ROIDialog", "Region of Interest",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setTitle(
            QtGui.QApplication.translate("ROIDialog", "ROI Histogram", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_19.setText(
            QtGui.QApplication.translate("ROIDialog", "x lim", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_20.setText(
            QtGui.QApplication.translate("ROIDialog", "y lim", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(
            QtGui.QApplication.translate("ROIDialog", "ROI Statistics", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(
            QtGui.QApplication.translate("ROIDialog", "Total", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.roiTotalLbl.setText(
            QtGui.QApplication.translate("ROIDialog", "0", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_16.setText(
            QtGui.QApplication.translate("ROIDialog", "Mean", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.roiMeanLbl.setText(
            QtGui.QApplication.translate("ROIDialog", "0", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_17.setText(
            QtGui.QApplication.translate("ROIDialog", "Min", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.roiMinLbl.setText(
            QtGui.QApplication.translate("ROIDialog", "0", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_18.setText(
            QtGui.QApplication.translate("ROIDialog", "Max", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.roiMaxLbl.setText(
            QtGui.QApplication.translate("ROIDialog", "0", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(
            QtGui.QApplication.translate("ROIDialog", "x1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(
            QtGui.QApplication.translate("ROIDialog", "x2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(
            QtGui.QApplication.translate("ROIDialog", "y1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(
            QtGui.QApplication.translate("ROIDialog", "y2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.roiX1Lbl.setText(
            QtGui.QApplication.translate("ROIDialog", "1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.roiX2Lbl.setText(
            QtGui.QApplication.translate("ROIDialog", "2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.roiY1Lbl.setText(
            QtGui.QApplication.translate("ROIDialog", "1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.roiY2Lbl.setText(
            QtGui.QApplication.translate("ROIDialog", "2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.closeButton.setText(
            QtGui.QApplication.translate("ROIDialog", "Close", None,
                                         QtGui.QApplication.UnicodeUTF8))
Example #13
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(626, 397)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.groupBox = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(225, 225))
        self.groupBox.setTitle(_fromUtf8(""))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.labelFlow = QtGui.QLabel(self.groupBox)
        self.labelFlow.setGeometry(QtCore.QRect(10, 40, 191, 41))
        font = QtGui.QFont()
        font.setPointSize(20)
        self.labelFlow.setFont(font)
        self.labelFlow.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelFlow.setObjectName(_fromUtf8("labelFlow"))
        self.labelVolume = QtGui.QLabel(self.groupBox)
        self.labelVolume.setGeometry(QtCore.QRect(20, 0, 181, 41))
        font = QtGui.QFont()
        font.setPointSize(20)
        self.labelVolume.setFont(font)
        self.labelVolume.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelVolume.setObjectName(_fromUtf8("labelVolume"))
        self.labelLevelMeter = QtGui.QLabel(self.groupBox)
        self.labelLevelMeter.setGeometry(QtCore.QRect(10, 80, 191, 41))
        font = QtGui.QFont()
        font.setPointSize(20)
        self.labelLevelMeter.setFont(font)
        self.labelLevelMeter.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelLevelMeter.setObjectName(_fromUtf8("labelLevelMeter"))
        self.groupBox_2 = QtGui.QGroupBox(self.groupBox)
        self.groupBox_2.setGeometry(QtCore.QRect(10, 229, 211, 101))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.label_3 = QtGui.QLabel(self.groupBox_2)
        self.label_3.setGeometry(QtCore.QRect(20, 50, 46, 13))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label = QtGui.QLabel(self.groupBox_2)
        self.label.setGeometry(QtCore.QRect(80, 70, 16, 16))
        self.label.setObjectName(_fromUtf8("label"))
        self.editRefresh = QtGui.QLineEdit(self.groupBox_2)
        self.editRefresh.setGeometry(QtCore.QRect(20, 70, 51, 20))
        self.editRefresh.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.editRefresh.setObjectName(_fromUtf8("editRefresh"))
        self.editSetVolume = QtGui.QLineEdit(self.groupBox_2)
        self.editSetVolume.setGeometry(QtCore.QRect(20, 20, 81, 20))
        self.editSetVolume.setObjectName(_fromUtf8("editSetVolume"))
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setGeometry(QtCore.QRect(120, 50, 71, 16))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_2 = QtGui.QLabel(self.groupBox_2)
        self.label_2.setGeometry(QtCore.QRect(180, 70, 16, 16))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.editRange = QtGui.QLineEdit(self.groupBox_2)
        self.editRange.setGeometry(QtCore.QRect(120, 70, 51, 20))
        self.editRange.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.editRange.setObjectName(_fromUtf8("editRange"))
        self.btnSetVolume = QtGui.QPushButton(self.groupBox_2)
        self.btnSetVolume.setGeometry(QtCore.QRect(110, 20, 81, 23))
        self.btnSetVolume.setObjectName(_fromUtf8("btnSetVolume"))
        self.labelLevelMeter_2 = QtGui.QLabel(self.groupBox)
        self.labelLevelMeter_2.setGeometry(QtCore.QRect(10, 120, 191, 41))
        font = QtGui.QFont()
        font.setPointSize(20)
        self.labelLevelMeter_2.setFont(font)
        self.labelLevelMeter_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.labelLevelMeter_2.setObjectName(_fromUtf8("labelLevelMeter_2"))
        self.btnHe = QtGui.QToolButton(self.groupBox)
        self.btnHe.setGeometry(QtCore.QRect(30, 200, 25, 19))
        self.btnHe.setObjectName(_fromUtf8("btnHe"))
        self.btnN2 = QtGui.QToolButton(self.groupBox)
        self.btnN2.setGeometry(QtCore.QRect(60, 200, 25, 19))
        self.btnN2.setObjectName(_fromUtf8("btnN2"))
        self.btnZzz = QtGui.QToolButton(self.groupBox)
        self.btnZzz.setGeometry(QtCore.QRect(90, 200, 25, 19))
        self.btnZzz.setObjectName(_fromUtf8("btnZzz"))
        self.horizontalLayout.addWidget(self.groupBox)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.verticalLayout.addWidget(self.curvewidget)
        self.curvewidget_2 = CurveWidget(self.centralwidget)
        self.curvewidget_2.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget_2.setObjectName(_fromUtf8("curvewidget_2"))
        self.verticalLayout.addWidget(self.curvewidget_2)
        self.horizontalLayout.addLayout(self.verticalLayout)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 626, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Helium Monitor by David Weber", None, QtGui.QApplication.UnicodeUTF8))
        self.labelFlow.setText(QtGui.QApplication.translate("MainWindow", "100 L/h", None, QtGui.QApplication.UnicodeUTF8))
        self.labelVolume.setText(QtGui.QApplication.translate("MainWindow", "7864320 L", None, QtGui.QApplication.UnicodeUTF8))
        self.labelLevelMeter.setText(QtGui.QApplication.translate("MainWindow", "100 mm", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("MainWindow", "Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Refresh", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "s", None, QtGui.QApplication.UnicodeUTF8))
        self.editRefresh.setText(QtGui.QApplication.translate("MainWindow", "2", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("MainWindow", "Interpolate", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "s", None, QtGui.QApplication.UnicodeUTF8))
        self.editRange.setText(QtGui.QApplication.translate("MainWindow", "20", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSetVolume.setText(QtGui.QApplication.translate("MainWindow", "Set Volume", None, QtGui.QApplication.UnicodeUTF8))
        self.labelLevelMeter_2.setText(QtGui.QApplication.translate("MainWindow", "100 mm", None, QtGui.QApplication.UnicodeUTF8))
        self.btnHe.setText(QtGui.QApplication.translate("MainWindow", "He", None, QtGui.QApplication.UnicodeUTF8))
        self.btnN2.setText(QtGui.QApplication.translate("MainWindow", "N2", None, QtGui.QApplication.UnicodeUTF8))
        self.btnZzz.setText(QtGui.QApplication.translate("MainWindow", "Zzz", None, QtGui.QApplication.UnicodeUTF8))
class Ui_SpectrumAnalyzerWindow(object):
    def setupUi(self, SpectrumAnalyzerWindow):
        SpectrumAnalyzerWindow.setObjectName(
            _fromUtf8("SpectrumAnalyzerWindow"))
        SpectrumAnalyzerWindow.resize(817, 666)
        self.centralwidget = QtGui.QWidget(SpectrumAnalyzerWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setGeometry(QtCore.QRect(190, 10, 471, 301))
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.clearButton = QtGui.QPushButton(self.centralwidget)
        self.clearButton.setGeometry(QtCore.QRect(680, 10, 121, 61))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.clearButton.setFont(font)
        self.clearButton.setObjectName(_fromUtf8("clearButton"))
        self.layoutWidget = QtGui.QWidget(self.centralwidget)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 10, 176, 321))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.powerLCD = QtGui.QLCDNumber(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.powerLCD.setFont(font)
        self.powerLCD.setFrameShape(QtGui.QFrame.Panel)
        self.powerLCD.setFrameShadow(QtGui.QFrame.Raised)
        self.powerLCD.setLineWidth(1)
        self.powerLCD.setMidLineWidth(-2)
        self.powerLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.powerLCD.setObjectName(_fromUtf8("powerLCD"))
        self.horizontalLayout_6.addWidget(self.powerLCD)
        self.dBmLabel = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.dBmLabel.setFont(font)
        self.dBmLabel.setObjectName(_fromUtf8("dBmLabel"))
        self.horizontalLayout_6.addWidget(self.dBmLabel)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.calibratedOuputCheckBox = QtGui.QCheckBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.calibratedOuputCheckBox.setFont(font)
        self.calibratedOuputCheckBox.setObjectName(
            _fromUtf8("calibratedOuputCheckBox"))
        self.verticalLayout.addWidget(self.calibratedOuputCheckBox)
        self.label_12 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_12.setFont(font)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.verticalLayout.addWidget(self.label_12)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.frequencySpinBox = QtGui.QDoubleSpinBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.frequencySpinBox.setFont(font)
        self.frequencySpinBox.setDecimals(5)
        self.frequencySpinBox.setMinimum(1.0)
        self.frequencySpinBox.setMaximum(10.0)
        self.frequencySpinBox.setSingleStep(0.01)
        self.frequencySpinBox.setProperty(_fromUtf8("value"), 7.000)
        self.frequencySpinBox.setObjectName(_fromUtf8("frequencySpinBox"))
        self.horizontalLayout_5.addWidget(self.frequencySpinBox)
        self.label_13 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_13.setFont(font)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.horizontalLayout_5.addWidget(self.label_13)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.instantRButton = QtGui.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.instantRButton.setFont(font)
        self.instantRButton.setChecked(True)
        self.instantRButton.setObjectName(_fromUtf8("instantRButton"))
        self.powerReadingButtonGroup = QtGui.QButtonGroup(
            SpectrumAnalyzerWindow)
        self.powerReadingButtonGroup.setObjectName(
            _fromUtf8("powerReadingButtonGroup"))
        self.powerReadingButtonGroup.addButton(self.instantRButton)
        self.verticalLayout.addWidget(self.instantRButton)
        self.averageRButton = QtGui.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.averageRButton.setFont(font)
        self.averageRButton.setObjectName(_fromUtf8("averageRButton"))
        self.powerReadingButtonGroup.addButton(self.averageRButton)
        self.verticalLayout.addWidget(self.averageRButton)
        self.label_3 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout.addWidget(self.label_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.updateRateSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.updateRateSpinBox.setFont(font)
        self.updateRateSpinBox.setMinimum(0.01)
        self.updateRateSpinBox.setMaximum(30.0)
        self.updateRateSpinBox.setSingleStep(0.2)
        self.updateRateSpinBox.setObjectName(_fromUtf8("updateRateSpinBox"))
        self.horizontalLayout.addWidget(self.updateRateSpinBox)
        self.label_4 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout.addWidget(self.label_4)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.spectrumCurvewidget = CurveWidget(self.centralwidget)
        self.spectrumCurvewidget.setGeometry(QtCore.QRect(190, 350, 601, 251))
        self.spectrumCurvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.spectrumCurvewidget.setObjectName(
            _fromUtf8("spectrumCurvewidget"))
        self.layoutWidget1 = QtGui.QWidget(self.centralwidget)
        self.layoutWidget1.setGeometry(QtCore.QRect(10, 350, 161, 251))
        self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_7 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_7.setFont(font)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_2.addWidget(self.label_7)
        self.label_8 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_8.setFont(font)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.verticalLayout_2.addWidget(self.label_8)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.startSweepSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.startSweepSpinBox.setFont(font)
        self.startSweepSpinBox.setMinimum(1.0)
        self.startSweepSpinBox.setMaximum(10.0)
        self.startSweepSpinBox.setSingleStep(0.00001)
        self.startSweepSpinBox.setProperty(_fromUtf8("value"), 6.5)
        self.startSweepSpinBox.setObjectName(_fromUtf8("startSweepSpinBox"))
        self.horizontalLayout_2.addWidget(self.startSweepSpinBox)
        self.label_5 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_5.setFont(font)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_2.addWidget(self.label_5)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.label_9 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_9.setFont(font)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.verticalLayout_2.addWidget(self.label_9)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.endSweepSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.endSweepSpinBox.setFont(font)
        self.endSweepSpinBox.setMinimum(1.0)
        self.endSweepSpinBox.setMaximum(10.0)
        self.endSweepSpinBox.setSingleStep(0.00001)
        self.endSweepSpinBox.setProperty(_fromUtf8("value"), 7.2)
        self.endSweepSpinBox.setObjectName(_fromUtf8("endSweepSpinBox"))
        self.horizontalLayout_3.addWidget(self.endSweepSpinBox)
        self.label_6 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_3.addWidget(self.label_6)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.label_10 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label_10.setFont(font)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.verticalLayout_2.addWidget(self.label_10)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.stepSweepSpinBox = QtGui.QDoubleSpinBox(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.stepSweepSpinBox.setFont(font)
        self.stepSweepSpinBox.setDecimals(6)
        self.stepSweepSpinBox.setMinimum(0.00001)
        self.stepSweepSpinBox.setMaximum(1.0)
        self.stepSweepSpinBox.setSingleStep(0.00001)
        self.stepSweepSpinBox.setProperty(_fromUtf8("value"), 0.005)
        self.stepSweepSpinBox.setObjectName(_fromUtf8("stepSweepSpinBox"))
        self.horizontalLayout_4.addWidget(self.stepSweepSpinBox)
        self.label_11 = QtGui.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_11.setFont(font)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.horizontalLayout_4.addWidget(self.label_11)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.sweepButton = QtGui.QPushButton(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(14)
        self.sweepButton.setFont(font)
        self.sweepButton.setObjectName(_fromUtf8("sweepButton"))
        self.verticalLayout_2.addWidget(self.sweepButton)
        SpectrumAnalyzerWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(SpectrumAnalyzerWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 817, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        SpectrumAnalyzerWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(SpectrumAnalyzerWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        SpectrumAnalyzerWindow.setStatusBar(self.statusbar)

        self.retranslateUi(SpectrumAnalyzerWindow)
        QtCore.QMetaObject.connectSlotsByName(SpectrumAnalyzerWindow)

    def retranslateUi(self, SpectrumAnalyzerWindow):
        SpectrumAnalyzerWindow.setWindowTitle(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow",
                                         "Spectrum Analyzer", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.clearButton.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow",
                                         "Clear Plot", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow",
                                         "Current Power:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.dBmLabel.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "(±0.2)dBm",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.calibratedOuputCheckBox.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow",
                                         "Calibrated output (in dBm)", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow",
                                         "At Frequency:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "GHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow",
                                         "Power Reading Mode:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.instantRButton.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Instant",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.averageRButton.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Average",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow",
                                         "Update Rate:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Hz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow",
                                         "Sweep Setup:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Start:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "GHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "End:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "GHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Step:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "GHz", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.sweepButton.setText(
            QtGui.QApplication.translate("SpectrumAnalyzerWindow", "Sweep",
                                         None, QtGui.QApplication.UnicodeUTF8))
Example #15
0
class Ui_ScopeWindow(object):
    def setupUi(self, ScopeWindow):
        ScopeWindow.setObjectName(_fromUtf8("ScopeWindow"))
        ScopeWindow.resize(1104, 737)
        self.centralwidget = QtGui.QWidget(ScopeWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.ScopeSettings = QtGui.QGroupBox(self.centralwidget)
        self.ScopeSettings.setObjectName(_fromUtf8("ScopeSettings"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.ScopeSettings)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.SampleSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SampleSettings.sizePolicy().hasHeightForWidth())
        self.SampleSettings.setSizePolicy(sizePolicy)
        self.SampleSettings.setObjectName(_fromUtf8("SampleSettings"))
        self.gridLayout = QtGui.QGridLayout(self.SampleSettings)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(self.SampleSettings)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.samplesSpinBox = QtGui.QSpinBox(self.SampleSettings)
        self.samplesSpinBox.setMinimum(32)
        self.samplesSpinBox.setMaximum(999999999)
        self.samplesSpinBox.setSingleStep(64)
        self.samplesSpinBox.setProperty("value", 1024)
        self.samplesSpinBox.setObjectName(_fromUtf8("samplesSpinBox"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.samplesSpinBox)
        self.label_2 = QtGui.QLabel(self.SampleSettings)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.recordsSpinBox = QtGui.QSpinBox(self.SampleSettings)
        self.recordsSpinBox.setMinimum(1)
        self.recordsSpinBox.setMaximum(999999999)
        self.recordsSpinBox.setObjectName(_fromUtf8("recordsSpinBox"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.recordsSpinBox)
        self.label_3 = QtGui.QLabel(self.SampleSettings)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.buffersSpinBox = QtGui.QSpinBox(self.SampleSettings)
        self.buffersSpinBox.setMinimum(1)
        self.buffersSpinBox.setMaximum(999999999)
        self.buffersSpinBox.setObjectName(_fromUtf8("buffersSpinBox"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.buffersSpinBox)
        self.label_21 = QtGui.QLabel(self.SampleSettings)
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_21)
        self.recordsPerAcquisitionSpinBox = QtGui.QSpinBox(self.SampleSettings)
        self.recordsPerAcquisitionSpinBox.setMinimum(1)
        self.recordsPerAcquisitionSpinBox.setMaximum(999999999)
        self.recordsPerAcquisitionSpinBox.setProperty("value", 1)
        self.recordsPerAcquisitionSpinBox.setObjectName(_fromUtf8("recordsPerAcquisitionSpinBox"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.recordsPerAcquisitionSpinBox)
        self.gridLayout.addLayout(self.formLayout, 0, 0, 1, 1)
        self.verticalLayout_5.addWidget(self.SampleSettings)
        self.VerticalSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.VerticalSettings.sizePolicy().hasHeightForWidth())
        self.VerticalSettings.setSizePolicy(sizePolicy)
        self.VerticalSettings.setObjectName(_fromUtf8("VerticalSettings"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.VerticalSettings)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.Ch1Vertical = QtGui.QGroupBox(self.VerticalSettings)
        self.Ch1Vertical.setObjectName(_fromUtf8("Ch1Vertical"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.Ch1Vertical)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.formLayout_5 = QtGui.QFormLayout()
        self.formLayout_5.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_5.setObjectName(_fromUtf8("formLayout_5"))
        self.ch1_enabledCheckBox = QtGui.QCheckBox(self.Ch1Vertical)
        self.ch1_enabledCheckBox.setChecked(True)
        self.ch1_enabledCheckBox.setObjectName(_fromUtf8("ch1_enabledCheckBox"))
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.LabelRole, self.ch1_enabledCheckBox)
        self.ch1_filteredCheckBox = QtGui.QCheckBox(self.Ch1Vertical)
        self.ch1_filteredCheckBox.setObjectName(_fromUtf8("ch1_filteredCheckBox"))
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.FieldRole, self.ch1_filteredCheckBox)
        self.label_16 = QtGui.QLabel(self.Ch1Vertical)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.formLayout_5.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_16)
        self.ch1_rangeComboBox = QtGui.QComboBox(self.Ch1Vertical)
        self.ch1_rangeComboBox.setObjectName(_fromUtf8("ch1_rangeComboBox"))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.ch1_rangeComboBox.addItem(_fromUtf8(""))
        self.formLayout_5.setWidget(1, QtGui.QFormLayout.FieldRole, self.ch1_rangeComboBox)
        self.label_17 = QtGui.QLabel(self.Ch1Vertical)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout_5.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_17)
        self.ch1_couplingComboBox = QtGui.QComboBox(self.Ch1Vertical)
        self.ch1_couplingComboBox.setObjectName(_fromUtf8("ch1_couplingComboBox"))
        self.ch1_couplingComboBox.addItem(_fromUtf8(""))
        self.ch1_couplingComboBox.addItem(_fromUtf8(""))
        self.formLayout_5.setWidget(2, QtGui.QFormLayout.FieldRole, self.ch1_couplingComboBox)
        self.verticalLayout_3.addLayout(self.formLayout_5)
        self.horizontalLayout_2.addWidget(self.Ch1Vertical)
        self.Ch2Vertical = QtGui.QGroupBox(self.VerticalSettings)
        self.Ch2Vertical.setObjectName(_fromUtf8("Ch2Vertical"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.Ch2Vertical)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.formLayout_6 = QtGui.QFormLayout()
        self.formLayout_6.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_6.setObjectName(_fromUtf8("formLayout_6"))
        self.ch2_enabledCheckBox = QtGui.QCheckBox(self.Ch2Vertical)
        self.ch2_enabledCheckBox.setChecked(True)
        self.ch2_enabledCheckBox.setObjectName(_fromUtf8("ch2_enabledCheckBox"))
        self.formLayout_6.setWidget(0, QtGui.QFormLayout.LabelRole, self.ch2_enabledCheckBox)
        self.ch2_filteredCheckBox = QtGui.QCheckBox(self.Ch2Vertical)
        self.ch2_filteredCheckBox.setObjectName(_fromUtf8("ch2_filteredCheckBox"))
        self.formLayout_6.setWidget(0, QtGui.QFormLayout.FieldRole, self.ch2_filteredCheckBox)
        self.label_18 = QtGui.QLabel(self.Ch2Vertical)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_18)
        self.ch2_rangeComboBox = QtGui.QComboBox(self.Ch2Vertical)
        self.ch2_rangeComboBox.setObjectName(_fromUtf8("ch2_rangeComboBox"))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.ch2_rangeComboBox.addItem(_fromUtf8(""))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.FieldRole, self.ch2_rangeComboBox)
        self.label_19 = QtGui.QLabel(self.Ch2Vertical)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.formLayout_6.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_19)
        self.ch2_couplingComboBox = QtGui.QComboBox(self.Ch2Vertical)
        self.ch2_couplingComboBox.setObjectName(_fromUtf8("ch2_couplingComboBox"))
        self.ch2_couplingComboBox.addItem(_fromUtf8(""))
        self.ch2_couplingComboBox.addItem(_fromUtf8(""))
        self.formLayout_6.setWidget(2, QtGui.QFormLayout.FieldRole, self.ch2_couplingComboBox)
        self.verticalLayout_4.addLayout(self.formLayout_6)
        self.horizontalLayout_2.addWidget(self.Ch2Vertical)
        self.verticalLayout_5.addWidget(self.VerticalSettings)
        self.ClockSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ClockSettings.sizePolicy().hasHeightForWidth())
        self.ClockSettings.setSizePolicy(sizePolicy)
        self.ClockSettings.setObjectName(_fromUtf8("ClockSettings"))
        self.verticalLayout = QtGui.QVBoxLayout(self.ClockSettings)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_6 = QtGui.QLabel(self.ClockSettings)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_6)
        self.samplerateComboBox = QtGui.QComboBox(self.ClockSettings)
        self.samplerateComboBox.setObjectName(_fromUtf8("samplerateComboBox"))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.samplerateComboBox.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.samplerateComboBox)
        self.label_4 = QtGui.QLabel(self.ClockSettings)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4)
        self.clocksourceComboBox = QtGui.QComboBox(self.ClockSettings)
        self.clocksourceComboBox.setObjectName(_fromUtf8("clocksourceComboBox"))
        self.clocksourceComboBox.addItem(_fromUtf8(""))
        self.clocksourceComboBox.addItem(_fromUtf8(""))
        self.clocksourceComboBox.addItem(_fromUtf8(""))
        self.clocksourceComboBox.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.clocksourceComboBox)
        self.label_5 = QtGui.QLabel(self.ClockSettings)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_5)
        self.clockedgeComboBox = QtGui.QComboBox(self.ClockSettings)
        self.clockedgeComboBox.setObjectName(_fromUtf8("clockedgeComboBox"))
        self.clockedgeComboBox.addItem(_fromUtf8(""))
        self.clockedgeComboBox.addItem(_fromUtf8(""))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.clockedgeComboBox)
        self.label_10 = QtGui.QLabel(self.ClockSettings)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_10)
        self.timeoutSpinBox = QtGui.QSpinBox(self.ClockSettings)
        self.timeoutSpinBox.setMaximum(1000000000)
        self.timeoutSpinBox.setProperty("value", 5000)
        self.timeoutSpinBox.setObjectName(_fromUtf8("timeoutSpinBox"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.timeoutSpinBox)
        self.verticalLayout.addLayout(self.formLayout_2)
        self.verticalLayout_5.addWidget(self.ClockSettings)
        self.TriggerSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.TriggerSettings.sizePolicy().hasHeightForWidth())
        self.TriggerSettings.setSizePolicy(sizePolicy)
        self.TriggerSettings.setObjectName(_fromUtf8("TriggerSettings"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.TriggerSettings)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.formLayout_3 = QtGui.QFormLayout()
        self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.label_7 = QtGui.QLabel(self.TriggerSettings)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_7)
        self.trig1_sourceComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trig1_sourceComboBox.setObjectName(_fromUtf8("trig1_sourceComboBox"))
        self.trig1_sourceComboBox.addItem(_fromUtf8(""))
        self.trig1_sourceComboBox.addItem(_fromUtf8(""))
        self.trig1_sourceComboBox.addItem(_fromUtf8(""))
        self.trig1_sourceComboBox.addItem(_fromUtf8(""))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.trig1_sourceComboBox)
        self.trig1_edgeComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trig1_edgeComboBox.setObjectName(_fromUtf8("trig1_edgeComboBox"))
        self.trig1_edgeComboBox.addItem(_fromUtf8(""))
        self.trig1_edgeComboBox.addItem(_fromUtf8(""))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.trig1_edgeComboBox)
        self.label_9 = QtGui.QLabel(self.TriggerSettings)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_9)
        self.trig1_levelSpinBox = QtGui.QDoubleSpinBox(self.TriggerSettings)
        self.trig1_levelSpinBox.setProperty("value", 1.0)
        self.trig1_levelSpinBox.setObjectName(_fromUtf8("trig1_levelSpinBox"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.trig1_levelSpinBox)
        self.label_11 = QtGui.QLabel(self.TriggerSettings)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_11)
        self.trigCouplingComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trigCouplingComboBox.setObjectName(_fromUtf8("trigCouplingComboBox"))
        self.trigCouplingComboBox.addItem(_fromUtf8(""))
        self.trigCouplingComboBox.addItem(_fromUtf8(""))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.trigCouplingComboBox)
        self.label_8 = QtGui.QLabel(self.TriggerSettings)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_8)
        self.horizontalLayout.addLayout(self.formLayout_3)
        self.formLayout_4 = QtGui.QFormLayout()
        self.formLayout_4.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_4.setObjectName(_fromUtf8("formLayout_4"))
        self.label_12 = QtGui.QLabel(self.TriggerSettings)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_12)
        self.trig2_sourceComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trig2_sourceComboBox.setObjectName(_fromUtf8("trig2_sourceComboBox"))
        self.trig2_sourceComboBox.addItem(_fromUtf8(""))
        self.trig2_sourceComboBox.addItem(_fromUtf8(""))
        self.trig2_sourceComboBox.addItem(_fromUtf8(""))
        self.trig2_sourceComboBox.addItem(_fromUtf8(""))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.trig2_sourceComboBox)
        self.trig2_edgeComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trig2_edgeComboBox.setObjectName(_fromUtf8("trig2_edgeComboBox"))
        self.trig2_edgeComboBox.addItem(_fromUtf8(""))
        self.trig2_edgeComboBox.addItem(_fromUtf8(""))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.trig2_edgeComboBox)
        self.label_13 = QtGui.QLabel(self.TriggerSettings)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_13)
        self.trig2_levelSpinBox = QtGui.QDoubleSpinBox(self.TriggerSettings)
        self.trig2_levelSpinBox.setProperty("value", 1.0)
        self.trig2_levelSpinBox.setObjectName(_fromUtf8("trig2_levelSpinBox"))
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.trig2_levelSpinBox)
        self.label_14 = QtGui.QLabel(self.TriggerSettings)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_14)
        self.label_15 = QtGui.QLabel(self.TriggerSettings)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_15)
        self.trigOpComboBox = QtGui.QComboBox(self.TriggerSettings)
        self.trigOpComboBox.setObjectName(_fromUtf8("trigOpComboBox"))
        self.trigOpComboBox.addItem(_fromUtf8(""))
        self.trigOpComboBox.addItem(_fromUtf8(""))
        self.trigOpComboBox.addItem(_fromUtf8(""))
        self.trigOpComboBox.addItem(_fromUtf8(""))
        self.formLayout_4.setWidget(3, QtGui.QFormLayout.FieldRole, self.trigOpComboBox)
        self.horizontalLayout.addLayout(self.formLayout_4)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.verticalLayout_5.addWidget(self.TriggerSettings)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem)
        self.horizontalLayout_5.addWidget(self.ScopeSettings)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.datapathButton = QtGui.QPushButton(self.centralwidget)
        self.datapathButton.setObjectName(_fromUtf8("datapathButton"))
        self.horizontalLayout_3.addWidget(self.datapathButton)
        self.datapathLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.datapathLineEdit.setObjectName(_fromUtf8("datapathLineEdit"))
        self.horizontalLayout_3.addWidget(self.datapathLineEdit)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.label_20 = QtGui.QLabel(self.centralwidget)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.horizontalLayout_6.addWidget(self.label_20)
        self.filenumberLabel = QtGui.QLabel(self.centralwidget)
        self.filenumberLabel.setObjectName(_fromUtf8("filenumberLabel"))
        self.horizontalLayout_6.addWidget(self.filenumberLabel)
        self.prefixLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.prefixLineEdit.setObjectName(_fromUtf8("prefixLineEdit"))
        self.horizontalLayout_6.addWidget(self.prefixLineEdit)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.runButton = QtGui.QPushButton(self.centralwidget)
        self.runButton.setObjectName(_fromUtf8("runButton"))
        self.horizontalLayout_4.addWidget(self.runButton)
        self.saveButton = QtGui.QPushButton(self.centralwidget)
        self.saveButton.setObjectName(_fromUtf8("saveButton"))
        self.horizontalLayout_4.addWidget(self.saveButton)
        self.autosaveCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.autosaveCheckBox.setObjectName(_fromUtf8("autosaveCheckBox"))
        self.horizontalLayout_4.addWidget(self.autosaveCheckBox)
        self.autorunCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.autorunCheckBox.setChecked(True)
        self.autorunCheckBox.setObjectName(_fromUtf8("autorunCheckBox"))
        self.horizontalLayout_4.addWidget(self.autorunCheckBox)
        self.PSDCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.PSDCheckBox.setObjectName(_fromUtf8("PSDCheckBox"))
        self.horizontalLayout_4.addWidget(self.PSDCheckBox)
        self.x_autoscaleCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.x_autoscaleCheckBox.setEnabled(False)
        self.x_autoscaleCheckBox.setChecked(True)
        self.x_autoscaleCheckBox.setObjectName(_fromUtf8("x_autoscaleCheckBox"))
        self.horizontalLayout_4.addWidget(self.x_autoscaleCheckBox)
        self.y_autoscaleCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.y_autoscaleCheckBox.setEnabled(False)
        self.y_autoscaleCheckBox.setChecked(True)
        self.y_autoscaleCheckBox.setObjectName(_fromUtf8("y_autoscaleCheckBox"))
        self.horizontalLayout_4.addWidget(self.y_autoscaleCheckBox)
        self.autoscaleCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.autoscaleCheckBox.setChecked(True)
        self.autoscaleCheckBox.setObjectName(_fromUtf8("autoscaleCheckBox"))
        self.horizontalLayout_4.addWidget(self.autoscaleCheckBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.verticalLayout_2.addWidget(self.curvewidget)
        self.horizontalLayout_5.addLayout(self.verticalLayout_2)
        ScopeWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(ScopeWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1104, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        ScopeWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(ScopeWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        ScopeWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(ScopeWindow)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        ScopeWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)

        self.retranslateUi(ScopeWindow)
        self.trig1_sourceComboBox.setCurrentIndex(2)
        self.trig2_sourceComboBox.setCurrentIndex(3)
        QtCore.QMetaObject.connectSlotsByName(ScopeWindow)

    def retranslateUi(self, ScopeWindow):
        ScopeWindow.setWindowTitle(QtGui.QApplication.translate("ScopeWindow", "DScope", None, QtGui.QApplication.UnicodeUTF8))
        self.ScopeSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Scope Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.SampleSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Sample / Buffer Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ScopeWindow", "Samples", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("ScopeWindow", "Records per Buffer", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("ScopeWindow", "Buffers", None, QtGui.QApplication.UnicodeUTF8))
        self.label_21.setText(QtGui.QApplication.translate("ScopeWindow", "Records per Acquisition", None, QtGui.QApplication.UnicodeUTF8))
        self.VerticalSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Vertical Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.Ch1Vertical.setTitle(QtGui.QApplication.translate("ScopeWindow", "Channel 1", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_enabledCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_filteredCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "Filtered", None, QtGui.QApplication.UnicodeUTF8))
        self.label_16.setText(QtGui.QApplication.translate("ScopeWindow", "Range", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "4 V", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "2 V", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "1 V", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "400 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(4, QtGui.QApplication.translate("ScopeWindow", "200 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(5, QtGui.QApplication.translate("ScopeWindow", "100 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_rangeComboBox.setItemText(6, QtGui.QApplication.translate("ScopeWindow", "40 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.label_17.setText(QtGui.QApplication.translate("ScopeWindow", "Coupling", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_couplingComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "DC", None, QtGui.QApplication.UnicodeUTF8))
        self.ch1_couplingComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "AC", None, QtGui.QApplication.UnicodeUTF8))
        self.Ch2Vertical.setTitle(QtGui.QApplication.translate("ScopeWindow", "Channel 2", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_enabledCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_filteredCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "Filtered", None, QtGui.QApplication.UnicodeUTF8))
        self.label_18.setText(QtGui.QApplication.translate("ScopeWindow", "Range", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "4 V", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "2 V", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "1 V", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "400 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(4, QtGui.QApplication.translate("ScopeWindow", "200 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(5, QtGui.QApplication.translate("ScopeWindow", "100 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_rangeComboBox.setItemText(6, QtGui.QApplication.translate("ScopeWindow", "40 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.label_19.setText(QtGui.QApplication.translate("ScopeWindow", "Coupling", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_couplingComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "DC", None, QtGui.QApplication.UnicodeUTF8))
        self.ch2_couplingComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "AC", None, QtGui.QApplication.UnicodeUTF8))
        self.ClockSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Clock Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("ScopeWindow", "Clock Rate", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "1 GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "500 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "250 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "100 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(4, QtGui.QApplication.translate("ScopeWindow", "50 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(5, QtGui.QApplication.translate("ScopeWindow", "20 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(6, QtGui.QApplication.translate("ScopeWindow", "10 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(7, QtGui.QApplication.translate("ScopeWindow", "5 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(8, QtGui.QApplication.translate("ScopeWindow", "2 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(9, QtGui.QApplication.translate("ScopeWindow", "1 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(10, QtGui.QApplication.translate("ScopeWindow", "20 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(11, QtGui.QApplication.translate("ScopeWindow", "10 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(12, QtGui.QApplication.translate("ScopeWindow", "5 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(13, QtGui.QApplication.translate("ScopeWindow", "2 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.samplerateComboBox.setItemText(14, QtGui.QApplication.translate("ScopeWindow", "1 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("ScopeWindow", "Clock Source", None, QtGui.QApplication.UnicodeUTF8))
        self.clocksourceComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "internal", None, QtGui.QApplication.UnicodeUTF8))
        self.clocksourceComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "reference", None, QtGui.QApplication.UnicodeUTF8))
        self.clocksourceComboBox.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "60 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.clocksourceComboBox.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "1 GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("ScopeWindow", "Clock Edge", None, QtGui.QApplication.UnicodeUTF8))
        self.clockedgeComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "rising", None, QtGui.QApplication.UnicodeUTF8))
        self.clockedgeComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "falling", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("ScopeWindow", "Timeout", None, QtGui.QApplication.UnicodeUTF8))
        self.TriggerSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Trigger Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("ScopeWindow", "Source 1", None, QtGui.QApplication.UnicodeUTF8))
        self.trig1_sourceComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "CH_A", None, QtGui.QApplication.UnicodeUTF8))
        self.trig1_sourceComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "CH_B", None, QtGui.QApplication.UnicodeUTF8))
        self.trig1_sourceComboBox.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "external", None, QtGui.QApplication.UnicodeUTF8))
        self.trig1_sourceComboBox.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "disabled", None, QtGui.QApplication.UnicodeUTF8))
        self.trig1_edgeComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "rising", None, QtGui.QApplication.UnicodeUTF8))
        self.trig1_edgeComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "falling", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("ScopeWindow", "Level 1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("ScopeWindow", "Coupling", None, QtGui.QApplication.UnicodeUTF8))
        self.trigCouplingComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "DC", None, QtGui.QApplication.UnicodeUTF8))
        self.trigCouplingComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "AC", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("ScopeWindow", "Edge 1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("ScopeWindow", "Source 2", None, QtGui.QApplication.UnicodeUTF8))
        self.trig2_sourceComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "CH_A", None, QtGui.QApplication.UnicodeUTF8))
        self.trig2_sourceComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "CH_B", None, QtGui.QApplication.UnicodeUTF8))
        self.trig2_sourceComboBox.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "external", None, QtGui.QApplication.UnicodeUTF8))
        self.trig2_sourceComboBox.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "disabled", None, QtGui.QApplication.UnicodeUTF8))
        self.trig2_edgeComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "rising", None, QtGui.QApplication.UnicodeUTF8))
        self.trig2_edgeComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "falling", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("ScopeWindow", "Level 2", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(QtGui.QApplication.translate("ScopeWindow", "Operation", None, QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(QtGui.QApplication.translate("ScopeWindow", "Edge 2", None, QtGui.QApplication.UnicodeUTF8))
        self.trigOpComboBox.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "or", None, QtGui.QApplication.UnicodeUTF8))
        self.trigOpComboBox.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "and", None, QtGui.QApplication.UnicodeUTF8))
        self.trigOpComboBox.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "xor", None, QtGui.QApplication.UnicodeUTF8))
        self.trigOpComboBox.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "and not", None, QtGui.QApplication.UnicodeUTF8))
        self.datapathButton.setText(QtGui.QApplication.translate("ScopeWindow", "Datapath", None, QtGui.QApplication.UnicodeUTF8))
        self.label_20.setText(QtGui.QApplication.translate("ScopeWindow", "File Prefix", None, QtGui.QApplication.UnicodeUTF8))
        self.filenumberLabel.setText(QtGui.QApplication.translate("ScopeWindow", "000_", None, QtGui.QApplication.UnicodeUTF8))
        self.prefixLineEdit.setText(QtGui.QApplication.translate("ScopeWindow", "trace", None, QtGui.QApplication.UnicodeUTF8))
        self.runButton.setText(QtGui.QApplication.translate("ScopeWindow", "Run", None, QtGui.QApplication.UnicodeUTF8))
        self.saveButton.setText(QtGui.QApplication.translate("ScopeWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.autosaveCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "autosave", None, QtGui.QApplication.UnicodeUTF8))
        self.autorunCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "autorun", None, QtGui.QApplication.UnicodeUTF8))
        self.PSDCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "PSD", None, QtGui.QApplication.UnicodeUTF8))
        self.x_autoscaleCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "autoscale X", None, QtGui.QApplication.UnicodeUTF8))
        self.y_autoscaleCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "autoscale Y", None, QtGui.QApplication.UnicodeUTF8))
        self.autoscaleCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "autoscale", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("ScopeWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
Example #16
0
class Ui_TSweepWindow(object):
    def setupUi(self, TSweepWindow):
        TSweepWindow.setObjectName(_fromUtf8("TSweepWindow"))
        TSweepWindow.resize(944, 675)
        self.centralwidget = QtGui.QWidget(TSweepWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout_7 = QtGui.QVBoxLayout()
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.groupBox = QtGui.QGroupBox(self.centralwidget)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.powerSpinBox = QtGui.QDoubleSpinBox(self.groupBox)
        self.powerSpinBox.setMinimum(-100.0)
        self.powerSpinBox.setMaximum(10.0)
        self.powerSpinBox.setProperty(_fromUtf8("value"), -20.0)
        self.powerSpinBox.setObjectName(_fromUtf8("powerSpinBox"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.powerSpinBox)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.sweep_ptsSpinBox = QtGui.QSpinBox(self.groupBox)
        self.sweep_ptsSpinBox.setMaximum(1601)
        self.sweep_ptsSpinBox.setProperty(_fromUtf8("value"), 1601)
        self.sweep_ptsSpinBox.setObjectName(_fromUtf8("sweep_ptsSpinBox"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.sweep_ptsSpinBox)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.ifbwSpinBox = QtGui.QDoubleSpinBox(self.groupBox)
        self.ifbwSpinBox.setMinimum(10.0)
        self.ifbwSpinBox.setMaximum(1000000.0)
        self.ifbwSpinBox.setProperty(_fromUtf8("value"), 1000.0)
        self.ifbwSpinBox.setObjectName(_fromUtf8("ifbwSpinBox"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.ifbwSpinBox)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.avgsSpinBox = QtGui.QSpinBox(self.groupBox)
        self.avgsSpinBox.setMinimum(1)
        self.avgsSpinBox.setObjectName(_fromUtf8("avgsSpinBox"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.avgsSpinBox)
        self.centerstartLabel = QtGui.QLabel(self.groupBox)
        self.centerstartLabel.setObjectName(_fromUtf8("centerstartLabel"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.centerstartLabel)
        self.centerstartSpinBox = QtGui.QDoubleSpinBox(self.groupBox)
        self.centerstartSpinBox.setDecimals(6)
        self.centerstartSpinBox.setMaximum(20.0)
        self.centerstartSpinBox.setSingleStep(0.1)
        self.centerstartSpinBox.setProperty(_fromUtf8("value"), 10.0)
        self.centerstartSpinBox.setObjectName(_fromUtf8("centerstartSpinBox"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.centerstartSpinBox)
        self.spanstopLabel = QtGui.QLabel(self.groupBox)
        self.spanstopLabel.setObjectName(_fromUtf8("spanstopLabel"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.spanstopLabel)
        self.spanstopSpinBox = QtGui.QDoubleSpinBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spanstopSpinBox.sizePolicy().hasHeightForWidth())
        self.spanstopSpinBox.setSizePolicy(sizePolicy)
        self.spanstopSpinBox.setMaximum(20000.0)
        self.spanstopSpinBox.setProperty(_fromUtf8("value"), 1000.0)
        self.spanstopSpinBox.setObjectName(_fromUtf8("spanstopSpinBox"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.spanstopSpinBox)
        self.verticalLayout_3.addLayout(self.formLayout)
        self.centerspanstartstopCheckBox = QtGui.QCheckBox(self.groupBox)
        self.centerspanstartstopCheckBox.setChecked(True)
        self.centerspanstartstopCheckBox.setObjectName(_fromUtf8("centerspanstartstopCheckBox"))
        self.verticalLayout_3.addWidget(self.centerspanstartstopCheckBox)
        self.verticalLayout_7.addWidget(self.groupBox)
        self.groupBox_4 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.formLayout_3 = QtGui.QFormLayout(self.groupBox_4)
        self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.label_7 = QtGui.QLabel(self.groupBox_4)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_7)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.radioButton = QtGui.QRadioButton(self.groupBox_4)
        self.radioButton.setObjectName(_fromUtf8("radioButton"))
        self.horizontalLayout_7.addWidget(self.radioButton)
        self.radioButton_2 = QtGui.QRadioButton(self.groupBox_4)
        self.radioButton_2.setObjectName(_fromUtf8("radioButton_2"))
        self.horizontalLayout_7.addWidget(self.radioButton_2)
        self.formLayout_3.setLayout(2, QtGui.QFormLayout.FieldRole, self.horizontalLayout_7)
        self.label_8 = QtGui.QLabel(self.groupBox_4)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_8)
        self.maxTSpinBox = QtGui.QDoubleSpinBox(self.groupBox_4)
        self.maxTSpinBox.setObjectName(_fromUtf8("maxTSpinBox"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.maxTSpinBox)
        self.label_9 = QtGui.QLabel(self.groupBox_4)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout_3.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_9)
        self.delaySpinBox = QtGui.QDoubleSpinBox(self.groupBox_4)
        self.delaySpinBox.setObjectName(_fromUtf8("delaySpinBox"))
        self.formLayout_3.setWidget(4, QtGui.QFormLayout.FieldRole, self.delaySpinBox)
        self.analysisCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.analysisCheckBox.setObjectName(_fromUtf8("analysisCheckBox"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.analysisCheckBox)
        self.verticalLayout_7.addWidget(self.groupBox_4)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_7.addItem(spacerItem)
        self.temperatureLabel = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setWeight(75)
        font.setBold(True)
        self.temperatureLabel.setFont(font)
        self.temperatureLabel.setObjectName(_fromUtf8("temperatureLabel"))
        self.verticalLayout_7.addWidget(self.temperatureLabel)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.go_button = QtGui.QPushButton(self.centralwidget)
        self.go_button.setObjectName(_fromUtf8("go_button"))
        self.horizontalLayout_2.addWidget(self.go_button)
        self.abort_button = QtGui.QPushButton(self.centralwidget)
        self.abort_button.setObjectName(_fromUtf8("abort_button"))
        self.horizontalLayout_2.addWidget(self.abort_button)
        self.verticalLayout_7.addLayout(self.horizontalLayout_2)
        self.horizontalLayout.addLayout(self.verticalLayout_7)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.groupBox_2 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.dataCurveWidget = CurveWidget(self.groupBox_2)
        self.dataCurveWidget.setOrientation(QtCore.Qt.Horizontal)
        self.dataCurveWidget.setObjectName(_fromUtf8("dataCurveWidget"))
        self.verticalLayout_5.addWidget(self.dataCurveWidget)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_5.addWidget(self.label_6)
        self.traceNumSpinBox = QtGui.QSpinBox(self.groupBox_2)
        self.traceNumSpinBox.setObjectName(_fromUtf8("traceNumSpinBox"))
        self.horizontalLayout_5.addWidget(self.traceNumSpinBox)
        self.browserTLabel = QtGui.QLabel(self.groupBox_2)
        self.browserTLabel.setObjectName(_fromUtf8("browserTLabel"))
        self.horizontalLayout_5.addWidget(self.browserTLabel)
        self.autoCheckBox = QtGui.QCheckBox(self.groupBox_2)
        self.autoCheckBox.setChecked(True)
        self.autoCheckBox.setObjectName(_fromUtf8("autoCheckBox"))
        self.horizontalLayout_5.addWidget(self.autoCheckBox)
        self.verticalLayout_5.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_4.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.f0CurveWidget = CurveWidget(self.groupBox_3)
        self.f0CurveWidget.setOrientation(QtCore.Qt.Horizontal)
        self.f0CurveWidget.setObjectName(_fromUtf8("f0CurveWidget"))
        self.verticalLayout_6.addWidget(self.f0CurveWidget)
        self.QCurveWidget = CurveWidget(self.groupBox_3)
        self.QCurveWidget.setOrientation(QtCore.Qt.Horizontal)
        self.QCurveWidget.setObjectName(_fromUtf8("QCurveWidget"))
        self.verticalLayout_6.addWidget(self.QCurveWidget)
        self.horizontalLayout_4.addWidget(self.groupBox_3)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.exptpathButton = QtGui.QPushButton(self.centralwidget)
        self.exptpathButton.setObjectName(_fromUtf8("exptpathButton"))
        self.horizontalLayout_3.addWidget(self.exptpathButton)
        self.exptpathLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.exptpathLineEdit.setObjectName(_fromUtf8("exptpathLineEdit"))
        self.horizontalLayout_3.addWidget(self.exptpathLineEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.label_20 = QtGui.QLabel(self.centralwidget)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.horizontalLayout_6.addWidget(self.label_20)
        self.filenumberLabel = QtGui.QLabel(self.centralwidget)
        self.filenumberLabel.setObjectName(_fromUtf8("filenumberLabel"))
        self.horizontalLayout_6.addWidget(self.filenumberLabel)
        self.prefixLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.prefixLineEdit.setObjectName(_fromUtf8("prefixLineEdit"))
        self.horizontalLayout_6.addWidget(self.prefixLineEdit)
        self.saveCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.saveCheckBox.setObjectName(_fromUtf8("saveCheckBox"))
        self.horizontalLayout_6.addWidget(self.saveCheckBox)
        self.checkBox_2 = QtGui.QCheckBox(self.centralwidget)
        self.checkBox_2.setObjectName(_fromUtf8("checkBox_2"))
        self.horizontalLayout_6.addWidget(self.checkBox_2)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.verticalLayout_4.addLayout(self.horizontalLayout)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.message_box = QtGui.QTextBrowser(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.message_box.sizePolicy().hasHeightForWidth())
        self.message_box.setSizePolicy(sizePolicy)
        self.message_box.setMaximumSize(QtCore.QSize(16777215, 80))
        self.message_box.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.message_box.setObjectName(_fromUtf8("message_box"))
        self.verticalLayout_2.addWidget(self.message_box)
        self.verticalLayout_4.addLayout(self.verticalLayout_2)
        self.cmd_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.cmd_lineEdit.setObjectName(_fromUtf8("cmd_lineEdit"))
        self.verticalLayout_4.addWidget(self.cmd_lineEdit)
        TSweepWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(TSweepWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 944, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuSave = QtGui.QMenu(self.menuFile)
        self.menuSave.setObjectName(_fromUtf8("menuSave"))
        self.menuInstruments = QtGui.QMenu(self.menubar)
        self.menuInstruments.setObjectName(_fromUtf8("menuInstruments"))
        TSweepWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(TSweepWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        TSweepWindow.setStatusBar(self.statusbar)
        self.actionExperimental_Settings = QtGui.QAction(TSweepWindow)
        self.actionExperimental_Settings.setObjectName(_fromUtf8("actionExperimental_Settings"))
        self.actionExperimental_and_Instrument_Settings = QtGui.QAction(TSweepWindow)
        self.actionExperimental_and_Instrument_Settings.setObjectName(_fromUtf8("actionExperimental_and_Instrument_Settings"))
        self.actionLoad = QtGui.QAction(TSweepWindow)
        self.actionLoad.setObjectName(_fromUtf8("actionLoad"))
        self.menuSave.addAction(self.actionExperimental_Settings)
        self.menuSave.addAction(self.actionExperimental_and_Instrument_Settings)
        self.menuFile.addAction(self.menuSave.menuAction())
        self.menuFile.addAction(self.actionLoad)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuInstruments.menuAction())

        self.retranslateUi(TSweepWindow)
        QtCore.QMetaObject.connectSlotsByName(TSweepWindow)

    def retranslateUi(self, TSweepWindow):
        TSweepWindow.setWindowTitle(QtGui.QApplication.translate("TSweepWindow", "Temperature Sweep with Network Analyzer", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("TSweepWindow", "NWA Parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("TSweepWindow", "Power", None, QtGui.QApplication.UnicodeUTF8))
        self.powerSpinBox.setSuffix(QtGui.QApplication.translate("TSweepWindow", " dBm", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("TSweepWindow", "Sweep pts", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("TSweepWindow", "IF BW", None, QtGui.QApplication.UnicodeUTF8))
        self.ifbwSpinBox.setSuffix(QtGui.QApplication.translate("TSweepWindow", " Hz", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("TSweepWindow", "Avgs", None, QtGui.QApplication.UnicodeUTF8))
        self.centerstartLabel.setText(QtGui.QApplication.translate("TSweepWindow", "Center", None, QtGui.QApplication.UnicodeUTF8))
        self.centerstartSpinBox.setSuffix(QtGui.QApplication.translate("TSweepWindow", " GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.spanstopLabel.setText(QtGui.QApplication.translate("TSweepWindow", "Span", None, QtGui.QApplication.UnicodeUTF8))
        self.spanstopSpinBox.setSuffix(QtGui.QApplication.translate("TSweepWindow", " MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.centerspanstartstopCheckBox.setText(QtGui.QApplication.translate("TSweepWindow", "Start/Stop", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("TSweepWindow", "T Sweep Parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("TSweepWindow", "Fit type", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton.setText(QtGui.QApplication.translate("TSweepWindow", "Series", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_2.setText(QtGui.QApplication.translate("TSweepWindow", "Hanger", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("TSweepWindow", "Max T", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("TSweepWindow", "Delay", None, QtGui.QApplication.UnicodeUTF8))
        self.analysisCheckBox.setText(QtGui.QApplication.translate("TSweepWindow", "Analysis Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.temperatureLabel.setText(QtGui.QApplication.translate("TSweepWindow", "Current T: N/A", None, QtGui.QApplication.UnicodeUTF8))
        self.go_button.setText(QtGui.QApplication.translate("TSweepWindow", "Go", None, QtGui.QApplication.UnicodeUTF8))
        self.abort_button.setText(QtGui.QApplication.translate("TSweepWindow", "Abort", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("TSweepWindow", "Curve Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("TSweepWindow", "Trace number", None, QtGui.QApplication.UnicodeUTF8))
        self.browserTLabel.setText(QtGui.QApplication.translate("TSweepWindow", "T= N/A", None, QtGui.QApplication.UnicodeUTF8))
        self.autoCheckBox.setText(QtGui.QApplication.translate("TSweepWindow", "auto", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("TSweepWindow", "Analyzed Data", None, QtGui.QApplication.UnicodeUTF8))
        self.exptpathButton.setText(QtGui.QApplication.translate("TSweepWindow", "Experiment Path", None, QtGui.QApplication.UnicodeUTF8))
        self.exptpathLineEdit.setText(QtGui.QApplication.translate("TSweepWindow", "S:\\_Data\\", None, QtGui.QApplication.UnicodeUTF8))
        self.label_20.setText(QtGui.QApplication.translate("TSweepWindow", "File Prefix", None, QtGui.QApplication.UnicodeUTF8))
        self.filenumberLabel.setText(QtGui.QApplication.translate("TSweepWindow", "000_", None, QtGui.QApplication.UnicodeUTF8))
        self.prefixLineEdit.setText(QtGui.QApplication.translate("TSweepWindow", "TSweep", None, QtGui.QApplication.UnicodeUTF8))
        self.saveCheckBox.setText(QtGui.QApplication.translate("TSweepWindow", "Save Traces", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_2.setText(QtGui.QApplication.translate("TSweepWindow", "Save Analysis", None, QtGui.QApplication.UnicodeUTF8))
        self.message_box.setHtml(QtGui.QApplication.translate("TSweepWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("TSweepWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuSave.setTitle(QtGui.QApplication.translate("TSweepWindow", "Save..", None, QtGui.QApplication.UnicodeUTF8))
        self.menuInstruments.setTitle(QtGui.QApplication.translate("TSweepWindow", "Instruments", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExperimental_Settings.setText(QtGui.QApplication.translate("TSweepWindow", "Experimental Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExperimental_and_Instrument_Settings.setText(QtGui.QApplication.translate("TSweepWindow", "Experimental and Instrument Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLoad.setText(QtGui.QApplication.translate("TSweepWindow", "Load", None, QtGui.QApplication.UnicodeUTF8))
Example #17
0
class Ui_ScopeWindow(object):
    def setupUi(self, ScopeWindow):
        ScopeWindow.setObjectName(_fromUtf8("ScopeWindow"))
        ScopeWindow.resize(1107, 827)
        ScopeWindow.setWindowTitle(QtGui.QApplication.translate("ScopeWindow", "DScope", None, QtGui.QApplication.UnicodeUTF8))
        self.centralwidget = QtGui.QWidget(ScopeWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.ScopeSettings = QtGui.QGroupBox(self.centralwidget)
        self.ScopeSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Scope Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.ScopeSettings.setObjectName(_fromUtf8("ScopeSettings"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.ScopeSettings)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.SampleSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.SampleSettings.sizePolicy().hasHeightForWidth())
        self.SampleSettings.setSizePolicy(sizePolicy)
        self.SampleSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Sample / Buffer Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.SampleSettings.setObjectName(_fromUtf8("SampleSettings"))
        self.gridLayout = QtGui.QGridLayout(self.SampleSettings)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(self.SampleSettings)
        self.label.setText(QtGui.QApplication.translate("ScopeWindow", "Samples", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.param_samplesPerRecord = QtGui.QSpinBox(self.SampleSettings)
        self.param_samplesPerRecord.setMinimum(32)
        self.param_samplesPerRecord.setMaximum(999999999)
        self.param_samplesPerRecord.setSingleStep(64)
        self.param_samplesPerRecord.setProperty("value", 1024)
        self.param_samplesPerRecord.setObjectName(_fromUtf8("param_samplesPerRecord"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.param_samplesPerRecord)
        self.label_2 = QtGui.QLabel(self.SampleSettings)
        self.label_2.setText(QtGui.QApplication.translate("ScopeWindow", "Records per Buffer", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.param_recordsPerBuffer = QtGui.QSpinBox(self.SampleSettings)
        self.param_recordsPerBuffer.setMinimum(1)
        self.param_recordsPerBuffer.setMaximum(999999999)
        self.param_recordsPerBuffer.setObjectName(_fromUtf8("param_recordsPerBuffer"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.param_recordsPerBuffer)
        self.label_3 = QtGui.QLabel(self.SampleSettings)
        self.label_3.setText(QtGui.QApplication.translate("ScopeWindow", "Buffers", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.param_bufferCount = QtGui.QSpinBox(self.SampleSettings)
        self.param_bufferCount.setMinimum(1)
        self.param_bufferCount.setMaximum(999999999)
        self.param_bufferCount.setObjectName(_fromUtf8("param_bufferCount"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.param_bufferCount)
        self.label_21 = QtGui.QLabel(self.SampleSettings)
        self.label_21.setText(QtGui.QApplication.translate("ScopeWindow", "Records per Acquisition", None, QtGui.QApplication.UnicodeUTF8))
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_21)
        self.param_recordsPerAcquisition = QtGui.QSpinBox(self.SampleSettings)
        self.param_recordsPerAcquisition.setMinimum(1)
        self.param_recordsPerAcquisition.setMaximum(999999999)
        self.param_recordsPerAcquisition.setProperty("value", 1)
        self.param_recordsPerAcquisition.setObjectName(_fromUtf8("param_recordsPerAcquisition"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.param_recordsPerAcquisition)
        self.gridLayout.addLayout(self.formLayout, 0, 0, 1, 1)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label_22 = QtGui.QLabel(self.SampleSettings)
        self.label_22.setText(QtGui.QApplication.translate("ScopeWindow", "Excise Start", None, QtGui.QApplication.UnicodeUTF8))
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.horizontalLayout_7.addWidget(self.label_22)
        self.param_excise_start = QtGui.QSpinBox(self.SampleSettings)
        self.param_excise_start.setObjectName(_fromUtf8("param_excise_start"))
        self.horizontalLayout_7.addWidget(self.param_excise_start)
        self.label_23 = QtGui.QLabel(self.SampleSettings)
        self.label_23.setText(QtGui.QApplication.translate("ScopeWindow", "Excise End", None, QtGui.QApplication.UnicodeUTF8))
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.horizontalLayout_7.addWidget(self.label_23)
        self.param_excise_end = QtGui.QSpinBox(self.SampleSettings)
        self.param_excise_end.setObjectName(_fromUtf8("param_excise_end"))
        self.horizontalLayout_7.addWidget(self.param_excise_end)
        self.gridLayout.addLayout(self.horizontalLayout_7, 6, 0, 1, 1)
        self.verticalLayout_5.addWidget(self.SampleSettings)
        self.VerticalSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.VerticalSettings.sizePolicy().hasHeightForWidth())
        self.VerticalSettings.setSizePolicy(sizePolicy)
        self.VerticalSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Vertical Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.VerticalSettings.setObjectName(_fromUtf8("VerticalSettings"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.VerticalSettings)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.Ch1Vertical = QtGui.QGroupBox(self.VerticalSettings)
        self.Ch1Vertical.setTitle(QtGui.QApplication.translate("ScopeWindow", "Channel 1", None, QtGui.QApplication.UnicodeUTF8))
        self.Ch1Vertical.setObjectName(_fromUtf8("Ch1Vertical"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.Ch1Vertical)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.formLayout_5 = QtGui.QFormLayout()
        self.formLayout_5.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_5.setObjectName(_fromUtf8("formLayout_5"))
        self.param_ch1_enabled = QtGui.QCheckBox(self.Ch1Vertical)
        self.param_ch1_enabled.setText(QtGui.QApplication.translate("ScopeWindow", "Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_enabled.setChecked(True)
        self.param_ch1_enabled.setObjectName(_fromUtf8("param_ch1_enabled"))
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.LabelRole, self.param_ch1_enabled)
        self.param_ch1_filter = QtGui.QCheckBox(self.Ch1Vertical)
        self.param_ch1_filter.setText(QtGui.QApplication.translate("ScopeWindow", "Filtered", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_filter.setObjectName(_fromUtf8("param_ch1_filter"))
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.FieldRole, self.param_ch1_filter)
        self.label_16 = QtGui.QLabel(self.Ch1Vertical)
        self.label_16.setText(QtGui.QApplication.translate("ScopeWindow", "Range", None, QtGui.QApplication.UnicodeUTF8))
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.formLayout_5.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_16)
        self.param_ch1_range_txt = QtGui.QComboBox(self.Ch1Vertical)
        self.param_ch1_range_txt.setObjectName(_fromUtf8("param_ch1_range_txt"))
        self.param_ch1_range_txt.addItem(_fromUtf8(""))
        self.param_ch1_range_txt.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "4 V", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_range_txt.addItem(_fromUtf8(""))
        self.param_ch1_range_txt.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "2 V", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_range_txt.addItem(_fromUtf8(""))
        self.param_ch1_range_txt.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "1 V", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_range_txt.addItem(_fromUtf8(""))
        self.param_ch1_range_txt.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "400 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_range_txt.addItem(_fromUtf8(""))
        self.param_ch1_range_txt.setItemText(4, QtGui.QApplication.translate("ScopeWindow", "200 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_range_txt.addItem(_fromUtf8(""))
        self.param_ch1_range_txt.setItemText(5, QtGui.QApplication.translate("ScopeWindow", "100 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_range_txt.addItem(_fromUtf8(""))
        self.param_ch1_range_txt.setItemText(6, QtGui.QApplication.translate("ScopeWindow", "40 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_5.setWidget(1, QtGui.QFormLayout.FieldRole, self.param_ch1_range_txt)
        self.label_17 = QtGui.QLabel(self.Ch1Vertical)
        self.label_17.setText(QtGui.QApplication.translate("ScopeWindow", "Coupling", None, QtGui.QApplication.UnicodeUTF8))
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout_5.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_17)
        self.param_ch1_coupling = QtGui.QComboBox(self.Ch1Vertical)
        self.param_ch1_coupling.setObjectName(_fromUtf8("param_ch1_coupling"))
        self.param_ch1_coupling.addItem(_fromUtf8(""))
        self.param_ch1_coupling.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "DC", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch1_coupling.addItem(_fromUtf8(""))
        self.param_ch1_coupling.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "AC", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_5.setWidget(2, QtGui.QFormLayout.FieldRole, self.param_ch1_coupling)
        self.verticalLayout_3.addLayout(self.formLayout_5)
        self.horizontalLayout_2.addWidget(self.Ch1Vertical)
        self.Ch2Vertical = QtGui.QGroupBox(self.VerticalSettings)
        self.Ch2Vertical.setTitle(QtGui.QApplication.translate("ScopeWindow", "Channel 2", None, QtGui.QApplication.UnicodeUTF8))
        self.Ch2Vertical.setObjectName(_fromUtf8("Ch2Vertical"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.Ch2Vertical)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.formLayout_6 = QtGui.QFormLayout()
        self.formLayout_6.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_6.setObjectName(_fromUtf8("formLayout_6"))
        self.param_ch2_enabled = QtGui.QCheckBox(self.Ch2Vertical)
        self.param_ch2_enabled.setText(QtGui.QApplication.translate("ScopeWindow", "Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_enabled.setChecked(True)
        self.param_ch2_enabled.setObjectName(_fromUtf8("param_ch2_enabled"))
        self.formLayout_6.setWidget(0, QtGui.QFormLayout.LabelRole, self.param_ch2_enabled)
        self.param_ch2_filter = QtGui.QCheckBox(self.Ch2Vertical)
        self.param_ch2_filter.setText(QtGui.QApplication.translate("ScopeWindow", "Filtered", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_filter.setObjectName(_fromUtf8("param_ch2_filter"))
        self.formLayout_6.setWidget(0, QtGui.QFormLayout.FieldRole, self.param_ch2_filter)
        self.label_18 = QtGui.QLabel(self.Ch2Vertical)
        self.label_18.setText(QtGui.QApplication.translate("ScopeWindow", "Range", None, QtGui.QApplication.UnicodeUTF8))
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_18)
        self.param_ch2_range_txt = QtGui.QComboBox(self.Ch2Vertical)
        self.param_ch2_range_txt.setObjectName(_fromUtf8("param_ch2_range_txt"))
        self.param_ch2_range_txt.addItem(_fromUtf8(""))
        self.param_ch2_range_txt.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "4 V", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_range_txt.addItem(_fromUtf8(""))
        self.param_ch2_range_txt.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "2 V", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_range_txt.addItem(_fromUtf8(""))
        self.param_ch2_range_txt.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "1 V", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_range_txt.addItem(_fromUtf8(""))
        self.param_ch2_range_txt.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "400 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_range_txt.addItem(_fromUtf8(""))
        self.param_ch2_range_txt.setItemText(4, QtGui.QApplication.translate("ScopeWindow", "200 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_range_txt.addItem(_fromUtf8(""))
        self.param_ch2_range_txt.setItemText(5, QtGui.QApplication.translate("ScopeWindow", "100 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_range_txt.addItem(_fromUtf8(""))
        self.param_ch2_range_txt.setItemText(6, QtGui.QApplication.translate("ScopeWindow", "40 mV", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.FieldRole, self.param_ch2_range_txt)
        self.label_19 = QtGui.QLabel(self.Ch2Vertical)
        self.label_19.setText(QtGui.QApplication.translate("ScopeWindow", "Coupling", None, QtGui.QApplication.UnicodeUTF8))
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.formLayout_6.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_19)
        self.param_ch2_coupling = QtGui.QComboBox(self.Ch2Vertical)
        self.param_ch2_coupling.setObjectName(_fromUtf8("param_ch2_coupling"))
        self.param_ch2_coupling.addItem(_fromUtf8(""))
        self.param_ch2_coupling.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "DC", None, QtGui.QApplication.UnicodeUTF8))
        self.param_ch2_coupling.addItem(_fromUtf8(""))
        self.param_ch2_coupling.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "AC", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_6.setWidget(2, QtGui.QFormLayout.FieldRole, self.param_ch2_coupling)
        self.verticalLayout_4.addLayout(self.formLayout_6)
        self.horizontalLayout_2.addWidget(self.Ch2Vertical)
        self.verticalLayout_5.addWidget(self.VerticalSettings)
        self.ClockSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ClockSettings.sizePolicy().hasHeightForWidth())
        self.ClockSettings.setSizePolicy(sizePolicy)
        self.ClockSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Clock Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.ClockSettings.setObjectName(_fromUtf8("ClockSettings"))
        self.verticalLayout = QtGui.QVBoxLayout(self.ClockSettings)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_6 = QtGui.QLabel(self.ClockSettings)
        self.label_6.setText(QtGui.QApplication.translate("ScopeWindow", "Clock Rate", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_6)
        self.param_sample_rate_txt = QtGui.QComboBox(self.ClockSettings)
        self.param_sample_rate_txt.setObjectName(_fromUtf8("param_sample_rate_txt"))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "1 GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "500 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "250 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "100 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(4, QtGui.QApplication.translate("ScopeWindow", "50 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(5, QtGui.QApplication.translate("ScopeWindow", "20 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(6, QtGui.QApplication.translate("ScopeWindow", "10 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(7, QtGui.QApplication.translate("ScopeWindow", "5 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(8, QtGui.QApplication.translate("ScopeWindow", "2 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(9, QtGui.QApplication.translate("ScopeWindow", "1 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(10, QtGui.QApplication.translate("ScopeWindow", "20 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(11, QtGui.QApplication.translate("ScopeWindow", "10 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(12, QtGui.QApplication.translate("ScopeWindow", "5 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(13, QtGui.QApplication.translate("ScopeWindow", "2 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_sample_rate_txt.addItem(_fromUtf8(""))
        self.param_sample_rate_txt.setItemText(14, QtGui.QApplication.translate("ScopeWindow", "1 kHz", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.param_sample_rate_txt)
        self.label_4 = QtGui.QLabel(self.ClockSettings)
        self.label_4.setText(QtGui.QApplication.translate("ScopeWindow", "Clock Source", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4)
        self.param_clock_source = QtGui.QComboBox(self.ClockSettings)
        self.param_clock_source.setObjectName(_fromUtf8("param_clock_source"))
        self.param_clock_source.addItem(_fromUtf8(""))
        self.param_clock_source.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "internal", None, QtGui.QApplication.UnicodeUTF8))
        self.param_clock_source.addItem(_fromUtf8(""))
        self.param_clock_source.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "reference", None, QtGui.QApplication.UnicodeUTF8))
        self.param_clock_source.addItem(_fromUtf8(""))
        self.param_clock_source.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "60 MHz", None, QtGui.QApplication.UnicodeUTF8))
        self.param_clock_source.addItem(_fromUtf8(""))
        self.param_clock_source.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "1 GHz", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.param_clock_source)
        self.label_5 = QtGui.QLabel(self.ClockSettings)
        self.label_5.setText(QtGui.QApplication.translate("ScopeWindow", "Clock Edge", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_5)
        self.param_clock_edge = QtGui.QComboBox(self.ClockSettings)
        self.param_clock_edge.setObjectName(_fromUtf8("param_clock_edge"))
        self.param_clock_edge.addItem(_fromUtf8(""))
        self.param_clock_edge.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "rising", None, QtGui.QApplication.UnicodeUTF8))
        self.param_clock_edge.addItem(_fromUtf8(""))
        self.param_clock_edge.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "falling", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.param_clock_edge)
        self.label_10 = QtGui.QLabel(self.ClockSettings)
        self.label_10.setText(QtGui.QApplication.translate("ScopeWindow", "Timeout", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_10)
        self.param_timeout = QtGui.QSpinBox(self.ClockSettings)
        self.param_timeout.setMaximum(1000000000)
        self.param_timeout.setProperty("value", 5000)
        self.param_timeout.setObjectName(_fromUtf8("param_timeout"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.param_timeout)
        self.verticalLayout.addLayout(self.formLayout_2)
        self.verticalLayout_5.addWidget(self.ClockSettings)
        self.TriggerSettings = QtGui.QGroupBox(self.ScopeSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.TriggerSettings.sizePolicy().hasHeightForWidth())
        self.TriggerSettings.setSizePolicy(sizePolicy)
        self.TriggerSettings.setTitle(QtGui.QApplication.translate("ScopeWindow", "Trigger Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.TriggerSettings.setObjectName(_fromUtf8("TriggerSettings"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.TriggerSettings)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.formLayout_3 = QtGui.QFormLayout()
        self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.label_7 = QtGui.QLabel(self.TriggerSettings)
        self.label_7.setText(QtGui.QApplication.translate("ScopeWindow", "Source 1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_7)
        self.param_trigger_source1 = QtGui.QComboBox(self.TriggerSettings)
        self.param_trigger_source1.setObjectName(_fromUtf8("param_trigger_source1"))
        self.param_trigger_source1.addItem(_fromUtf8(""))
        self.param_trigger_source1.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "CH_A", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_source1.addItem(_fromUtf8(""))
        self.param_trigger_source1.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "CH_B", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_source1.addItem(_fromUtf8(""))
        self.param_trigger_source1.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "external", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_source1.addItem(_fromUtf8(""))
        self.param_trigger_source1.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "disabled", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.param_trigger_source1)
        self.param_trigger_edge1 = QtGui.QComboBox(self.TriggerSettings)
        self.param_trigger_edge1.setObjectName(_fromUtf8("param_trigger_edge1"))
        self.param_trigger_edge1.addItem(_fromUtf8(""))
        self.param_trigger_edge1.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "rising", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_edge1.addItem(_fromUtf8(""))
        self.param_trigger_edge1.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "falling", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.param_trigger_edge1)
        self.label_9 = QtGui.QLabel(self.TriggerSettings)
        self.label_9.setText(QtGui.QApplication.translate("ScopeWindow", "Level 1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_9)
        self.param_trigger_level1 = QtGui.QDoubleSpinBox(self.TriggerSettings)
        self.param_trigger_level1.setProperty("value", 1.0)
        self.param_trigger_level1.setObjectName(_fromUtf8("param_trigger_level1"))
        self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.param_trigger_level1)
        self.label_11 = QtGui.QLabel(self.TriggerSettings)
        self.label_11.setText(QtGui.QApplication.translate("ScopeWindow", "Coupling", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_11)
        self.param_trigger_coupling = QtGui.QComboBox(self.TriggerSettings)
        self.param_trigger_coupling.setObjectName(_fromUtf8("param_trigger_coupling"))
        self.param_trigger_coupling.addItem(_fromUtf8(""))
        self.param_trigger_coupling.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "DC", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_coupling.addItem(_fromUtf8(""))
        self.param_trigger_coupling.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "AC", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.param_trigger_coupling)
        self.label_8 = QtGui.QLabel(self.TriggerSettings)
        self.label_8.setText(QtGui.QApplication.translate("ScopeWindow", "Edge 1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_8)
        self.horizontalLayout.addLayout(self.formLayout_3)
        self.formLayout_4 = QtGui.QFormLayout()
        self.formLayout_4.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_4.setObjectName(_fromUtf8("formLayout_4"))
        self.label_12 = QtGui.QLabel(self.TriggerSettings)
        self.label_12.setText(QtGui.QApplication.translate("ScopeWindow", "Source 2", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_12)
        self.param_trigger_source2 = QtGui.QComboBox(self.TriggerSettings)
        self.param_trigger_source2.setObjectName(_fromUtf8("param_trigger_source2"))
        self.param_trigger_source2.addItem(_fromUtf8(""))
        self.param_trigger_source2.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "CH_A", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_source2.addItem(_fromUtf8(""))
        self.param_trigger_source2.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "CH_B", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_source2.addItem(_fromUtf8(""))
        self.param_trigger_source2.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "external", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_source2.addItem(_fromUtf8(""))
        self.param_trigger_source2.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "disabled", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.param_trigger_source2)
        self.param_trigger_edge2 = QtGui.QComboBox(self.TriggerSettings)
        self.param_trigger_edge2.setObjectName(_fromUtf8("param_trigger_edge2"))
        self.param_trigger_edge2.addItem(_fromUtf8(""))
        self.param_trigger_edge2.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "rising", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_edge2.addItem(_fromUtf8(""))
        self.param_trigger_edge2.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "falling", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.param_trigger_edge2)
        self.label_13 = QtGui.QLabel(self.TriggerSettings)
        self.label_13.setText(QtGui.QApplication.translate("ScopeWindow", "Level 2", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_13)
        self.param_trigger_level2 = QtGui.QDoubleSpinBox(self.TriggerSettings)
        self.param_trigger_level2.setProperty("value", 1.0)
        self.param_trigger_level2.setObjectName(_fromUtf8("param_trigger_level2"))
        self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.param_trigger_level2)
        self.label_14 = QtGui.QLabel(self.TriggerSettings)
        self.label_14.setText(QtGui.QApplication.translate("ScopeWindow", "Operation", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_14)
        self.label_15 = QtGui.QLabel(self.TriggerSettings)
        self.label_15.setText(QtGui.QApplication.translate("ScopeWindow", "Edge 2", None, QtGui.QApplication.UnicodeUTF8))
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_15)
        self.param_trigger_operation = QtGui.QComboBox(self.TriggerSettings)
        self.param_trigger_operation.setObjectName(_fromUtf8("param_trigger_operation"))
        self.param_trigger_operation.addItem(_fromUtf8(""))
        self.param_trigger_operation.setItemText(0, QtGui.QApplication.translate("ScopeWindow", "or", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_operation.addItem(_fromUtf8(""))
        self.param_trigger_operation.setItemText(1, QtGui.QApplication.translate("ScopeWindow", "and", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_operation.addItem(_fromUtf8(""))
        self.param_trigger_operation.setItemText(2, QtGui.QApplication.translate("ScopeWindow", "xor", None, QtGui.QApplication.UnicodeUTF8))
        self.param_trigger_operation.addItem(_fromUtf8(""))
        self.param_trigger_operation.setItemText(3, QtGui.QApplication.translate("ScopeWindow", "and not", None, QtGui.QApplication.UnicodeUTF8))
        self.formLayout_4.setWidget(3, QtGui.QFormLayout.FieldRole, self.param_trigger_operation)
        self.horizontalLayout.addLayout(self.formLayout_4)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.verticalLayout_5.addWidget(self.TriggerSettings)
        self.applyButton = QtGui.QPushButton(self.ScopeSettings)
        self.applyButton.setText(QtGui.QApplication.translate("ScopeWindow", "Apply Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.applyButton.setObjectName(_fromUtf8("applyButton"))
        self.verticalLayout_5.addWidget(self.applyButton)
        self.message_box = QtGui.QTextEdit(self.ScopeSettings)
        self.message_box.setObjectName(_fromUtf8("message_box"))
        self.verticalLayout_5.addWidget(self.message_box)
        self.sweepButton = QtGui.QPushButton(self.ScopeSettings)
        self.sweepButton.setText(QtGui.QApplication.translate("ScopeWindow", "Sweep", None, QtGui.QApplication.UnicodeUTF8))
        self.sweepButton.setObjectName(_fromUtf8("sweepButton"))
        self.verticalLayout_5.addWidget(self.sweepButton)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem)
        self.horizontalLayout_5.addWidget(self.ScopeSettings)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.datapathButton = QtGui.QPushButton(self.centralwidget)
        self.datapathButton.setText(QtGui.QApplication.translate("ScopeWindow", "Datapath", None, QtGui.QApplication.UnicodeUTF8))
        self.datapathButton.setObjectName(_fromUtf8("datapathButton"))
        self.horizontalLayout_3.addWidget(self.datapathButton)
        self.param_datapath = QtGui.QLineEdit(self.centralwidget)
        self.param_datapath.setObjectName(_fromUtf8("param_datapath"))
        self.horizontalLayout_3.addWidget(self.param_datapath)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.label_20 = QtGui.QLabel(self.centralwidget)
        self.label_20.setText(QtGui.QApplication.translate("ScopeWindow", "File Prefix", None, QtGui.QApplication.UnicodeUTF8))
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.horizontalLayout_6.addWidget(self.label_20)
        self.filenumberLabel = QtGui.QLabel(self.centralwidget)
        self.filenumberLabel.setText(QtGui.QApplication.translate("ScopeWindow", "000_", None, QtGui.QApplication.UnicodeUTF8))
        self.filenumberLabel.setObjectName(_fromUtf8("filenumberLabel"))
        self.horizontalLayout_6.addWidget(self.filenumberLabel)
        self.param_prefix = QtGui.QLineEdit(self.centralwidget)
        self.param_prefix.setText(QtGui.QApplication.translate("ScopeWindow", "trace", None, QtGui.QApplication.UnicodeUTF8))
        self.param_prefix.setObjectName(_fromUtf8("param_prefix"))
        self.horizontalLayout_6.addWidget(self.param_prefix)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.runButton = QtGui.QPushButton(self.centralwidget)
        self.runButton.setText(QtGui.QApplication.translate("ScopeWindow", "Run", None, QtGui.QApplication.UnicodeUTF8))
        self.runButton.setObjectName(_fromUtf8("runButton"))
        self.horizontalLayout_4.addWidget(self.runButton)
        self.stopButton = QtGui.QPushButton(self.centralwidget)
        self.stopButton.setText(QtGui.QApplication.translate("ScopeWindow", "Stop", None, QtGui.QApplication.UnicodeUTF8))
        self.stopButton.setObjectName(_fromUtf8("stopButton"))
        self.horizontalLayout_4.addWidget(self.stopButton)
        self.saveButton = QtGui.QPushButton(self.centralwidget)
        self.saveButton.setText(QtGui.QApplication.translate("ScopeWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.saveButton.setObjectName(_fromUtf8("saveButton"))
        self.horizontalLayout_4.addWidget(self.saveButton)
        self.autosaveCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.autosaveCheckBox.setText(QtGui.QApplication.translate("ScopeWindow", "autosave", None, QtGui.QApplication.UnicodeUTF8))
        self.autosaveCheckBox.setObjectName(_fromUtf8("autosaveCheckBox"))
        self.horizontalLayout_4.addWidget(self.autosaveCheckBox)
        self.param_autorun = QtGui.QCheckBox(self.centralwidget)
        self.param_autorun.setText(QtGui.QApplication.translate("ScopeWindow", "autorun", None, QtGui.QApplication.UnicodeUTF8))
        self.param_autorun.setChecked(True)
        self.param_autorun.setObjectName(_fromUtf8("param_autorun"))
        self.horizontalLayout_4.addWidget(self.param_autorun)
        self.param_x_autoscale = QtGui.QCheckBox(self.centralwidget)
        self.param_x_autoscale.setEnabled(False)
        self.param_x_autoscale.setText(QtGui.QApplication.translate("ScopeWindow", "autoscale X", None, QtGui.QApplication.UnicodeUTF8))
        self.param_x_autoscale.setChecked(True)
        self.param_x_autoscale.setObjectName(_fromUtf8("param_x_autoscale"))
        self.horizontalLayout_4.addWidget(self.param_x_autoscale)
        self.param_y_autoscale = QtGui.QCheckBox(self.centralwidget)
        self.param_y_autoscale.setEnabled(False)
        self.param_y_autoscale.setText(QtGui.QApplication.translate("ScopeWindow", "autoscale Y", None, QtGui.QApplication.UnicodeUTF8))
        self.param_y_autoscale.setChecked(True)
        self.param_y_autoscale.setObjectName(_fromUtf8("param_y_autoscale"))
        self.horizontalLayout_4.addWidget(self.param_y_autoscale)
        self.param_autoscale = QtGui.QCheckBox(self.centralwidget)
        self.param_autoscale.setText(QtGui.QApplication.translate("ScopeWindow", "autoscale", None, QtGui.QApplication.UnicodeUTF8))
        self.param_autoscale.setChecked(True)
        self.param_autoscale.setObjectName(_fromUtf8("param_autoscale"))
        self.horizontalLayout_4.addWidget(self.param_autoscale)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.verticalLayout_2.addWidget(self.curvewidget)
        self.horizontalLayout_5.addLayout(self.verticalLayout_2)
        ScopeWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(ScopeWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1107, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setTitle(QtGui.QApplication.translate("ScopeWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuSave = QtGui.QMenu(self.menuFile)
        self.menuSave.setTitle(QtGui.QApplication.translate("ScopeWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.menuSave.setObjectName(_fromUtf8("menuSave"))
        self.menuSweep = QtGui.QMenu(self.menubar)
        self.menuSweep.setTitle(QtGui.QApplication.translate("ScopeWindow", "Sweep", None, QtGui.QApplication.UnicodeUTF8))
        self.menuSweep.setObjectName(_fromUtf8("menuSweep"))
        ScopeWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(ScopeWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        ScopeWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(ScopeWindow)
        self.toolBar.setWindowTitle(QtGui.QApplication.translate("ScopeWindow", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        ScopeWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
        self.actionLoad = QtGui.QAction(ScopeWindow)
        self.actionLoad.setText(QtGui.QApplication.translate("ScopeWindow", "Load", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLoad.setObjectName(_fromUtf8("actionLoad"))
        self.actionExperimental_Settings = QtGui.QAction(ScopeWindow)
        self.actionExperimental_Settings.setText(QtGui.QApplication.translate("ScopeWindow", "Experimental Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExperimental_Settings.setObjectName(_fromUtf8("actionExperimental_Settings"))
        self.actionExperimental_and_Instrument_Settings = QtGui.QAction(ScopeWindow)
        self.actionExperimental_and_Instrument_Settings.setText(QtGui.QApplication.translate("ScopeWindow", "Experimental and Instrument Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExperimental_and_Instrument_Settings.setObjectName(_fromUtf8("actionExperimental_and_Instrument_Settings"))
        self.actionStart_Sweep = QtGui.QAction(ScopeWindow)
        self.actionStart_Sweep.setText(QtGui.QApplication.translate("ScopeWindow", "Start Sweep", None, QtGui.QApplication.UnicodeUTF8))
        self.actionStart_Sweep.setObjectName(_fromUtf8("actionStart_Sweep"))
        self.menuSave.addAction(self.actionExperimental_Settings)
        self.menuSave.addAction(self.actionExperimental_and_Instrument_Settings)
        self.menuFile.addAction(self.menuSave.menuAction())
        self.menuFile.addAction(self.actionLoad)
        self.menuSweep.addAction(self.actionStart_Sweep)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuSweep.menuAction())

        self.retranslateUi(ScopeWindow)
        self.param_trigger_source1.setCurrentIndex(2)
        self.param_trigger_source2.setCurrentIndex(3)
        QtCore.QMetaObject.connectSlotsByName(ScopeWindow)

    def retranslateUi(self, ScopeWindow):
        pass
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setEnabled(True)
        MainWindow.resize(912, 824)
        MainWindow.setTabShape(QtGui.QTabWidget.Rounded)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.verticalLayout_3.setContentsMargins(-1, 9, -1, -1)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.curvewidget = CurveWidget(self.centralwidget)
        self.curvewidget.setFrameShadow(QtGui.QFrame.Sunken)
        self.curvewidget.setOrientation(QtCore.Qt.Horizontal)
        self.curvewidget.setObjectName(_fromUtf8("curvewidget"))
        self.verticalLayout_3.addWidget(self.curvewidget)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.Slider = Qwt5.QwtSlider(self.centralwidget)
        self.Slider.setReadOnly(False)
        self.Slider.setScalePosition(Qwt5.QwtSlider.NoScale)
        self.Slider.setBgStyle(Qwt5.QwtSlider.BgSlot)
        self.Slider.setObjectName(_fromUtf8("Slider"))
        self.horizontalLayout_5.addWidget(self.Slider)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.line_10 = QtGui.QFrame(self.centralwidget)
        self.line_10.setFrameShape(QtGui.QFrame.HLine)
        self.line_10.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_10.setObjectName(_fromUtf8("line_10"))
        self.verticalLayout_3.addWidget(self.line_10)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout_7 = QtGui.QVBoxLayout()
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.plottingIntervalDial = QtGui.QDial(self.centralwidget)
        self.plottingIntervalDial.setMinimum(100)
        self.plottingIntervalDial.setMaximum(5000)
        self.plottingIntervalDial.setSingleStep(100)
        self.plottingIntervalDial.setPageStep(100)
        self.plottingIntervalDial.setProperty("value", 1000)
        self.plottingIntervalDial.setOrientation(QtCore.Qt.Horizontal)
        self.plottingIntervalDial.setInvertedAppearance(False)
        self.plottingIntervalDial.setInvertedControls(False)
        self.plottingIntervalDial.setWrapping(False)
        self.plottingIntervalDial.setNotchTarget(10.0)
        self.plottingIntervalDial.setNotchesVisible(True)
        self.plottingIntervalDial.setObjectName(_fromUtf8("plottingIntervalDial"))
        self.verticalLayout_7.addWidget(self.plottingIntervalDial)
        self.plottingIntervalLabel = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.plottingIntervalLabel.setFont(font)
        self.plottingIntervalLabel.setObjectName(_fromUtf8("plottingIntervalLabel"))
        self.verticalLayout_7.addWidget(self.plottingIntervalLabel)
        self.sampleIntervalDial = QtGui.QDial(self.centralwidget)
        self.sampleIntervalDial.setMinimum(100)
        self.sampleIntervalDial.setMaximum(1000)
        self.sampleIntervalDial.setSingleStep(100)
        self.sampleIntervalDial.setPageStep(100)
        self.sampleIntervalDial.setProperty("value", 500)
        self.sampleIntervalDial.setWrapping(False)
        self.sampleIntervalDial.setNotchTarget(10.0)
        self.sampleIntervalDial.setNotchesVisible(True)
        self.sampleIntervalDial.setObjectName(_fromUtf8("sampleIntervalDial"))
        self.verticalLayout_7.addWidget(self.sampleIntervalDial)
        self.sampleIntervalLabel = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.sampleIntervalLabel.setFont(font)
        self.sampleIntervalLabel.setObjectName(_fromUtf8("sampleIntervalLabel"))
        self.verticalLayout_7.addWidget(self.sampleIntervalLabel)
        self.verticalLayout_7.setStretch(0, 1)
        self.horizontalLayout.addLayout(self.verticalLayout_7)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.horizontalLayout.addWidget(self.line)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.line_4 = QtGui.QFrame(self.centralwidget)
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.verticalLayout_4.addWidget(self.line_4)
        self.timerStatusLabel = QtGui.QLabel(self.centralwidget)
        self.timerStatusLabel.setObjectName(_fromUtf8("timerStatusLabel"))
        self.verticalLayout_4.addWidget(self.timerStatusLabel)
        self.line_8 = QtGui.QFrame(self.centralwidget)
        self.line_8.setFrameShape(QtGui.QFrame.HLine)
        self.line_8.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_8.setObjectName(_fromUtf8("line_8"))
        self.verticalLayout_4.addWidget(self.line_8)
        self.timeLabel = QtGui.QLabel(self.centralwidget)
        self.timeLabel.setFrameShape(QtGui.QFrame.NoFrame)
        self.timeLabel.setFrameShadow(QtGui.QFrame.Sunken)
        self.timeLabel.setLineWidth(1)
        self.timeLabel.setObjectName(_fromUtf8("timeLabel"))
        self.verticalLayout_4.addWidget(self.timeLabel)
        self.line_5 = QtGui.QFrame(self.centralwidget)
        self.line_5.setFrameShape(QtGui.QFrame.HLine)
        self.line_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_5.setObjectName(_fromUtf8("line_5"))
        self.verticalLayout_4.addWidget(self.line_5)
        self.svLabel = QtGui.QLabel(self.centralwidget)
        self.svLabel.setFrameShape(QtGui.QFrame.NoFrame)
        self.svLabel.setObjectName(_fromUtf8("svLabel"))
        self.verticalLayout_4.addWidget(self.svLabel)
        self.line_7 = QtGui.QFrame(self.centralwidget)
        self.line_7.setFrameShape(QtGui.QFrame.HLine)
        self.line_7.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_7.setObjectName(_fromUtf8("line_7"))
        self.verticalLayout_4.addWidget(self.line_7)
        self.pvLabel = QtGui.QLabel(self.centralwidget)
        self.pvLabel.setObjectName(_fromUtf8("pvLabel"))
        self.verticalLayout_4.addWidget(self.pvLabel)
        self.line_3 = QtGui.QFrame(self.centralwidget)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.verticalLayout_4.addWidget(self.line_3)
        self.label_3 = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_4.addWidget(self.label_3)
        self.startButton = QtGui.QPushButton(self.centralwidget)
        self.startButton.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/gtk-media-play-ltr.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.startButton.setIcon(icon)
        self.startButton.setObjectName(_fromUtf8("startButton"))
        self.verticalLayout_4.addWidget(self.startButton)
        self.resetButton = QtGui.QPushButton(self.centralwidget)
        self.resetButton.setEnabled(False)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/editdelete.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.resetButton.setIcon(icon1)
        self.resetButton.setObjectName(_fromUtf8("resetButton"))
        self.verticalLayout_4.addWidget(self.resetButton)
        self.stopButton = QtGui.QPushButton(self.centralwidget)
        self.stopButton.setEnabled(False)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/gtk-media-stop.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.stopButton.setIcon(icon2)
        self.stopButton.setObjectName(_fromUtf8("stopButton"))
        self.verticalLayout_4.addWidget(self.stopButton)
        self.horizontalLayout.addLayout(self.verticalLayout_4)
        self.line_9 = QtGui.QFrame(self.centralwidget)
        self.line_9.setFrameShape(QtGui.QFrame.VLine)
        self.line_9.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_9.setObjectName(_fromUtf8("line_9"))
        self.horizontalLayout.addWidget(self.line_9)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.svVerticalSlider = QtGui.QSlider(self.centralwidget)
        self.svVerticalSlider.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.svVerticalSlider.setMaximum(9999)
        self.svVerticalSlider.setOrientation(QtCore.Qt.Vertical)
        self.svVerticalSlider.setObjectName(_fromUtf8("svVerticalSlider"))
        self.verticalLayout_5.addWidget(self.svVerticalSlider)
        self.SvLcdNumber = QtGui.QLCDNumber(self.centralwidget)
        self.SvLcdNumber.setEnabled(True)
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.SvLcdNumber.setFont(font)
        self.SvLcdNumber.setSmallDecimalPoint(False)
        self.SvLcdNumber.setNumDigits(5)
        self.SvLcdNumber.setProperty("value", 999.9)
        self.SvLcdNumber.setObjectName(_fromUtf8("SvLcdNumber"))
        self.verticalLayout_5.addWidget(self.SvLcdNumber)
        self.setSvButton = QtGui.QPushButton(self.centralwidget)
        self.setSvButton.setEnabled(False)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/1uparrow.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.setSvButton.setIcon(icon3)
        self.setSvButton.setObjectName(_fromUtf8("setSvButton"))
        self.verticalLayout_5.addWidget(self.setSvButton)
        self.horizontalLayout.addLayout(self.verticalLayout_5)
        self.line_2 = QtGui.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.horizontalLayout.addWidget(self.line_2)
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setStatusTip(_fromUtf8(""))
        self.tabWidget.setIconSize(QtCore.QSize(24, 24))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.connectionTab_2 = QtGui.QWidget()
        self.connectionTab_2.setObjectName(_fromUtf8("connectionTab_2"))
        self.verticalLayout_11 = QtGui.QVBoxLayout(self.connectionTab_2)
        self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11"))
        self.portComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.portComboBox.setObjectName(_fromUtf8("portComboBox"))
        self.verticalLayout_11.addWidget(self.portComboBox)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.timoutDoubleSpinBox = QtGui.QDoubleSpinBox(self.connectionTab_2)
        self.timoutDoubleSpinBox.setDecimals(1)
        self.timoutDoubleSpinBox.setMaximum(1.0)
        self.timoutDoubleSpinBox.setProperty("value", 0.1)
        self.timoutDoubleSpinBox.setObjectName(_fromUtf8("timoutDoubleSpinBox"))
        self.gridLayout_3.addWidget(self.timoutDoubleSpinBox, 0, 3, 1, 1)
        self.stopBitsComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.stopBitsComboBox.setObjectName(_fromUtf8("stopBitsComboBox"))
        self.stopBitsComboBox.addItem(_fromUtf8(""))
        self.stopBitsComboBox.addItem(_fromUtf8(""))
        self.stopBitsComboBox.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.stopBitsComboBox, 1, 1, 1, 1)
        self.label_14 = QtGui.QLabel(self.connectionTab_2)
        self.label_14.setWordWrap(False)
        self.label_14.setMargin(0)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout_3.addWidget(self.label_14, 3, 0, 1, 1)
        self.baudComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.baudComboBox.setObjectName(_fromUtf8("baudComboBox"))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.baudComboBox.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.baudComboBox, 0, 1, 1, 1)
        self.label_13 = QtGui.QLabel(self.connectionTab_2)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_3.addWidget(self.label_13, 1, 0, 1, 1)
        self.label_15 = QtGui.QLabel(self.connectionTab_2)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.gridLayout_3.addWidget(self.label_15, 1, 2, 1, 1)
        self.ParityComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.ParityComboBox.setObjectName(_fromUtf8("ParityComboBox"))
        self.ParityComboBox.addItem(_fromUtf8(""))
        self.ParityComboBox.addItem(_fromUtf8(""))
        self.ParityComboBox.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.ParityComboBox, 3, 1, 1, 1)
        self.dataBitsComboBox = QtGui.QComboBox(self.connectionTab_2)
        self.dataBitsComboBox.setObjectName(_fromUtf8("dataBitsComboBox"))
        self.dataBitsComboBox.addItem(_fromUtf8(""))
        self.dataBitsComboBox.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.dataBitsComboBox, 1, 3, 1, 1)
        self.label_16 = QtGui.QLabel(self.connectionTab_2)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.gridLayout_3.addWidget(self.label_16, 0, 2, 1, 1)
        self.connectButton = QtGui.QPushButton(self.connectionTab_2)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(165, 240, 156))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(165, 240, 156))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(165, 240, 156))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.connectButton.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(True)
        font.setWeight(75)
        self.connectButton.setFont(font)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/tool_logwindow.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.connectButton.setIcon(icon4)
        self.connectButton.setFlat(False)
        self.connectButton.setObjectName(_fromUtf8("connectButton"))
        self.gridLayout_3.addWidget(self.connectButton, 3, 2, 1, 1)
        self.disconnectButton = QtGui.QPushButton(self.connectionTab_2)
        self.disconnectButton.setEnabled(False)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.disconnectButton.setFont(font)
        self.disconnectButton.setIcon(icon1)
        self.disconnectButton.setObjectName(_fromUtf8("disconnectButton"))
        self.gridLayout_3.addWidget(self.disconnectButton, 3, 3, 1, 1)
        self.verticalLayout_11.addLayout(self.gridLayout_3)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/USBcable.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.connectionTab_2, icon5, _fromUtf8(""))
        self.tab_5 = QtGui.QWidget()
        self.tab_5.setObjectName(_fromUtf8("tab_5"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tab_5)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.tab_5)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.pvLcdNumber = QtGui.QLCDNumber(self.tab_5)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(231, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(231, 0, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        self.pvLcdNumber.setPalette(palette)
        self.pvLcdNumber.setSmallDecimalPoint(False)
        self.pvLcdNumber.setDigitCount(5)
        self.pvLcdNumber.setProperty("value", 999.9)
        self.pvLcdNumber.setObjectName(_fromUtf8("pvLcdNumber"))
        self.verticalLayout.addWidget(self.pvLcdNumber)
        self.getPvButton = QtGui.QPushButton(self.tab_5)
        self.getPvButton.setEnabled(False)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/1downarrow.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.getPvButton.setIcon(icon6)
        self.getPvButton.setObjectName(_fromUtf8("getPvButton"))
        self.verticalLayout.addWidget(self.getPvButton)
        self.verticalLayout.setStretch(1, 1)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_2 = QtGui.QLabel(self.tab_5)
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.svLcdNumber = QtGui.QLCDNumber(self.tab_5)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(0, 222, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(0, 222, 0))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.WindowText, brush)
        brush = QtGui.QBrush(QtGui.QColor(120, 120, 120))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.WindowText, brush)
        self.svLcdNumber.setPalette(palette)
        self.svLcdNumber.setSmallDecimalPoint(False)
        self.svLcdNumber.setProperty("value", 999.9)
        self.svLcdNumber.setObjectName(_fromUtf8("svLcdNumber"))
        self.verticalLayout_2.addWidget(self.svLcdNumber)
        self.getSvButton = QtGui.QPushButton(self.tab_5)
        self.getSvButton.setEnabled(False)
        self.getSvButton.setIcon(icon6)
        self.getSvButton.setObjectName(_fromUtf8("getSvButton"))
        self.verticalLayout_2.addWidget(self.getSvButton)
        self.verticalLayout_2.setStretch(1, 1)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/Analyzeloop.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab_5, icon7, _fromUtf8(""))
        self.monitorTab_2 = QtGui.QWidget()
        self.monitorTab_2.setObjectName(_fromUtf8("monitorTab_2"))
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.monitorTab_2)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.dataTextEdit = QtGui.QTextEdit(self.monitorTab_2)
        self.dataTextEdit.setEnabled(True)
        self.dataTextEdit.setObjectName(_fromUtf8("dataTextEdit"))
        self.verticalLayout_8.addWidget(self.dataTextEdit)
        self.monitorScrollCheckBox = QtGui.QCheckBox(self.monitorTab_2)
        self.monitorScrollCheckBox.setChecked(True)
        self.monitorScrollCheckBox.setObjectName(_fromUtf8("monitorScrollCheckBox"))
        self.verticalLayout_8.addWidget(self.monitorScrollCheckBox)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/Bill.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.monitorTab_2, icon8, _fromUtf8(""))
        self.dataTab_2 = QtGui.QWidget()
        self.dataTab_2.setObjectName(_fromUtf8("dataTab_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.dataTab_2)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.DaqTableWidget = QtGui.QTableWidget(self.dataTab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.DaqTableWidget.sizePolicy().hasHeightForWidth())
        self.DaqTableWidget.setSizePolicy(sizePolicy)
        self.DaqTableWidget.setMinimumSize(QtCore.QSize(0, 0))
        self.DaqTableWidget.setMidLineWidth(1)
        self.DaqTableWidget.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
        self.DaqTableWidget.setAlternatingRowColors(True)
        self.DaqTableWidget.setObjectName(_fromUtf8("DaqTableWidget"))
        self.DaqTableWidget.setColumnCount(6)
        self.DaqTableWidget.setRowCount(1)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        item.setFont(font)
        self.DaqTableWidget.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 0, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 1, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 2, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 3, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 4, item)
        item = QtGui.QTableWidgetItem()
        self.DaqTableWidget.setItem(0, 5, item)
        self.DaqTableWidget.horizontalHeader().setCascadingSectionResizes(False)
        self.DaqTableWidget.horizontalHeader().setMinimumSectionSize(25)
        self.DaqTableWidget.horizontalHeader().setStretchLastSection(False)
        self.DaqTableWidget.verticalHeader().setVisible(False)
        self.DaqTableWidget.verticalHeader().setDefaultSectionSize(20)
        self.verticalLayout_6.addWidget(self.DaqTableWidget)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.daqScrollCheckBox = QtGui.QCheckBox(self.dataTab_2)
        self.daqScrollCheckBox.setChecked(True)
        self.daqScrollCheckBox.setObjectName(_fromUtf8("daqScrollCheckBox"))
        self.horizontalLayout_4.addWidget(self.daqScrollCheckBox)
        self.daqSamplesTakenLabel = QtGui.QLabel(self.dataTab_2)
        self.daqSamplesTakenLabel.setObjectName(_fromUtf8("daqSamplesTakenLabel"))
        self.horizontalLayout_4.addWidget(self.daqSamplesTakenLabel)
        self.clearDaqButton = QtGui.QPushButton(self.dataTab_2)
        self.clearDaqButton.setStatusTip(_fromUtf8(""))
        self.clearDaqButton.setObjectName(_fromUtf8("clearDaqButton"))
        self.horizontalLayout_4.addWidget(self.clearDaqButton)
        self.verticalLayout_6.addLayout(self.horizontalLayout_4)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/Research.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.dataTab_2, icon9, _fromUtf8(""))
        self.modbusTab_2 = QtGui.QWidget()
        self.modbusTab_2.setObjectName(_fromUtf8("modbusTab_2"))
        self.verticalLayout_13 = QtGui.QVBoxLayout(self.modbusTab_2)
        self.verticalLayout_13.setObjectName(_fromUtf8("verticalLayout_13"))
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_4 = QtGui.QLabel(self.modbusTab_2)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4)
        self.label_17 = QtGui.QLabel(self.modbusTab_2)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_17)
        self.PvReadSpinBox = QtGui.QSpinBox(self.modbusTab_2)
        self.PvReadSpinBox.setMaximum(10000)
        self.PvReadSpinBox.setProperty("value", 4096)
        self.PvReadSpinBox.setObjectName(_fromUtf8("PvReadSpinBox"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.PvReadSpinBox)
        self.label_18 = QtGui.QLabel(self.modbusTab_2)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_18)
        self.SvReadSpinBox = QtGui.QSpinBox(self.modbusTab_2)
        self.SvReadSpinBox.setMaximum(10000)
        self.SvReadSpinBox.setProperty("value", 4097)
        self.SvReadSpinBox.setObjectName(_fromUtf8("SvReadSpinBox"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.SvReadSpinBox)
        self.label_19 = QtGui.QLabel(self.modbusTab_2)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_19)
        self.PvWriteSpinBox = QtGui.QSpinBox(self.modbusTab_2)
        self.PvWriteSpinBox.setMaximum(10000)
        self.PvWriteSpinBox.setProperty("value", 4096)
        self.PvWriteSpinBox.setObjectName(_fromUtf8("PvWriteSpinBox"))
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole, self.PvWriteSpinBox)
        self.label_20 = QtGui.QLabel(self.modbusTab_2)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_20)
        self.SvWriteSpinBox = QtGui.QSpinBox(self.modbusTab_2)
        self.SvWriteSpinBox.setMaximum(10000)
        self.SvWriteSpinBox.setProperty("value", 4097)
        self.SvWriteSpinBox.setObjectName(_fromUtf8("SvWriteSpinBox"))
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.FieldRole, self.SvWriteSpinBox)
        self.label_5 = QtGui.QLabel(self.modbusTab_2)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_5)
        self.verticalLayout_13.addLayout(self.formLayout_2)
        icon10 = QtGui.QIcon()
        icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/PCboard.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.modbusTab_2, icon10, _fromUtf8(""))
        self.horizontalLayout.addWidget(self.tabWidget)
        self.horizontalLayout.setStretch(0, 2)
        self.horizontalLayout.setStretch(6, 7)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.verticalLayout_3.setStretch(0, 2)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 912, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.toolBar = QtGui.QToolBar(MainWindow)
        self.toolBar.setObjectName(_fromUtf8("toolBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
        self.actionExit = QtGui.QAction(MainWindow)
        icon11 = QtGui.QIcon()
        icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/application-exit.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExit.setIcon(icon11)
        self.actionExit.setObjectName(_fromUtf8("actionExit"))
        self.actionSave_Daq = QtGui.QAction(MainWindow)
        icon12 = QtGui.QIcon()
        icon12.addPixmap(QtGui.QPixmap(_fromUtf8(":/stock_save.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_Daq.setIcon(icon12)
        self.actionSave_Daq.setObjectName(_fromUtf8("actionSave_Daq"))
        self.actionReset_DAQ = QtGui.QAction(MainWindow)
        icon13 = QtGui.QIcon()
        icon13.addPixmap(QtGui.QPixmap(_fromUtf8(":/gtk-refresh.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionReset_DAQ.setIcon(icon13)
        self.actionReset_DAQ.setObjectName(_fromUtf8("actionReset_DAQ"))
        self.actionAbout = QtGui.QAction(MainWindow)
        icon14 = QtGui.QIcon()
        icon14.addPixmap(QtGui.QPixmap(_fromUtf8(":/help-about.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAbout.setIcon(icon14)
        self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
        self.actionHelp = QtGui.QAction(MainWindow)
        icon15 = QtGui.QIcon()
        icon15.addPixmap(QtGui.QPixmap(_fromUtf8(":/gnome-help.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionHelp.setIcon(icon15)
        self.actionHelp.setObjectName(_fromUtf8("actionHelp"))
        self.menuFile.addAction(self.actionSave_Daq)
        self.menuFile.addAction(self.actionReset_DAQ)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionExit)
        self.menuHelp.addAction(self.actionAbout)
        self.menuHelp.addAction(self.actionHelp)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())
        self.toolBar.addAction(self.actionReset_DAQ)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.actionSave_Daq)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.actionExit)
        self.toolBar.addSeparator()
        self.toolBar.addAction(self.actionAbout)
        self.toolBar.addAction(self.actionHelp)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(3)
        self.baudComboBox.setCurrentIndex(2)
        self.ParityComboBox.setCurrentIndex(0)
        self.dataBitsComboBox.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.plottingIntervalLabel.setText(_translate("MainWindow", "Plotting Interval: 1000", None))
        self.sampleIntervalLabel.setText(_translate("MainWindow", "Sample Interval: 100", None))
        self.timerStatusLabel.setText(_translate("MainWindow", "Status: Stopped", None))
        self.timeLabel.setText(_translate("MainWindow", "Time: 12:59:59", None))
        self.svLabel.setText(_translate("MainWindow", "SV: 999.9", None))
        self.pvLabel.setText(_translate("MainWindow", "PV: 999.9", None))
        self.label_3.setText(_translate("MainWindow", "DAQ Record", None))
        self.startButton.setStatusTip(_translate("MainWindow", "Start recording DAQ at plotting interval", None))
        self.startButton.setText(_translate("MainWindow", "Start", None))
        self.resetButton.setStatusTip(_translate("MainWindow", "Reset DAQ", None))
        self.resetButton.setText(_translate("MainWindow", "Reset", None))
        self.stopButton.setStatusTip(_translate("MainWindow", "Stop Taking DAQ data (cannot restart)", None))
        self.stopButton.setText(_translate("MainWindow", "Stop", None))
        self.svVerticalSlider.setStatusTip(_translate("MainWindow", "Value to set SV to", None))
        self.setSvButton.setStatusTip(_translate("MainWindow", "Set the SV on the Love 16B", None))
        self.setSvButton.setText(_translate("MainWindow", "Set SV", None))
        self.portComboBox.setStatusTip(_translate("MainWindow", "Com port for ModBus connection", None))
        self.stopBitsComboBox.setItemText(0, _translate("MainWindow", "1", None))
        self.stopBitsComboBox.setItemText(1, _translate("MainWindow", "1.5", None))
        self.stopBitsComboBox.setItemText(2, _translate("MainWindow", "2", None))
        self.label_14.setText(_translate("MainWindow", "Parity:", None))
        self.baudComboBox.setItemText(0, _translate("MainWindow", "9600", None))
        self.baudComboBox.setItemText(1, _translate("MainWindow", "19200", None))
        self.baudComboBox.setItemText(2, _translate("MainWindow", "38400", None))
        self.baudComboBox.setItemText(3, _translate("MainWindow", "57600", None))
        self.baudComboBox.setItemText(4, _translate("MainWindow", "115200", None))
        self.label_13.setText(_translate("MainWindow", "Stop Bits:", None))
        self.label_15.setText(_translate("MainWindow", "Data Bits:", None))
        self.ParityComboBox.setItemText(0, _translate("MainWindow", "NONE", None))
        self.ParityComboBox.setItemText(1, _translate("MainWindow", "EVEN", None))
        self.ParityComboBox.setItemText(2, _translate("MainWindow", "ODD", None))
        self.dataBitsComboBox.setItemText(0, _translate("MainWindow", "7", None))
        self.dataBitsComboBox.setItemText(1, _translate("MainWindow", "8", None))
        self.label_16.setText(_translate("MainWindow", "Modbus Timeout", None))
        self.connectButton.setText(_translate("MainWindow", "Connect Modbus", None))
        self.disconnectButton.setText(_translate("MainWindow", "Disconnect ModBus", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.connectionTab_2), _translate("MainWindow", "Connection", None))
        self.label.setText(_translate("MainWindow", "PV", None))
        self.getPvButton.setStatusTip(_translate("MainWindow", "Get PV from Love 16B", None))
        self.getPvButton.setText(_translate("MainWindow", "Get PV", None))
        self.label_2.setText(_translate("MainWindow", "SV", None))
        self.getSvButton.setStatusTip(_translate("MainWindow", "Get SV from Love 16B", None))
        self.getSvButton.setText(_translate("MainWindow", "Get SV", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Readouts", None))
        self.dataTextEdit.setStatusTip(_translate("MainWindow", "Message log...", None))
        self.dataTextEdit.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt; font-weight:600;\">Love 16B Data Monitor...</span></p></body></html>", None))
        self.monitorScrollCheckBox.setText(_translate("MainWindow", "Scroll to Bottom", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.monitorTab_2), _translate("MainWindow", "Monitor", None))
        item = self.DaqTableWidget.verticalHeaderItem(0)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.horizontalHeaderItem(0)
        item.setText(_translate("MainWindow", "Sample#", None))
        item = self.DaqTableWidget.horizontalHeaderItem(1)
        item.setText(_translate("MainWindow", "Time(H:M:S)", None))
        item = self.DaqTableWidget.horizontalHeaderItem(2)
        item.setText(_translate("MainWindow", "Datetime", None))
        item = self.DaqTableWidget.horizontalHeaderItem(3)
        item.setText(_translate("MainWindow", "Temperature", None))
        item = self.DaqTableWidget.horizontalHeaderItem(4)
        item.setText(_translate("MainWindow", "Set Point", None))
        item = self.DaqTableWidget.horizontalHeaderItem(5)
        item.setText(_translate("MainWindow", "Error", None))
        __sortingEnabled = self.DaqTableWidget.isSortingEnabled()
        self.DaqTableWidget.setSortingEnabled(False)
        item = self.DaqTableWidget.item(0, 0)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.item(0, 1)
        item.setText(_translate("MainWindow", "00:00", None))
        item = self.DaqTableWidget.item(0, 2)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.item(0, 3)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.item(0, 4)
        item.setText(_translate("MainWindow", "0", None))
        item = self.DaqTableWidget.item(0, 5)
        item.setText(_translate("MainWindow", "0", None))
        self.DaqTableWidget.setSortingEnabled(__sortingEnabled)
        self.daqScrollCheckBox.setText(_translate("MainWindow", "Scroll to Bottom", None))
        self.daqSamplesTakenLabel.setText(_translate("MainWindow", "# of Samples Taken: 00000", None))
        self.clearDaqButton.setToolTip(_translate("MainWindow", "Clear Program and Readout", None))
        self.clearDaqButton.setText(_translate("MainWindow", "Clear DAQ", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.dataTab_2), _translate("MainWindow", "DAQ Viewer", None))
        self.label_4.setText(_translate("MainWindow", "Read Registers", None))
        self.label_17.setText(_translate("MainWindow", "PV Read Register", None))
        self.label_18.setText(_translate("MainWindow", "SV Read Register", None))
        self.label_19.setText(_translate("MainWindow", "PV Write Register", None))
        self.label_20.setText(_translate("MainWindow", "SV Write Register", None))
        self.label_5.setText(_translate("MainWindow", "Write Registers", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.modbusTab_2), _translate("MainWindow", "ModBus Config", None))
        self.menuFile.setTitle(_translate("MainWindow", "File", None))
        self.menuHelp.setTitle(_translate("MainWindow", "Help", None))
        self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
        self.actionExit.setText(_translate("MainWindow", "E&xit", None))
        self.actionExit.setToolTip(_translate("MainWindow", "Exit the program", None))
        self.actionExit.setStatusTip(_translate("MainWindow", "Exit the program", None))
        self.actionExit.setShortcut(_translate("MainWindow", "Ctrl+X", None))
        self.actionSave_Daq.setText(_translate("MainWindow", "Save DAQ", None))
        self.actionSave_Daq.setToolTip(_translate("MainWindow", "Save DAQ Data", None))
        self.actionSave_Daq.setStatusTip(_translate("MainWindow", "Save DAQ Data", None))
        self.actionSave_Daq.setShortcut(_translate("MainWindow", "Ctrl+S", None))
        self.actionReset_DAQ.setText(_translate("MainWindow", "Reset DAQ", None))
        self.actionReset_DAQ.setToolTip(_translate("MainWindow", "Reset the DAQ", None))
        self.actionReset_DAQ.setStatusTip(_translate("MainWindow", "Reset the DAQ", None))
        self.actionAbout.setText(_translate("MainWindow", "About", None))
        self.actionAbout.setStatusTip(_translate("MainWindow", "About", None))
        self.actionHelp.setText(_translate("MainWindow", "Help", None))
        self.actionHelp.setStatusTip(_translate("MainWindow", "Help", None))