Changeset 11087 for fact/FADctrl
- Timestamp:
- 06/21/11 10:34:14 (13 years ago)
- Location:
- fact/FADctrl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/FADctrl/FAD.cc
r11077 r11087 20 20 const char *Help; 21 21 } CommandList[] = 22 {{"board", &FAD::cmd_board, false, 1, "[+|-]<range>" ,"Activate or deactivate board(s)"},22 {{"board", &FAD::cmd_board, true, 1, "<[+|-]range|none>" ,"Activate or deactivate board(s)"}, 23 23 {"status", &FAD::cmd_status, false, 0, "[range]", "Show board status information"}, 24 24 {"domino", &FAD::cmd_domino, true, 1, "<on|off>", "Switch Domino wave"}, … … 700 700 if (Mode != 0) Parameter[1][0] = ' '; 701 701 702 // Disable all boards 703 if (Match(Parameter[1], "none")) { 704 for (int i=0; i<(int) Boards.size(); i++) Boards[i]->Active = false; 705 return; 706 } 707 702 708 // Evaluate given range 703 709 if (!ConvertToRange(Parameter[1], R)) { … … 1086 1092 // Close data file and terminate run 1087 1093 if(close(Datafile) == -1) Message(ERROR, "Could not close data file (%s)", strerror(errno)); 1088 else PrintMessage("Data file closed (size %.1f MByte ).\n", FileSizeMB);1094 else PrintMessage("Data file closed (size %.1f MByte, %d events).\n", FileSizeMB, NumEvents); 1089 1095 1090 1096 Datafile = -1; -
fact/FADctrl/FADBoard.cc
r10980 r11087 408 408 } 409 409 410 memset(&PrevStatus, 0, sizeof(PrevStatus)); 410 // Use not zero so that comparing Status and PrevStatus at first test will likely show differences 411 memset(&PrevStatus, 0xee, sizeof(PrevStatus)); 411 412 412 413 // Leave loop if program termination requested or board communication not OK -
fact/FADctrl/History.txt
r10980 r11087 32 32 3/6/2011 Raw data files will only contain boards active at the start of the run. 33 33 7/6/2011 DIM event service only contains active boards 34 21/6/2011 Command 'boards' takes 'none as argument
Note:
See TracChangeset
for help on using the changeset viewer.