Changeset 15293


Ignore:
Timestamp:
04/10/13 10:42:51 (12 years ago)
Author:
tbretz
Message:
Added a check for schedule-database
File:
1 edited

Legend:

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

    r15291 r15293  
    77dim.log("Start: "+__FILE__+" ["+__DATE__+"]");
    88
     9// This should be set in dimctrl.rc as JavaScript.schedule-database.
     10// It is sent together with the script to the dimserver.
     11// If started directly, it has to be set after the command:
     12//
     13//   .js scripts/Main.js schedule-database=...
     14//
     15if (!$['schedule-database'])
     16    throw new Error("Environment 'schedule-database' not set!");
     17
    918//dimctrl.defineState(37, "TimeOutBeforeTakingData", "MCP took more than 5minutes to start TakingData");
    1019
     
    3544*/
    3645
    37 include('scripts/ReadSchedule.js');
     46include('scripts/getSchedule.js');
    3847
    3948var observations = [ ];
Note: See TracChangeset for help on using the changeset viewer.