FACT++  1.0
void ConnectionBias::PrintLineCmdDac ( int  b,
int  ch,
const vector< uint16_t > &  dac 
)
inlineprivate

Definition at line 684 of file biasctrl.cc.

References id, and BIAS::kNumChannelsPerBoard.

685  {
686  Out() << setw(2) << b << "|";
687 
688  for (int c=ch; c<ch+4; c++)
689  {
690  const int id = c+kNumChannelsPerBoard*b;
691  Out() << " " << setw(4) << int32_t(dac[id])<<"/"<<fDacActual[id] << ":" << setw(5) << ConvertDacToVolt(id, fDacTarget[id]);
692  }
693  Out() << endl;
694  }
char id[4]
Definition: FITS.h:71
double ConvertDacToVolt(uint16_t ch, uint16_t dac)
Definition: biasctrl.cc:986
std::ostream & Out()
Definition: ConnectionUSB.h:47
vector< uint16_t > fDacTarget
Definition: biasctrl.cc:99
vector< uint16_t > fDacActual
Definition: biasctrl.cc:101