247 Error(
"Last power command within the last 59 seconds... ignored.");
251 PostMessage(
"outp "+
string(on?
"on":
"off")+
"\n*IDN?\nvolt?\nmeas:volt?\nmeas:curr?\ncurr?\n");
void PostMessage(const void *msg, size_t s=0)
Adds some functionality to boost::posix_time::ptime for our needs.
boost::asio::deadline_timer fTimeoutPowerCycle
int Error(const std::string &str)