Component Object Model (COM) Interface

The Astro Scheduler Engine COM interface allows you to send Astro Scheduler Engine connect commands directly to Astro Scheduler Engine programmatically. This interface does not require the STK Integration module.

Each time a command is sent, Astro Scheduler Engine returns a string describing the status of the command. If successful the return value will be: "0, Success". If unsuccessful the return value will be a "-1," followed by an error message (e.g., "-1, Invalid Command Format")

Command Logging

For each COM command received, an entry will be made into the Astro Scheduler Engine Log. Any command formatting errors will be recorded in the log along with information about the nature of the error.

Example Programs

The following example programs use the COM interface. They can be found in the C:\Program Files\AGI\STK_ODTK 13\Scheduler\Examples\COM directory, with their subfolder referenced in the table below

Language Subfolder
Access Access
C# Csharp
Excel Excel
JavaScript Javascript
Python Python
Visual Basic .NETclient VBNet
Visual Basic VBscript
STK Engine STKEngineSchedulerExample

A readme file is included with each code sample.

All file locations are based on the default Astro Scheduler Engine install location. Directory paths may change if you have installed in a non-default location.