Changeset 15480


Ignore:
Timestamp:
05/03/13 09:34:10 (12 years ago)
Author:
tbretz
Message:
A small fix in the shutdown procedure. If we disconnect the bias crate the feedback will not go to CurrentCtrlIdle but to Connected instead.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/Main.js

    r15466 r15480  
    304304    }
    305305
    306 
    307306    dim.wait("MCP", "Idle", time>0 ? time*1250 : undefined); // run time plus 25%
    308307
     
    653652    dim.send("BIAS_CONTROL/DISCONNECT");
    654653
    655     dim.wait("FEEDBACK",     "CurrentCtrlIdle",  3000);
    656     dim.wait("FTM_CONTROL",  "Idle",            3000);
    657     dim.wait("BIAS_CONTROL", "Disconnected",     3000);
     654    dim.wait("FTM_CONTROL",  "Idle",         3000);
     655    dim.wait("BIAS_CONTROL", "Disconnected", 3000);
     656    dim.wait("FEEDBACK",     "Connected",    3000);
    658657
    659658    var report = sub.get();
     
    665664    console.out("  Please make sure the park position was reached");
    666665    console.out("  and the telescope is not moving anymore.");
    667     console.out("  Please check that the lid is closed and the voltage switched off.");
     666    console.out("  Please check that the lid is closed and the voltage switched off.", "");
     667    console.out("    DRIVE_CONTROL: "+dim.state("DRIVE_CONTROL").name);
     668    console.out("    FEEDBACK:      "+dim.state("FEEDBACK").name);
     669    console.out("    FTM_CONTROL:   "+dim.state("FTM_CONTROL").name);
     670    console.out("    BIAS_CONTROL:  "+dim.state("BIAS_CONTROL").name);
    668671    console.out("");
    669672    console.out("Shutdown: end ["+(new Date()-now)/1000+"s]");
Note: See TracChangeset for help on using the changeset viewer.