Changeset 10926
- Timestamp:
- 06/07/11 22:21:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fad.cc
r10876 r10926 231 231 232 232 case kCmdWriteRunNumberMSW: 233 fRunNumber &= 0xffff; 234 fRunNumber |= fBufCommand[0]<<16; 235 cout << "-> RunNumber MSW" << endl; 233 fCommand = fBufCommand; 236 234 break; 237 235 238 236 case kCmdWriteRunNumberLSW: 239 fRunNumber &= 0xffff0000; 240 fRunNumber |= fBufCommand[0]; 241 cout << "-> RunNumber LSW" << endl; 237 fCommand = fBufCommand; 242 238 break; 243 239 … … 273 269 switch (fCommand[0]) 274 270 { 271 case kCmdWriteRunNumberMSW: 272 fRunNumber &= 0xffff; 273 fRunNumber |= fBufCommand[0]<<16; 274 cout << "-> Set RunNumber MSW" << endl; 275 break; 276 case kCmdWriteRunNumberLSW: 277 fRunNumber &= 0xffff0000; 278 fRunNumber |= fBufCommand[0]; 279 cout << "-> Set RunNumber LSW" << endl; 280 break; 275 281 case kCmdWriteRoi: 276 282 cout << "-> Set Roi[" << fCommand[1] << "]=" << fBufCommand[0] << endl; … … 304 310 fTriggerEnabled=false; 305 311 fCommandSocket=true; 312 fRunNumber = 1; 306 313 307 314 fHeader.fStartDelimiter = FAD::kDelimiterStart;
Note:
See TracChangeset
for help on using the changeset viewer.