Changeset 17673
- Timestamp:
- 04/16/14 23:51:35 (11 years ago)
- Location:
- trunk/FACT++/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/CheckUnderflow.js
r17659 r17673 39 39 var table = 40 40 [ 41 [ "MCP", [ "Idle" ] ], 42 [ "AGILENT_CONTROL", [ "VoltageOn" ] ], 43 [ "FTM_CONTROL", [ "Valid" ] ], 44 [ "FAD_CONTROL", [ "Connected", "RunInProgress" ] ], 45 [ "BIAS_CONTROL", [ "Disconnected", "VoltageOff" ] ], 46 [ "DATA_LOGGER", [ "WaitForRun", "NightlyFileOpen", "Logging" ] ], 41 [ "MCP", [ "Idle" ] ], 42 [ "AGILENT_CONTROL_24V", [ "VoltageOn" ] ], 43 [ "AGILENT_CONTROL_50V", [ "VoltageOn" ] ], 44 [ "AGILENT_CONTROL_80V", [ "VoltageOn" ] ], 45 [ "FTM_CONTROL", [ "Valid" ] ], 46 [ "FAD_CONTROL", [ "Connected", "RunInProgress" ] ], 47 [ "BIAS_CONTROL", [ "Disconnected", "VoltageOff" ] ], 48 [ "DATA_LOGGER", [ "WaitForRun", "NightlyFileOpen", "Logging" ] ], 47 49 ]; 48 50 … … 68 70 // throw new Error("Could not connect to FAD_CONTROL/DRS_RUNS"); 69 71 70 var power = dim.state("AGILENT_CONTROL ").time;72 var power = dim.state("AGILENT_CONTROL_50V").time; 71 73 var now = new Date(); 72 74 -
trunk/FACT++/scripts/Main.js
r17638 r17673 481 481 var expected = 482 482 [ 483 "AGILENT_CONTROL_24V/DATA", 484 "AGILENT_CONTROL_50V/DATA", 485 "AGILENT_CONTROL_80V/DATA", 483 486 "BIAS_CONTROL/CURRENT", 484 487 "BIAS_CONTROL/DAC", … … 846 849 [ "SMART_FACT" ], 847 850 [ "TEMPERATURE" ], 848 [ "DATA_LOGGER", [ "NightlyFileOpen", "WaitForRun", "Logging" ] ], 849 [ "FSC_CONTROL", [ "Connected" ] ], 850 [ "MCP", [ "Idle" ] ], 851 [ "TIME_CHECK", [ "Valid" ] ], 852 [ "PWR_CONTROL", power_states/*[ "SystemOn" ]*/ ], 853 [ "AGILENT_CONTROL", [ "VoltageOn" ] ], 854 [ "BIAS_CONTROL", [ "VoltageOff", "VoltageOn", "Ramping" ] ], 855 [ "FEEDBACK", [ "Calibrated", "InProgress" ] ], 856 [ "LID_CONTROL", [ "Open", "Closed" ] ], 857 [ "DRIVE_CONTROL", drive_states/*[ "Armed", "Tracking", "OnTrack" ]*/ ], 858 [ "FTM_CONTROL", [ "Valid", "TriggerOn" ] ], 859 [ "FAD_CONTROL", [ "Connected", "RunInProgress" ] ], 860 [ "RATE_SCAN", [ "Connected" ] ], 861 [ "RATE_CONTROL", [ "Connected", "GlobalThresholdSet", "InProgress" ] ], 862 [ "GPS_CONTROL", [ "Locked" ] ], 851 [ "DATA_LOGGER", [ "NightlyFileOpen", "WaitForRun", "Logging" ] ], 852 [ "FSC_CONTROL", [ "Connected" ] ], 853 [ "MCP", [ "Idle" ] ], 854 [ "TIME_CHECK", [ "Valid" ] ], 855 [ "PWR_CONTROL", power_states/*[ "SystemOn" ]*/ ], 856 [ "AGILENT_CONTROL_24V", [ "VoltageOn" ] ], 857 [ "AGILENT_CONTROL_50V", [ "VoltageOn" ] ], 858 [ "AGILENT_CONTROL_80V", [ "VoltageOn" ] ], 859 [ "BIAS_CONTROL", [ "VoltageOff", "VoltageOn", "Ramping" ] ], 860 [ "FEEDBACK", [ "Calibrated", "InProgress" ] ], 861 [ "LID_CONTROL", [ "Open", "Closed" ] ], 862 [ "DRIVE_CONTROL", drive_states/*[ "Armed", "Tracking", "OnTrack" ]*/ ], 863 [ "FTM_CONTROL", [ "Valid", "TriggerOn" ] ], 864 [ "FAD_CONTROL", [ "Connected", "RunInProgress" ] ], 865 [ "RATE_SCAN", [ "Connected" ] ], 866 [ "RATE_CONTROL", [ "Connected", "GlobalThresholdSet", "InProgress" ] ], 867 [ "GPS_CONTROL", [ "Locked" ] ], 863 868 ]; 864 869 -
trunk/FACT++/scripts/Startup.js
r17349 r17673 54 54 // ----------------------------------------------------------------- 55 55 56 include("scripts/handleAgilentPowerOn.js"); 56 include("scripts/handleAgilentPowerOn24V.js"); 57 include("scripts/handleAgilentPowerOn50V.js"); 58 include("scripts/handleAgilentPowerOn80V.js"); 57 59 include("scripts/handlePwrCameraOn.js"); 58 60 59 checkSend(["AGILENT_CONTROL ","PWR_CONTROL"]);61 checkSend(["AGILENT_CONTROL_24V","AGILENT_CONTROL_50V","AGILENT_CONTROL_80V","PWR_CONTROL"]); 60 62 61 63 loop = new Handler("PowerOn"); 62 //loop.add(handleAgilentPowerOn); 64 //loop.add(handleAgilentPowerOn24V); 65 //loop.add(handleAgilentPowerOn50V); 66 //loop.add(handleAgilentPowerOn80V); 63 67 loop.add(handlePwrCameraOn); 64 68 loop.run(); … … 296 300 [ "SMART_FACT" ], 297 301 [ "TEMPERATURE" ], 298 [ "DATA_LOGGER", [ "NightlyFileOpen", "WaitForRun", "Logging" ] ], 299 [ "FSC_CONTROL", [ "Connected" ] ], 300 [ "MCP", [ "Idle" ] ], 301 [ "TIME_CHECK", [ "Valid" ] ], 302 [ "PWR_CONTROL", [ "SystemOn" ] ], 303 [ "AGILENT_CONTROL", [ "VoltageOn" ] ], 304 [ "BIAS_CONTROL", [ "VoltageOff" ] ], 305 [ "FEEDBACK", [ "Calibrated" ] ], 306 [ "RATE_SCAN", [ "Connected" ] ], 307 [ "RATE_CONTROL", [ "Connected" ] ], 308 [ "LID_CONTROL", [ "Open", "Closed" ] ], 309 [ "DRIVE_CONTROL", [ "Armed", "Tracking", "OnTrack", "Locked" ] ], 310 [ "FTM_CONTROL", [ "Valid", "TriggerOn" ] ], 311 [ "FAD_CONTROL", [ "Connected", "WritingData" ] ], 312 [ "GPS_CONTROL", [ "Locked" ] ], 302 [ "DATA_LOGGER", [ "NightlyFileOpen", "WaitForRun", "Logging" ] ], 303 [ "FSC_CONTROL", [ "Connected" ] ], 304 [ "MCP", [ "Idle" ] ], 305 [ "TIME_CHECK", [ "Valid" ] ], 306 [ "PWR_CONTROL", [ "SystemOn" ] ], 307 [ "AGILENT_CONTROL_24V", [ "VoltageOn" ] ], 308 [ "AGILENT_CONTROL_50V", [ "VoltageOn" ] ], 309 [ "AGILENT_CONTROL_80V", [ "VoltageOn" ] ], 310 [ "BIAS_CONTROL", [ "VoltageOff" ] ], 311 [ "FEEDBACK", [ "Calibrated" ] ], 312 [ "RATE_SCAN", [ "Connected" ] ], 313 [ "RATE_CONTROL", [ "Connected" ] ], 314 [ "LID_CONTROL", [ "Open", "Closed" ] ], 315 [ "DRIVE_CONTROL", [ "Armed", "Tracking", "OnTrack", "Locked" ] ], 316 [ "FTM_CONTROL", [ "Valid", "TriggerOn" ] ], 317 [ "FAD_CONTROL", [ "Connected", "WritingData" ] ], 318 [ "GPS_CONTROL", [ "Locked" ] ], 313 319 ]; 314 320
Note:
See TracChangeset
for help on using the changeset viewer.