Changeset 16852
- Timestamp:
- 06/15/13 18:08:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/takeRun.js
r16839 r16852 20 20 return; 21 21 22 console.out("", " "+new Date().toUTCString()+": Incomplete event ["+inc+","+incomplete+"] detected, sending MCP/STOP"); 22 console.out(""); 23 dim.log("Incomplete event ["+inc+","+incomplete+"] detected, sending MCP/STOP"); 23 24 24 25 incomplete = inc; … … 65 66 */ 66 67 console.out(""); 67 console.out(" "+new Date().toUTCString()+": Trying automatic reconnect ["+txt+",n="+list.length+"]..."); 68 console.out(new Date().toUTCString()); 68 dim.log("Trying automatic reconnect ["+txt+",n="+list.length+"]..."); 69 69 70 70 if (list.length>3) … … 109 109 // Wait also for MCP to have all boards connected again 110 110 dim.wait("MCP", "Idle", 3000); 111 112 dim.log("Automatic reconnect successfull."); 111 113 console.out(""); 112 114 } … … 120 122 121 123 var nextrun = sub_startrun.get().obj['next']; 122 console.out(" "+new Date().toUTCString()+":Take run %3d".$(nextrun)+": N="+count+" T="+time+"s ["+type+"]");124 dim.log("Take run %3d".$(nextrun)+": N="+count+" T="+time+"s ["+type+"]"); 123 125 124 126 // FIXME: Replace by callback?
Note:
See TracChangeset
for help on using the changeset viewer.