Changeset 18170 for trunk/FACT++


Ignore:
Timestamp:
04/16/15 12:17:38 (9 years ago)
Author:
dneise
Message:
As discussed in the last telcon on 14.04.15, I implemented a new feature into the Shutdown() function. Now the Drive cabinet is powered off after shutting the system completely down.
File:
1 edited

Legend:

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

    r18169 r18170  
    472472        dim.wait("BIAS_CONTROL", "Disconnected", 3000);
    473473
     474        dim.send("PWR_CONTROL/TOGGLE_DRIVE");
     475        dim.wait("PWR_CONTROL", "DriveOff", 3000);
    474476    }
    475477
     
    488490    console.out("    FTM_CONTROL:   "+dim.state("FTM_CONTROL").name);
    489491    console.out("    BIAS_CONTROL:  "+dim.state("BIAS_CONTROL").name);
     492    console.out("    PWR_CONTROL:  "+dim.state("PWR_CONTROL").name);
    490493    console.out("");
    491494    dim.log("Shutdown: end ["+(now2-now1)/1000+"s, "+(now3-now2)/1000+"s, "+(new Date()-now3)/1000+"s]");
Note: See TracChangeset for help on using the changeset viewer.