FACT++  1.0
bool ConnectionFAD::CmdSetTriggerRate ( int32_t  val)
inline

Definition at line 400 of file fadctrl.cc.

References kCmdWriteRate.

Referenced by StateMachineFAD< T >::StartConfigure().

401  {
402  if (val<0 || val>0xffff)
403  return false;
404 
405  fBufEventHeader.fTriggerGeneratorPrescaler = val;
406  PostCmd(FAD::kCmdWriteRate, val);//uint8_t(1000./val/12.5));
407  //PostCmd(FAD::kCmdWriteExecute);
408 
409  return true;
410  }
FAD::EventHeader fBufEventHeader
Definition: fadctrl.cc:50
void PostCmd(std::vector< uint16_t > cmd)
Definition: fadctrl.cc:308

+ Here is the caller graph for this function: