Changeset 16787 for trunk/FACT++/scripts
- Timestamp:
- 06/10/13 11:57:12 (11 years ago)
- Location:
- trunk/FACT++/scripts
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/handleAgilentPowerOn.js
r14968 r16787 21 21 22 22 case "VoltageOff": 23 console.out("Agilent in VoltageOff... switching agilent output on.");23 console.out("Agilent in 'VoltageOff'... sending SET_POWER ON... waiting for 'VoltageOn'."); 24 24 dim.send("AGILENT_CONTROL/SET_POWER", true); 25 25 return "VoltageOn"; … … 29 29 30 30 case "VoltageHigh": 31 throw new Error("Agilent reports voltage above limit ... please check.");31 throw new Error("Agilent reports voltage above limit ('VoltageHigh')... please check."); 32 32 } 33 33 -
trunk/FACT++/scripts/handleFeedbackConnected.js
r14969 r16787 28 28 case "CurrentControl": 29 29 case "Calibrating": 30 console.out("Feedback in "+state.name+"... stop feedback.");30 console.out("Feedback in '"+state.name+"'... sending STOP... waiting for 'Connected'."); 31 31 dim.send("FEEDBACK/STOP"); 32 32 return "Connected"; -
trunk/FACT++/scripts/handleFscConnected.js
r14763 r16787 15 15 // Do-nothing conditions 16 16 case "Disconnected": 17 console.out("Fsc in Diconnected... connect.");17 console.out("Fscctrl in 'Diconnected'... sending RECONNECT... waiting for 'Connected'."); 18 18 dim.send("FSC_CONTROL/RECONNECT"); 19 19 return "Connected"; -
trunk/FACT++/scripts/handleFtmIdle.js
r14968 r16787 15 15 { 16 16 case "Disconnected": 17 console.out("Ftm in "+state.name+"... connect.");17 console.out("Ftmctrl in 'Disconnected'... sending RECONNECT... wainting for 'Idle'."); 18 18 dim.send("FTM_CONTROL/RECONNECT"); 19 return " Idle";19 return "Valid"; 20 20 21 21 case "Idle": 22 //ftu_counter = data.counter; 22 console.out("Ftmctrl in 'Idle'... sending DISCONNECT... wainting for 'Disconnected'."); 23 dim.send("FTM_CONTROL/DISCONNECT"); 24 v8.sleep(3000); 25 return "Disconnected"; 26 27 case "Valid": 23 28 return ""; 24 29 25 30 case "TriggerOn": 26 console.out("Ftm in "+state.name+"... stop trigger.");31 console.out("Ftmctrl in 'TriggerOn'... sending STOP_TRIGGER... waiting for 'Idle'."); 27 32 dim.send("FTM_CONTROL/STOP_TRIGGER"); 28 return " Idle";33 return "Valid"; 29 34 30 35 case "Configuring1": 31 36 case "Configuring2": 32 37 case "Configured": 33 console.out("Ftm in "+state.name+"... reset configuration.");38 console.out("Ftmctrl in '"+state.name+"'... sending RESET_CONFIGURE... waiting for 'Idle'."); 34 39 dim.send("FTM_CONTROL/RESET_CONFIGURE"); 35 return " Idle";40 return "Valid"; 36 41 37 42 case "ConfigError1": -
trunk/FACT++/scripts/handleLidClosed.js
r14968 r16787 22 22 case "Inconsistent": 23 23 case "Open": 24 console.out("Lid in "+state.name+"... closing lids.");24 console.out("Lidctrl in '"+state.name+"'... sending CLOSE... waiting for 'Closed'."); 25 25 dim.send("LID_CONTROL/CLOSE"); 26 26 return "Closed"; -
trunk/FACT++/scripts/handlePwrCameraOn.js
r16052 r16787 21 21 // Drive off 22 22 case "PowerOff": 23 console.out("Pwr in PowerOff... switching camera power on.");23 console.out("Pwrctrl in 'PowerOff'... sending CAMERA_POWER ON... waiting for 'DriveOff'."); 24 24 dim.send("PWR_CONTROL/CAMERA_POWER", true); 25 25 return "DriveOff"; … … 27 27 // Drive on 28 28 case "DriveOn": 29 console.out("Pwr in DriveOn... switching camera power on.");29 console.out("Pwrctrl in 'DriveOn'... sending CAMERA_POWER ON... waiting for 'SystemOn'."); 30 30 dim.send("PWR_CONTROL/CAMERA_POWER", true); 31 31 return "SystemOn"; -
trunk/FACT++/scripts/handleRatectrlConnected.js
r16448 r16787 19 19 case "GlobalThresholdSet": 20 20 case "InProgress": 21 console.out("Ratectrl in "+state.name+"... stop.");21 console.out("Ratectrl in '"+state.name+"'... sending STOP... waiting for 'Connected'."); 22 22 dim.send("RATE_CONTROL/STOP"); 23 23 return "Connected";
Note:
See TracChangeset
for help on using the changeset viewer.