FACT++  1.0
void FactGui::on_fThresholdVal_valueChanged ( int  v)
inlineprivatevirtual

Implements MainWindow.

Definition at line 3525 of file FactGui.h.

References Dim::SendCommand().

3526  {
3527  fThresholdVolt->setValue(2500./4095*v);
3528 
3529  const int32_t isw = fThresholdIdx->value();
3530  const int32_t ihw = isw<0 ? -1 : fPatchMapHW[isw];
3531 
3532  const int32_t d[2] = { ihw, v };
3533 
3534  if (!fInHandler)
3535  Dim::SendCommand("FTM_CONTROL/SET_THRESHOLD", d);
3536  }
bool fInHandler
Definition: MainWindow.h:26
bool SendCommand(const std::string &command)
Definition: Dim.h:26
vector< int > fPatchMapHW
Definition: FactGui.h:76

+ Here is the call graph for this function: