FACT++  1.0
void ConnectionAgilent::RequestStatus ( )
inlineprotected

Definition at line 50 of file agilentctrl.cc.

References HandleStatusTimer().

51  {
52  if (IsConnected())
53  PostMessage(string("*IDN?\nvolt?\nmeas:volt?\nmeas:curr?\ncurr?\n"));
54 
55  fTimeout.expires_from_now(boost::posix_time::seconds(fInterval));
56  fTimeout.async_wait(boost::bind(&ConnectionAgilent::HandleStatusTimer,
57  this, dummy::error));
58  }
void PostMessage(const void *msg, size_t s=0)
void HandleStatusTimer(const bs::error_code &error)
Definition: agilentctrl.cc:61
uint16_t fInterval
Definition: agilentctrl.cc:33
bool IsConnected() const
Definition: Connection.h:145
boost::asio::deadline_timer fTimeout
Definition: agilentctrl.cc:35

+ Here is the call graph for this function: