Changeset 18220
- Timestamp:
- 06/17/15 07:18:38 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/closed_lid_ratescan.js
r18016 r18220 110 110 } 111 111 112 dim.log("STARTING SCRIPT gareth_v0.3");112 dim.log("STARTING SCRIPT closed_lid_ratescan"); 113 113 114 dim.log("Sending Voltage On");115 voltageOn();114 // dim.log("Sending Voltage On"); 115 // voltageOn(); 116 116 v8.sleep(10000); 117 117 … … 123 123 //dim.send("RATE_SCAN/START_THRESHOLD_SCAN", 200, 900, 20); 124 124 dim.send("RATE_SCAN/START_THRESHOLD_SCAN", 100, 900, 10); 125 dim.log("Start Ratescan");126 125 127 126 // PAUSE 128 127 dim.log("PAUSE 10s"); 129 128 v8.sleep(10000); 129 dim.log("Start Ratescan"); 130 130 131 131 // Lets wait if the ratescan really starts... this might take a few 132 132 dim.wait("RATE_SCAN", "InProgress", 10000); 133 dim.wait("RATE_SCAN", "Connected", 2700000); 133 //dim.wait("RATE_SCAN", "Connected", 2700000); 134 dim.wait("RATE_SCAN", "Connected", 3500000); 134 135 135 136 dim.log("Ratescan done"); 136 137 137 138 138 voltageOff();139 // voltageOff(); 139 140 140 141 dim.log("Task finished [RATESCAN]"); 141 142 console.out(""); 143
Note:
See TracChangeset
for help on using the changeset viewer.