This task returns the versions of ENVI, IDL, and different modules, if installed.
Example
e = ENVI(/HEADLESS)
task = ENVITask('GetVersion')
task.Execute
Print, 'Deep Learning: ', task.DEEP_LEARNING_VERSION
Print, 'ENVI: ', task.ENVI_VERSION
Print, 'IDL: ', task.IDL_VERSION
Print, 'SARscape: ', task.SARSCAPE_VERSION
Example result:
Deep Learning: 3.1.0
ENVI API: 4.2
ENVI: 6.1.0
IDL: 9.1.0
SARscape: Not installed
Syntax
Result = ENVITask('GetVersion')
Input Properties: None
Output parameters (Get only): CROP_SCIENCE_VERSION, DEEP_LEARNING_VERSION, ENVI_VERSION, IDL_VERSION, SARSCAPE_VERSION
Output Parameters
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_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.
Methods
Execute
Parameter
ParameterNames
Properties
DESCRIPTION
DISPLAY_NAME
NAME
REVISION
TAGS
Version History
ENVI 5.6 |
Introduced |
ENVI6.2 |
Removed ENVI_API_VERSION parameter
|
See Also
ENVITask