FACT++  1.0
bool ConnectionBias::RampSingleChannelDac ( uint16_t  ch,
uint16_t  dac 
)
inline

Definition at line 938 of file biasctrl.cc.

939  {
940  if (!CheckChannel(ch))
941  return false;
942 
943  if (!CheckDac(dac))
944  return false;
945 
946  fDacTarget[ch] = dac;
947  UpdateV();
948 
949  if (!fIsRamping)
951 
952  return true;
953  }
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
bool CheckChannel(uint16_t ch)
Definition: biasctrl.cc:901
vector< uint16_t > fDacTarget
Definition: biasctrl.cc:99