FACT++  1.0
void ConnectionBias::ExpertReset ( bool  expert_mode = true)
inline

Definition at line 1226 of file biasctrl.cc.

References buffer, Error(), and BIAS::kCmdReset.

Referenced by StateMachineBias< T, S >::StateMachineBias().

1227  {
1228  if (expert_mode && fWaitingForAnswer>=0)
1229  {
1230  ostringstream msg;
1231  msg << "ExpertReset - Answer on last command (id=" << fWaitingForAnswer << ") not yet received.";
1232  Error(msg);
1233  return;
1234  }
1235 
1236  if (expert_mode)
1237  Warn("EXPERT MODE: Sending reset.");
1238 
1242  }
vector< uint8_t > fBuffer
Definition: biasctrl.cc:38
void PostMessage(const void *msg, size_t s=0)
vector< char > GetCmd(uint16_t board, uint16_t channel, Command_t cmd, uint16_t dac=0)
Definition: biasctrl.cc:106
void AsyncRead(const boost::asio::mutable_buffers_1 buffers, int type=0, int counter=0)
int64_t fSendCounter
Definition: biasctrl.cc:48
int Error(const std::string &str)
Definition: MessageImp.h:49
int Warn(const std::string &str)
Definition: MessageImp.h:48
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
int fWaitingForAnswer
Definition: biasctrl.cc:61

+ Here is the call graph for this function:

+ Here is the caller graph for this function: