GetVersion Task

This task returns the versions of ENVI, IDL, and different modules, if installed.

Example

; Start the application

e = ENVI(/HEADLESS)

 

; Get the task from the library of ENVITasks

task = ENVITask('GetVersion')

 

; Run the task

task.Execute

 

; Print the currently running software versions

Print, 'Crop Science: ', task.CROP_SCIENCE_VERSION

Print, 'Deep Learning: ', task.DEEP_LEARNING_VERSION

Print, 'ENVI API: ', task.ENVI_API_VERSION

Print, 'ENVI: ', task.ENVI_VERSION

Print, 'IDL: ', task.IDL_VERSION

Print, 'SARscape: ', task.SARSCAPE_VERSION

Example result:

Crop Science: 1.1.0

Deep Learning: 1.1.0

ENVI API: 3.5

ENVI: 5.5.3

IDL: 8.7.3

SARscape: Not installed

Syntax

Result = ENVITask('GetVersion')

Input Properties: None

Output Properties (Get only): CROP_SCIENCE_VERSION, DEEP_LEARNING_VERSION, ENVI_API_VERSION, ENVI_VERSION, IDL_VERSION, SARSCAPE_VERSION

Methods

This task inherits the following methods from ENVITask:

AddParameter

Execute

Parameter

ParameterNames

RemoveParameter

Properties

This task inherits the following properties from ENVITask:

COMMUTE_ON_DOWNSAMPLE

COMMUTE_ON_SUBSET

DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

This task also contains the following properties:

CROP_SCIENCE_VERSION

This is the ENVI Crop Science version currently running. If this module is not installed, the value will be Not Installed.

DEEP_LEARNING_VERSION

This is the ENVI Deep Learning version currently running. If this module is not installed, the value will be Not Installed.

ENVI_API_VERSION

This is the ENVI API version currently running.

ENVI_VERSION

This is the ENVI version currently running.

IDL_VERSION

This is the IDL version currently running.

SARSCAPE_VERSION

This is the ENVI® SARscape version currently running. If this module is not installed, the value will be Not Installed.

Version History

ENVI 5.6

Introduced

API Version

4.2

See Also

ENVITask