Changeset 10261
- Timestamp:
- 03/28/11 13:06:34 (14 years ago)
- Location:
- fact/FADctrl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/FADctrl/FAD.cc
r10226 r10261 907 907 for (unsigned int i=0; i<Boards.size(); i++) { 908 908 if (IDString.find(string("ACALIBDONE")+Boards[i]->Name) != string::npos) AcalibDone[i] = true; 909 if (!AcalibDone[i] && Boards[i]->Active && Boards[i]->CommOK) Done = false;909 if (!AcalibDone[i] && Boards[i]->Active) Done = false; 910 910 } 911 911 // Amplitude calibration finished? -
fact/FADctrl/FADBoard.cc
r10226 r10261 17 17 // Initialization 18 18 m = Parent; 19 Active = true;19 Active = false; 20 20 Continue = true; 21 21 CommOK = false; … … 367 367 m->PrintMessage("Could not connect to %s at port %d (%s)\n", Name, Port, strerror(errno)); 368 368 } 369 else CommOK = true; 369 else { 370 CommOK = true; 371 Active = true; 372 } 373 370 374 memset(&PrevStatus, 0, sizeof(PrevStatus)); 371 375 … … 524 528 } // while() 525 529 526 // Close socket descriptor 530 // Set inactive and close socket descriptor 531 Active = false; 532 527 533 if (close(Socket) == -1) { 528 534 m->PrintMessage("Could not close socket descriptor for board %s (%s)", Name, strerror(errno)); -
fact/FADctrl/History.txt
r10212 r10261 17 17 1/3/2011 Board list can be passed via command line 18 18 2/3/2011 Implemented new FAD data format 19 28/3/2011 Boards with communication error set themselves inactive
Note:
See TracChangeset
for help on using the changeset viewer.