Changeset 18229


Ignore:
Timestamp:
06/18/15 12:19:45 (9 years ago)
Author:
dneise
Message:
use new libraries CheckFTU and CheckUnderflow
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FACT++_scripts_refactoring/Startup.js

    r18218 r18229  
    11'use strict';
    22
     3include("scripts/CheckFTU.js");
     4include("scripts/CheckUnderflow.js");
    35// To de done:
    46//  - CheckLID status (should be open or closed)
     
    114116// Now we check the FTU connection
    115117// -----------------------------------------------------------------
    116 
    117 /*
    118 include("scripts/handleFtuCheck.js");
    119 
    120 loop = new Handler("FtuCheck");
    121 loop.ftuList = new Subscription("FTM_CONTROL/FTU_LIST");
    122 loop.add(handleFtuCheck);
    123 loop.run();
    124 loop.ftuList.close();
    125 
    126 dim.log("All FTUs are enabled and without error.");
    127 */
    128 
    129 console.out("Checking FTU: start");
    130 include("scripts/CheckFTU.js");
    131 console.out("Checking FTU: done");
    132 console.out("");
     118CheckFTU.checkFTU();
     119
    133120
    134121// -----------------------------------------------------------------
     
    178165// (This is necessary after each power cycle)
    179166// ----------------------------------------------------------------
    180 
    181 include('scripts/CheckUnderflow.js');
     167CheckUnderflow.checkUnderflow();
    182168
    183169// Now it is time to check the connection of the FADs
Note: See TracChangeset for help on using the changeset viewer.