Changeset 16793
- Timestamp:
- 06/10/13 12:01:19 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/takeRun.js
r16744 r16793 209 209 dim.send("MCP/RESET"); 210 210 211 dim.wait("FTM_CONTROL", " Idle",3000);211 dim.wait("FTM_CONTROL", "Valid", 3000); 212 212 dim.wait("FAD_CONTROL", "Connected", 3000); 213 213 dim.wait("MCP", "Idle", 3000); … … 236 236 console.out(" - FTM_CONTROL: "+dim.state("FTM_CONTROL").name); 237 237 238 dim.wait("FTM_CONTROL", " Idle",3000);238 dim.wait("FTM_CONTROL", "Valid", 3000); 239 239 dim.wait("FAD_CONTROL", "Connected", 3000); 240 240 dim.wait("MCP", "Idle", 3000); 241 241 242 var str = incomplete.toString(2); 243 var len = str.length; 244 242 245 var list = []; 243 for (var i=0; i< 40; i++)244 if ( incomplete&(1<<i))246 for (var i=0; i<str.length; i++) 247 if (str[str.length-i-1]=='1') 245 248 list.push(i); 246 249
Note:
See TracChangeset
for help on using the changeset viewer.