Changeset 16451 for trunk/FACT++/src/ratescan.cc
- Timestamp:
- 05/30/13 00:37:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ratescan.cc
r15263 r16451 182 182 { 183 183 Message("Rate scan stopped due to timeout."); 184 Dim::SendCommand ("FTM_CONTROL/RESET_CONFIGURE");184 Dim::SendCommandNB("FTM_CONTROL/RESET_CONFIGURE"); 185 185 return RateScan::State::kConnected; 186 186 } … … 189 189 { 190 190 Message("Rate scan finished."); 191 Dim::SendCommand ("FTM_CONTROL/RESET_CONFIGURE");191 Dim::SendCommandNB("FTM_CONTROL/RESET_CONFIGURE"); 192 192 return RateScan::State::kConnected; 193 193 } … … 206 206 207 207 const int32_t cmd[2] = { -1, fThreshold }; 208 Dim Client::sendCommandNB(fCommand.c_str(), (void*)cmd, 8);208 Dim::SendCommandNB(fCommand.c_str(), cmd); 209 209 210 210 return GetCurrentState(); … … 237 237 238 238 //Dim::SendCommand("FAD_CONTROL/SET_FILE_FORMAT", uint16_t(0)); 239 Dim::SendCommand ("FTM_CONTROL/CONFIGURE", string("ratescan"));239 Dim::SendCommandNB("FTM_CONTROL/CONFIGURE", string("ratescan")); 240 240 241 241 Message("Configuration for ratescan started."); … … 255 255 const int32_t data[2] = { -1, fThresholdMin }; 256 256 257 Dim::SendCommand (fCommand, data);257 Dim::SendCommandNB(fCommand, data); 258 258 259 259 fThreshold = fThresholdMin; … … 290 290 return GetCurrentState(); 291 291 292 Dim::SendCommand ("FTM_CONTROL/RESET_CONFIGURE");292 Dim::SendCommandNB("FTM_CONTROL/RESET_CONFIGURE"); 293 293 Message("Rate scan manually stopped."); 294 294
Note:
See TracChangeset
for help on using the changeset viewer.