Changeset 19509 for trunk/FACT++


Ignore:
Timestamp:
05/25/19 13:58:47 (6 years ago)
Author:
tbretz
Message:
Enable scheduler during startup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/Startup.js

    r19465 r19509  
    8484include("scripts/handleLidClosed.js");
    8585include("scripts/handleFadConnected.js");
    86 
    87 checkSend(["BIAS_CONTROL","FAD_CONTROL","FTM_CONTROL", "FSC_CONTROL", "FEEDBACK", "RATE_CONTROL", "MCP"]);
     86include("scripts/handleScheduler.js");
     87
     88checkSend(["BIAS_CONTROL","FAD_CONTROL","FTM_CONTROL", "FSC_CONTROL", "FEEDBACK", "RATE_CONTROL", "MCP", "SCHEDULER"]);
    8889
    8990dim.send("MCP/RESET");
     
    9798loop.add(handleRatectrlConnected);
    9899loop.add(handleLidClosed);
     100loop.add(handleScheduler);
    99101loop.run(60000);
    100102
     
    106108console.out("fadctrl:     "+dim.state("FAD_CONTROL").name);
    107109console.out("mcp:         "+dim.state("MCP").name);
     110console.out("scheduler:   "+dim.state("SCHEDULER").name);
    108111console.out("");
    109112
     
    301304 [ "SMART_FACT"    ],
    302305 [ "TEMPERATURE"   ],
     306 [ "SCHEDULER",           [ "Connected", "Armed" ] ],
    303307 [ "EVENT_SERVER",        [ "Running", "Standby" ] ],
    304308 [ "DATA_LOGGER",         [ "NightlyFileOpen", "WaitForRun", "Logging" ] ],
Note: See TracChangeset for help on using the changeset viewer.