Changeset 18730 for trunk/FACT++


Ignore:
Timestamp:
01/11/17 13:35:02 (8 years ago)
Author:
tbretz
Message:
Replaces the 'sleep' keyword by 'unlock' for the shutdown to get a more consistent print on the screen.
File:
1 edited

Legend:

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

    r18715 r18730  
    520520
    521521    //unlock drive if task was sleep
    522     if (type=="sleep")
     522    if (type=="unlock")
    523523        dim.send("DRIVE_CONTROL/UNLOCK");
    524524
     
    537537        dim.wait("FEEDBACK", "Calibrated",   3000);
    538538
    539     if (type!="sleep")
     539    if (type!="unlock")
    540540    {
    541541        dim.send("BIAS_CONTROL/DISCONNECT");
     
    10751075    case "SUSPEND":
    10761076    case "SLEEP":
    1077         Shutdown("sleep"); //GoToSleep();
     1077        Shutdown("unlock"); //GoToSleep();
    10781078
    10791079        dim.log("Task finished ["+obs[sub].task+"].");
Note: See TracChangeset for help on using the changeset viewer.