Changeset 11982 for trunk/FACT++/gui


Ignore:
Timestamp:
09/06/11 12:49:44 (14 years ago)
Author:
tbretz
Message:
Added possibility to set a single channel to its reference value.
Location:
trunk/FACT++/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/FACT++/gui/MainWindow.cc

    r11957 r11982  
    575575}
    576576
     577/*
    577578void MainWindow::on_fBiasRequestStatus_clicked()
    578579{
     
    580581        Dim::SendCommand("BIAS_CONTROL/REQUEST_STATUS");
    581582}
     583*/
    582584
    583585void MainWindow::on_fBiasApplyReference_clicked()
    584586{
    585587    if (!fInHandler)
    586         Dim::SendCommand("BIAS_CONTROL/SET_GAPD_REFERENCE_VOLTAGE");
     588        Dim::SendCommand("BIAS_CONTROL/SET_GLOBAL_GAPD_REFERENCE_VOLTAGE");
     589}
     590
     591void MainWindow::on_fBiasApplyReferenceCh_clicked()
     592{
     593    if (!fInHandler)
     594        Dim::SendCommand("BIAS_CONTROL/SET_CHANNEL_GAPD_REFERENCE_VOLTAGE",
     595                         uint16_t(fBiasHvBoard->value()*32+fBiasHvChannel->value()));
    587596}
    588597
  • TabularUnified trunk/FACT++/gui/MainWindow.h

    r11957 r11982  
    172172    void on_fBiasCurrentMax_valueChanged(int); // FIXME: Could be set as slot in the designer
    173173
    174     void on_fBiasRequestStatus_clicked();
     174    //void on_fBiasRequestStatus_clicked();
    175175    void on_fBiasApply_clicked();
    176176    void on_fBiasApplyGlobal_clicked();
    177177    void on_fBiasApplyReference_clicked();
     178    void on_fBiasApplyReferenceCh_clicked();
    178179    void on_fBiasSetToZero_clicked();
    179180    void on_fBiasReset_clicked();
Note: See TracChangeset for help on using the changeset viewer.