FACT++  1.0
bool ConnectionBias::RampAllChannelsDac ( const vector< uint16_t > &  dac)
inline

Definition at line 955 of file biasctrl.cc.

References kNumChannels.

956  {
957  for (int ch=0; ch<kNumChannels; ch++)
958  if (!CheckDac(dac[ch]))
959  return false;
960 
961  fDacTarget = dac;
962  UpdateV();
963 
964  if (!fIsRamping)
966 
967  return true;
968  }
bool RampOneStep()
Definition: biasctrl.cc:759
virtual void UpdateV(const Time=Time())
Definition: biasctrl.cc:74
bool fIsRamping
Definition: biasctrl.cc:60
bool CheckDac(uint16_t dac)
Definition: biasctrl.cc:890
vector< uint16_t > fDacTarget
Definition: biasctrl.cc:99