FACT++  1.0
bool ConnectionBias::RampSingleChannelVoltage ( uint16_t  ch,
float  volt 
)
inline

Definition at line 997 of file biasctrl.cc.

998  {
999  if (!CheckChannel(ch))
1000  return false;
1001 
1002  if (!CheckChannelVoltage(ch, volt))
1003  return false;
1004 
1005  const uint16_t dac = ConvertVoltToDac(ch, volt);
1006  return RampSingleChannelDac(ch, dac);
1007  }
bool CheckChannelVoltage(uint16_t ch, float volt)
Definition: biasctrl.cc:912
uint16_t ConvertVoltToDac(uint16_t ch, double volt)
Definition: biasctrl.cc:977
bool RampSingleChannelDac(uint16_t ch, uint16_t dac)
Definition: biasctrl.cc:938
bool CheckChannel(uint16_t ch)
Definition: biasctrl.cc:901