RunTask Task

This task runs a specified ENVITask. It returns a clone of the input task.

Syntax

Result = ENVITask('RunTask')

Input parameters (Set, Get): SUBMIT__TO_SERVER, TASK_TO_EXECUTE

Output parameters (Get only): EXECUTED_TASK, EXECUTION_TIME

Parameters marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Parameters marked as "Get" are those whose values you can retrieve but not set.

Input Parameters

SUBMIT_TO_SERVER (optional)

Set this parameter to an ENVIServer object for remote execution.

TASK_TO_EXECUTE (required)

Specify an object reference to an ENVITask instance. This must include all input parameter values.

Output Parameters

EXECUTED_TASK

This is the input task after it was executed. This will include all output parameter values.

EXECUTION_TIME

The number of seconds it took the task to execute.

Methods

Execute

Parameter

ParameterNames

Properties

DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

Version History

ENVI 5.5

Introduced

ENVI 5.6

Added SUBMIT_TO_SERVER parameter

ENVI 6.2

Added EXECUTION_TIME parameter

See Also

ENVITask