- Timestamp:
- 09/19/13 16:16:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Startup.js
r17174 r17181 218 218 { 219 219 dim.send("BIAS_CONTROL/SET_ZERO_VOLTAGE"); 220 dim.wait("BIAS_CONTROL", "VoltageOff", 30000); // waS: 15000220 dim.wait("BIAS_CONTROL", "VoltageOff", 15000); 221 221 222 222 var now = new Date(); … … 227 227 228 228 console.out("Wait for calibration to end"); 229 dim.wait("FEEDBACK", "Calibrated", 90000);229 dim.wait("FEEDBACK", "Calibrated", 60000); 230 230 231 231 console.out("Calibration finished ["+(new Date()-now)+"ms]"); 232 232 233 233 console.out("Wait for voltage to be off"); 234 dim.wait("BIAS_CONTROL", "VoltageOff", 30000); // was: 15000234 dim.wait("BIAS_CONTROL", "VoltageOff", 5000); 235 235 } 236 236 … … 261 261 // ================================================================ 262 262 263 dim.log("Switching to old bias calibration and feedback."); 264 dim.send("BIAS_CONTROL/EXPERT_MODE", true); 263 dim.send("BIAS_CONTROL/SET_EXPERT_MODE", true); 265 264 dim.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); 265 dim.send("BIAS_CONTROL/SET_EXPERT_MODE", false); 266 dim.send("FEEDBACK/ENABLE_OLD_ALGORITHM", false); 270 267 271 268 // ================================================================ … … 286 283 [ "PWR_CONTROL", [ "SystemOn" ] ], 287 284 [ "AGILENT_CONTROL", [ "VoltageOn" ] ], 288 [ "BIAS_CONTROL", [ "VoltageO ff"] ],285 [ "BIAS_CONTROL", [ "VoltageOn", "VoltageOff" ] ], 289 286 [ "FEEDBACK", [ "Calibrated" ] ], 290 287 [ "RATE_SCAN", [ "Connected" ] ],
Note:
See TracChangeset
for help on using the changeset viewer.