Changeset 15134
- Timestamp:
- 03/22/13 17:10:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Startup.js
r15093 r15134 79 79 include("scripts/handleRatectrlConnected.js"); 80 80 include("scripts/handleLidClosed.js"); 81 82 checkSend(["BIAS_CONTROL","FTM_CONTROL", "FSC_CONTROL", "FEEDBACK", "RATE_CONTROL", "MCP"]); 81 include("scripts/handleFadConnected.js"); 82 83 checkSend(["BIAS_CONTROL","FAD_CONTROL","FTM_CONTROL", "FSC_CONTROL", "FEEDBACK", "RATE_CONTROL", "MCP"]); 83 84 84 85 dim.send("MCP/RESET"); … … 90 91 loop.add(handleFeedbackConnected); // Feedback needs FAD to be Connected 91 92 loop.add(handleRatectrlConnected); 93 loop.add(handleFadConnected); 92 94 //loop.add(handleLidClosed); 93 95 loop.run(); 94 96 95 console.out("Bias crate connected and voltage off."); 96 console.out("Feedback switched off."); 97 console.out("FTM connected and idle."); 98 console.out("FSC connected."); 99 console.out("Rate control connected."); 100 //console.out("Lids closed."); 97 console.out("biasctrl: "+dim.state("BIAS_CONTROL").name); 98 console.out("ftmctrl: "+dim.state("FTM_CONTROL").name); 99 console.out("fscctrl: "+dim.state("FSC_CONTROL").name); 100 console.out("feedback: "+dim.state("FEEDBACK").name); 101 console.out("ratecontrol: "+dim.state("RATE_CONTROL").name); 102 console.out("fadctrl: "+dim.state("FAD_CONTROL").name); 103 console.out("mcp: "+dim.state("MCP").name); 101 104 console.out(""); 102 105 … … 128 131 // Now we can safely try to connect the FAD boards. 129 132 // ----------------------------------------------------------------- 133 /* 134 include("scripts/handleFadConnected.js"); 130 135 131 136 // If FADs already connected 132 include("scripts/handleFadConnected.js");133 137 134 138 checkSend(["FAD_CONTROL"]); … … 150 154 console.out(dim.state("FAD_CONTROL").name); 151 155 console.out(dim.state("MCP").name); 156 */ 152 157 153 158 // ================================================================
Note:
See TracChangeset
for help on using the changeset viewer.