Changeset 15466
- Timestamp:
- 05/01/13 10:49:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Main.js
r15454 r15466 201 201 console.out(" ...waiting for 1s"); 202 202 v8.sleep(1000); 203 console.out(" ...checking connection"); 204 dim.wait("FAD_CONTROL", "Connected", 3000); 203 205 console.out(""); 204 206 } … … 261 263 { 262 264 dim.wait("MCP", "TakingData", 15000); 263 break;265 break; 264 266 } 265 267 catch (e) … … 295 297 reconnect(list, "configuration"); 296 298 297 /*if (n<2)298 return false;299 300 throw e;301 */302 303 299 if (n==2) 304 300 throw e; 301 302 dim.wait("MCP", "Idle", 3000); 305 303 } 306 304 } … … 480 478 { 481 479 var state = dim.state("BIAS_CONTROL").name; 480 481 if (state=="Disconnected") 482 { 483 console.out(" Voltage off: bias crate disconnected!"); 484 return; 485 } 482 486 483 487 // check of feedback has to be switched on … … 657 661 console.out(""); 658 662 console.out("Shutdown procedure seems to be finished..."); 663 console.out(" "+new Date().toUTCString()); 659 664 console.out(" Telescope at Zd=%.1fdeg Az=%.1fdeg".$(report.obj['Zd'], report.obj['Az'])); 660 665 console.out(" Please make sure the park position was reached"); … … 927 932 } 928 933 929 if (system_on===false && task!="STARTUP")934 if (system_on===false && obs[obs].task!="STARTUP") 930 935 { 931 936 v8.sleep(1000);
Note:
See TracChangeset
for help on using the changeset viewer.