Changeset 17181 for trunk/FACT++/scripts


Ignore:
Timestamp:
09/19/13 16:16:27 (11 years ago)
Author:
tbretz
Message:
Reverting to last revision.
File:
1 edited

Legend:

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

    r17174 r17181  
    218218{
    219219    dim.send("BIAS_CONTROL/SET_ZERO_VOLTAGE");
    220     dim.wait("BIAS_CONTROL", "VoltageOff", 30000); // waS: 15000
     220    dim.wait("BIAS_CONTROL", "VoltageOff", 15000);
    221221
    222222    var now = new Date();
     
    227227
    228228    console.out("Wait for calibration to end");
    229     dim.wait("FEEDBACK", "Calibrated", 90000);
     229    dim.wait("FEEDBACK", "Calibrated", 60000);
    230230
    231231    console.out("Calibration finished ["+(new Date()-now)+"ms]");
    232232
    233233    console.out("Wait for voltage to be off");
    234     dim.wait("BIAS_CONTROL", "VoltageOff", 30000); // was: 15000
     234    dim.wait("BIAS_CONTROL", "VoltageOff", 5000);
    235235}
    236236
     
    261261// ================================================================
    262262
    263 dim.log("Switching to old bias calibration and feedback.");
    264 dim.send("BIAS_CONTROL/EXPERT_MODE", true);
     263dim.send("BIAS_CONTROL/SET_EXPERT_MODE", true);
    265264dim.send("BIAS_CONTROL/EXPERT_LOAD_MAP_FILE", "/home/fact/operation/GAPDmap_with_spare_module-new.txt");
    266 dim.send("BIAS_CONTROL/EXPERT_MODE", false);
    267 dim.send("FEEDBACK/ENABLE_OLD_ALGORITHM", true);
    268 dim.send("FEEDBACK/ENABLE_TEMP_OFFSETS", false);
    269 v8.sleep(3000);
     265dim.send("BIAS_CONTROL/SET_EXPERT_MODE", false);
     266dim.send("FEEDBACK/ENABLE_OLD_ALGORITHM", false);
    270267
    271268// ================================================================
     
    286283 [ "PWR_CONTROL",     [ "SystemOn"                        ] ],
    287284 [ "AGILENT_CONTROL", [ "VoltageOn"                       ] ],
    288  [ "BIAS_CONTROL",    [ "VoltageOff"                      ] ],
     285 [ "BIAS_CONTROL",    [ "VoltageOn", "VoltageOff"         ] ],
    289286 [ "FEEDBACK",        [ "Calibrated"                      ] ],
    290287 [ "RATE_SCAN",       [ "Connected"                       ] ],
Note: See TracChangeset for help on using the changeset viewer.