diff --git a/Gui/python/CustomizedWidget.py b/Gui/python/CustomizedWidget.py index c220bed1..601fc79a 100644 --- a/Gui/python/CustomizedWidget.py +++ b/Gui/python/CustomizedWidget.py @@ -1286,6 +1286,9 @@ def getFirmwareDescription(self): Module.getChips()[chipID].setVDDA(chipData[chipID]["VDDA"]) Module.getChips()[chipID].setVDDD(chipData[chipID]["VDDD"]) Module.getChips()[chipID].setEfuseID(chipData[chipID]["EFUSE"]) + Module.getChips()[chipID].setIREF(chipData[chipID]["IREF"]) + Module.getChips()[chipID].setVREF(str(1000 * float(chipData[chipID]["VREF"]))) + Module.getChips()[chipID].setCINJ(str(10 * float(chipData[chipID]["CINJ"]))) else: print( diff --git a/Gui/python/SimplifiedMainWidget.py b/Gui/python/SimplifiedMainWidget.py index 3425b9fb..649eaf63 100644 --- a/Gui/python/SimplifiedMainWidget.py +++ b/Gui/python/SimplifiedMainWidget.py @@ -242,11 +242,13 @@ def setupUI(self): self.TestGroup = QGroupBox() self.TestGroupLayout = QVBoxLayout() self.FunctionTestButton = QRadioButton("&Functional Test") - self.AssemblyTestButton = QRadioButton("&Assembly QC Test") + self.AssemblyTestButton1 = QRadioButton("&Assembly QC Test Part 1") + self.AssemblyTestButton2 = QRadioButton("&Assembly QC Test Part 2") self.FullPerformanceTestButton = QRadioButton("&Full Performance Test") self.FunctionTestButton.setChecked(True) self.TestGroupLayout.addWidget(self.FunctionTestButton) - self.TestGroupLayout.addWidget(self.AssemblyTestButton) + self.TestGroupLayout.addWidget(self.AssemblyTestButton1) + self.TestGroupLayout.addWidget(self.AssemblyTestButton2) self.TestGroupLayout.addWidget(self.FullPerformanceTestButton) self.TestGroup.setLayout(self.TestGroupLayout) @@ -410,10 +412,12 @@ def runNewTest(self): if self.FunctionTestButton.isChecked(): self.info = "TFPX_Functional_Test" - elif self.AssemblyTestButton.isChecked(): - self.info = "TFPX_Assembly_QC" + elif self.AssemblyTestButton1.isChecked(): + self.info = "Common_Assembly_Test_FirstPart" + elif self.AssemblyTestButton2.isChecked(): + self.info = "Common_Assembly_Test_SecondPart" elif self.FullPerformanceTestButton.isChecked(): - self.info = "TFPX_FullPerformance_Test" + self.info = "Common_FullPerformance_Test_Fast" self.runFlag = True self.RunButton.setDisabled(True) self.StopButton.setDisabled(False)