Window File Import

The STK Scheduler File Import feature allows different windows of time to be defined using data from an external text file called a window file.


This feature may be used to define:

By clicking the File Import button on the above tabs, you can browse and select a window file to use.

Window File Format

Scheduler will read a window file based on the following:

  • The file must be in ASCII format
  • Scheduler will search each line in the file for time pairs (using regular expressions)
  • Times must be of Scheduler or STK format
  • Scheduler format is "YYYY/MM/DD_hh:mm:ss" (2012/06/05_23:13:27) or "YYYY/MM/DD_hh:mm:ss.fff" (2012/06/05_23:13:27.456)
  • STK format is "D MMM YYYY hh:mm:ss" (6 jun 2012 23:13:27) or "D MMM YYYY hh:mm:ss.fff" (6 Jun 2012 23:13:27.456)
  • Text after the stop time on a line will be read as a comment for that window
  • A line that does not include a pair of start and stop times will be ignored.

The following figure shows the contents of a same window file.

Sample Window File

Once windows from a window file have been imported, they are retained as an attribute of either the resource or the task (if they were imported for resource availability or task scheduling windows). Imported windows can then be individually edited or deleted in the normal manner. For windows used to define the possibility-specific timeslots, the files themselves are retained as attributes of the task, associated with a specific possibility. Individual windows cannot be edited for the possibility timeslot implementation.