Changeset 14968


Ignore:
Timestamp:
03/04/13 11:06:08 (12 years ago)
Author:
tbretz
Message:
Replaced dim.print by dim.log
Location:
trunk/FACT++/scripts
Files:
7 edited

Legend:

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

    r14763 r14968  
    99        return wait_state;
    1010
    11     //dim.print("AGILENT_CONTROL:  "+state.name+"["+state.index+"]");
     11    //dim.log("AGILENT_CONTROL:  "+state.name+"["+state.index+"]");
    1212
    1313    switch (state.name)
  • trunk/FACT++/scripts/handleBiasVoltageOff.js

    r14763 r14968  
    99        return wait_state;
    1010
    11     //dim.print("BIAS_CONTROL: "+state.name+"["+state.index+"]");
     11    //dim.log("BIAS_CONTROL: "+state.name+"["+state.index+"]");
    1212
    1313    switch (state.name)
  • trunk/FACT++/scripts/handleDriveArmed.js

    r14763 r14968  
    99        return wait_state;
    1010
    11     dim.print("DRIVE_CONTROL: "+state.name+"["+state.index+"]");
     11    dim.log("DRIVE_CONTROL: "+state.name+"["+state.index+"]");
    1212
    1313    switch (state.name)
     
    2323        throw new Error("Drive is LOCKED. Please unlock manually.");
    2424        //return undefined;
    25         //dim.print("Drive in Locked... unlock.");
     25        //dim.log("Drive in Locked... unlock.");
    2626        //dim.send("DRIVE_CONTROL/UNLOCK");
    2727        //return "Armed";
     
    3030    case "Tracking":
    3131    case "OnTrack":
    32         dim.print("Drive moving... stop.");
     32        dim.log("Drive moving... stop.");
    3333        dim.send("DRIVE_CONTROL/STOP");
    3434        return "Armed";
    3535
    3636    case "ERROR":
    37         dim.print("Drive in error... trying to reinitialize.");
     37        dim.log("Drive in error... trying to reinitialize.");
    3838        dim.send("DRIVE_CONTROL/STOP");
    3939        dim.wait("DRIVE_CONTROL", "Armed", 5000);
  • trunk/FACT++/scripts/handleFtmIdle.js

    r14763 r14968  
    1010        return wait_state;
    1111
    12     //dim.print("FTM_CONTROL:  "+state.name+"["+state.index+"]");
     12    //dim.log("FTM_CONTROL:  "+state.name+"["+state.index+"]");
    1313
    1414    switch (state.name)
  • trunk/FACT++/scripts/handleFtuCheck.js

    r14763 r14968  
    2020            continue;
    2121
    22         dim.print("Problems in the FTU communication found.");
    23         dim.print("Send command to disable all FTUs.");
    24         dim.print(" => Power cycle needed.");
     22        dim.log("Problems in the FTU communication found.");
     23        dim.log("Send command to disable all FTUs.");
     24        dim.log(" => Power cycle needed.");
    2525        dim.send("FTM_CONTOL/ENABLE_FTU", -1, false);
    2626        throw new Error("CrateReset[FTU]");
  • trunk/FACT++/scripts/handleLidClosed.js

    r14763 r14968  
    99        return wait_state;
    1010
    11     //dim.print("LID_CONTROL:  "+state.name+"["+state.index+"]");
     11    //dim.log("LID_CONTROL:  "+state.name+"["+state.index+"]");
    1212
    1313    switch (state.name)
  • trunk/FACT++/scripts/handlePwrCameraOn.js

    r14763 r14968  
    99        return wait_state;
    1010
    11     //dim.print("PWR_CONTROL:  "+state.name+"["+state.index+"]");
     11    //dim.log("PWR_CONTROL:  "+state.name+"["+state.index+"]");
    1212
    1313    switch (state.name)
Note: See TracChangeset for help on using the changeset viewer.