Changeset 11925 for trunk/FACT++
- Timestamp:
- 08/31/11 16:53:11 (13 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/MainWindow.cc
r11883 r11925 567 567 void MainWindow::on_fBiasVoltDac_valueChanged(int val) 568 568 { 569 if (fInHandler) 570 return; 571 569 fBiasVolt->setValue(val*90/4096); 570 /* 572 571 if (fBiasApplyGlobal->isChecked()) 573 572 { … … 582 581 583 582 const uint16_t dat[2] = { ihw, uint16_t(val) }; 584 Dim::SendCommand("BIAS_CONTROL/SET_CHANNEL_DAC", dat); 583 Dim::SendCommand("BIAS_CONTROL/SET_CHANNEL_DAC", dat);*/ 585 584 } 586 585 … … 592 591 void MainWindow::on_fBiasApplyReference_clicked() 593 592 { 594 Dim::SendCommand("BIAS_CONTROL/APPLY_REFERENCE_VOLTAGE");593 // Dim::SendCommand("BIAS_CONTROL/APPLY_REFERENCE_VOLTAGE"); 595 594 } 596 595 597 596 void MainWindow::on_fBiasSetToZero_clicked() 598 597 { 599 Dim::SendCommand("BIAS_CONTROL/SET_GLOBAL_DAC", uint16_t(0));598 // Dim::SendCommand("BIAS_CONTROL/SET_GLOBAL_DAC", uint16_t(0)); 600 599 } 601 600 602 601 void MainWindow::on_fBiasReset_clicked() 603 602 { 604 Dim::SendCommand("BIAS_CONTROL/RESET"); 605 } 606 607 void MainWindow::on_fBiasMin_valueChanged(int min) 608 { 609 fBiasCam->SetMin(min); 610 } 611 612 void MainWindow::on_fBiasMax_valueChanged(int max) 613 { 614 fBiasCam->SetMax(max); 603 // Dim::SendCommand("BIAS_CONTROL/RESET"); 604 } 605 606 void MainWindow::on_fBiasVoltMin_valueChanged(int min) 607 { 608 fBiasCamV->SetMin(min); 609 } 610 611 void MainWindow::on_fBiasVoltMax_valueChanged(int max) 612 { 613 fBiasCamV->SetMax(max); 614 } 615 616 void MainWindow::on_fBiasCurrentMin_valueChanged(int min) 617 { 618 fBiasCamA->SetMin(min); 619 } 620 621 void MainWindow::on_fBiasCurrentMax_valueChanged(int max) 622 { 623 fBiasCamA->SetMax(max); 615 624 } 616 625 -
trunk/FACT++/gui/MainWindow.h
r11883 r11925 165 165 void on_fBiasVoltDac_valueChanged(int); 166 166 167 void on_fBiasMin_valueChanged(int); // FIXME: Could be set as slot in the designer 168 void on_fBiasMax_valueChanged(int); // FIXME: Could be set as slot in the designer 167 void on_fBiasVoltMin_valueChanged(int); // FIXME: Could be set as slot in the designer 168 void on_fBiasVoltMax_valueChanged(int); // FIXME: Could be set as slot in the designer 169 170 void on_fBiasCurrentMin_valueChanged(int); // FIXME: Could be set as slot in the designer 171 void on_fBiasCurrentMax_valueChanged(int); // FIXME: Could be set as slot in the designer 169 172 170 173 void on_fBiasRequestStatus_clicked(); … … 172 175 void on_fBiasSetToZero_clicked(); 173 176 void on_fBiasReset_clicked(); 177 178 virtual void on_fBiasDispRefVolt_stateChanged(int) = 0; 174 179 175 180 // Tab: Rates
Note:
See TracChangeset
for help on using the changeset viewer.