Changeset 18649


Ignore:
Timestamp:
09/25/16 21:47:08 (8 years ago)
Author:
tbretz
Message:
It seems the camera reponse has more than one LF now... replace all of them. In addition (in view of the new mode) added a SUSPEND mode which is equal to SLEEP.
File:
1 edited

Legend:

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

    r18516 r18649  
    180180        cam.data.push("Camera.Environment=OUTDOOR");
    181181        var ret = cam.send();
    182         dim.log("Camera response: "+ret.data.replace("\n","/")+" ["+ret.rc+"]");
     182        dim.log("Camera response: "+ret.data.replace(/\n/g,"/")+" ["+ret.rc+"]");
    183183    }
    184184    dim.wait("LID_CONTROL", "Open", 30000);
     
    10251025        continue;
    10261026
     1027    case "SUSPEND":
    10271028    case "SLEEP":
    10281029        Shutdown("sleep"); //GoToSleep();
    10291030
    10301031        sub++;
    1031         dim.log("Task finished [SLEEP].");
     1032        dim.log("Task finished ["+obs[sub].task+"].");
    10321033        console.out("");
    10331034        continue;
Note: See TracChangeset for help on using the changeset viewer.