FACT++  1.0
bool ConnectionBias::CheckDac ( uint16_t  dac)
inline

Definition at line 890 of file biasctrl.cc.

References Error().

891  {
892  if (dac<4096)
893  return true;
894 
895  ostringstream msg;
896  msg << "CheckDac - Dac value of " << dac << " exceeds maximum of 4095.";
897  Error(msg);
898  return false;
899  }
int Error(const std::string &str)
Definition: MessageImp.h:49

+ Here is the call graph for this function: