FACT++  1.0
void MainWindow::on_fFadRoiCmd_valueChanged ( int  = 0)
privateslot

Definition at line 378 of file MainWindow.cc.

References Dim::SendCommand().

Referenced by on_fFadButtonFileFormatZFits_clicked(), and on_fFadRoiCh9Cmd_valueChanged().

379 {
380  const int32_t vals1[2] = { -1, fFadRoiCmd->value() };
381  Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals1);
382 
383  for (int ch=8; ch<36; ch+=9)
384  {
385  const int32_t vals2[2] = { ch, fFadRoiCh9Cmd->value() };
386  Dim::SendCommand("FAD_CONTROL/SET_REGION_OF_INTEREST", vals2);
387  }
388 }
bool SendCommand(const std::string &command)
Definition: Dim.h:26

+ Here is the call graph for this function:

+ Here is the caller graph for this function: