Changeset 17352 for trunk/FACT++/scripts
- Timestamp:
- 11/23/13 13:06:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/takeRun.js
r17016 r17352 267 267 } 268 268 269 // FIXME: What if the ext1 is not enabled in the configuration? 270 if (type=="data") 271 { 272 var dim_trg = new Subscription("FAD_CONTROL/TRIGGER_COUNTER"); 273 var counter = dim_trg.get(3000); 274 275 // The check on physics and pedestal triggers is to ensure that 276 // there was at least a chance to receive any event (e.g. in case 277 // of an interrupt this might not be the case) 278 if (counter.qos!=111 && 279 (counter.data['N_trg']>1000 || counter.data['N_ped']>5) && 280 counter.data['N_ext1']==0) // 'o' for open 281 throw new Error("No ext1 triggers received during data taking... please check the reason and report in the logbook."); 282 dim_trg.close(); 283 } 284 269 285 return true; 270 286 }
Note:
See TracChangeset
for help on using the changeset viewer.