Changeset 11957 for trunk/FACT++
- Timestamp:
- 09/02/11 15:57:38 (13 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/MainWindow.cc
r11949 r11957 599 599 } 600 600 601 void MainWindow::on_fBiasDecrease_clicked() 602 { 603 if (!fInHandler) 604 Dim::SendCommand("BIAS_CONTROL/DECREASE_GLOBAL_DAC", uint16_t(fBiasOffsetDac->value())); 605 } 606 607 void MainWindow::on_fBiasIncrease_clicked() 608 { 609 if (!fInHandler) 610 Dim::SendCommand("BIAS_CONTROL/INCREASE_GLOBAL_DAC", -int16_t(fBiasOffsetDac->value())); 601 void MainWindow::on_fBiasAddOffset_clicked() 602 { 603 if (fInHandler) 604 return; 605 606 if (fBiasOffsetDac->value()<0) 607 Dim::SendCommand("BIAS_CONTROL/DECREASE_GLOBAL_DAC", uint16_t(-fBiasOffsetDac->value())); 608 else 609 Dim::SendCommand("BIAS_CONTROL/INCREASE_GLOBAL_DAC", uint16_t(fBiasOffsetDac->value())); 611 610 } 612 611 -
trunk/FACT++/gui/MainWindow.h
r11949 r11957 178 178 void on_fBiasSetToZero_clicked(); 179 179 void on_fBiasReset_clicked(); 180 void on_fBiasDecrease_clicked(); 181 void on_fBiasIncrease_clicked(); 180 void on_fBiasAddOffset_clicked(); 182 181 void on_fBiasApplyOffset_clicked(); 183 182
Note:
See TracChangeset
for help on using the changeset viewer.