Changeset 18649
- Timestamp:
- 09/25/16 21:47:08 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Main.js
r18516 r18649 180 180 cam.data.push("Camera.Environment=OUTDOOR"); 181 181 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+"]"); 183 183 } 184 184 dim.wait("LID_CONTROL", "Open", 30000); … … 1025 1025 continue; 1026 1026 1027 case "SUSPEND": 1027 1028 case "SLEEP": 1028 1029 Shutdown("sleep"); //GoToSleep(); 1029 1030 1030 1031 sub++; 1031 dim.log("Task finished [ SLEEP].");1032 dim.log("Task finished ["+obs[sub].task+"]."); 1032 1033 console.out(""); 1033 1034 continue;
Note:
See TracChangeset
for help on using the changeset viewer.