FACT++  1.0
void ConnectionFAD::PostCmd ( uint16_t  cmd,
uint16_t  data 
)
inline

Definition at line 340 of file fadctrl.cc.

References data.

341  {
343  return;
344 
345 #ifdef DEBUG_TX
346  ostringstream msg;
347  msg << "Sending command:" << hex;
348  msg << " 0x" << setw(4) << setfill('0') << cmd;
349  msg << " 0x" << setw(4) << setfill('0') << data;
350  Message(msg);
351 #endif
352  const uint16_t d[2] = { htons(cmd), htons(data) };
353  PostMessage(d, sizeof(d));
354  }
void PostMessage(const void *msg, size_t s=0)
bool fBlockTransmission
Definition: fadctrl.cc:46
bool IsConnected() const
Definition: Connection.h:145
float data[4 *1440]
int Message(const std::string &str)
Definition: MessageImp.h:46