Changeset 12398 for trunk/FACT++/gui


Ignore:
Timestamp:
11/05/11 21:03:00 (13 years ago)
Author:
tbretz
Message:
Fixed so that all ROI of all ch9 are set correctly.
File:
1 edited

Legend:

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

    r12374 r12398  
    368368    Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals1);
    369369
    370     const int32_t vals2[2] = { 8,  fFadRoiCh9Cmd->value() };
    371     Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals2);
     370    for (int ch=8; ch<36; ch+=9)
     371    {
     372        const int32_t vals2[2] = { ch,  fFadRoiCh9Cmd->value() };
     373        Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals2);
     374    }
    372375}
    373376
Note: See TracChangeset for help on using the changeset viewer.