next up previous contents 5
Next: General DCS Scripting Commands Up: Blu-Ice/DCS Administrator's Manual for Previous: The Device Permissions Bits   Contents

Writing Scripted Devices and Operations

BLU-ICE and the scripting engine within DCSS are both written in the TCL scripting language. One of the features of a scripting language is that code does not need to be pre-compiled to be executed. This greatly simplifies the writing and testing of scripts. BLU-ICE itself allows the user to open a command prompt, which gives the user access to the TCL interpreter running BLU-ICE. New scripts can be loaded from this command prompt and executed, allowing complicated or repetitive tasks to be somewhat automated.

There are several drawbacks to running scripts through the command prompt of BLU-ICE:

An alternative to running a script in BLU-ICE would be to run the script as an operation within the DCSS scripting engine. This feature overcomes all of the restrictions of running a script through BLU-ICE, but it does have several drawbacks of its own:

In many cases, development of new scripts can be done first through BLU-ICE and ported later to DCSS when the script has been tested sufficiently.



Subsections
next up previous contents 5
Next: General DCS Scripting Commands Up: Blu-Ice/DCS Administrator's Manual for Previous: The Device Permissions Bits   Contents
Scott McPhillips 2011-07-06