X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



53739 Rate this article:
1.5

Starting a Virtual Machine Application

 

For assistance with downloading or distributing the IDL Virtual Machine, please see Help Article 12395


 Note: These instructions are based on the latest release of IDL. For previous releases, please see "Starting a Virtual Machine Application" in the corresponding version of IDL Help.

This information is also available in the "building.pdf" (Application Programming) file located in the \help\pdf directory of your IDL installation on page 592 (only for IDL 8.0).

Jump to operating system type:
Windows
UNIX
Macintosh


Windows

Windows users can double-click on the .sav file, launch the IDL Virtual Machine and open the .sav file, or launch the.sav file in the IDL Virtual Machine from the command line.

Double-Click a .sav File

To run an application stored in a .sav file, simply double-click on the .sav file icon in the Windows Explorer. If a development license is present, the application will run in a licensed copy of IDL. If no license is present, the IDL Virtual Machine window will open; click anywhere in the window to run the application in the IDL Virtual Machine.

Launch the IDL Virtual Machine

To open a .sav file from within the IDL Virtual Machine:

  1. Launch the IDL Virtual Machine and display the IDL Virtual Machine window by selecting Start>Programs>IDL 8.1>Tools>IDL Virtual Machine.
  2. Click anywhere in the IDL Virtual Machine window to close the window and display the file selection menu.
  3. Locate and select the .sav file, and double-click or click Open to run it.

Running from the Windows Command Line

To run a .sav file from the command line prompt:

  1. Open a command line prompt. Select Run from the Start menu, and enter cmd.
  2. Change directory (cd) to the IDL_DIR\bin\bin.platform directory where platform is the platform-specific bin directory.
  3. Enter the following at the command line prompt:
    idlrt -vm=<path><filename>
    where <path>  is the path to the .sav file, and <filename> is the name of the .sav file.

UNIX

UNIX users must launch the IDL Virtual Machine from the UNIX command line.

To run a .sav file in the IDL Virtual Machine:

  1. Enter the following at the UNIX command line:
    idl -vm=<path><filename>
    where <path> is the complete path to the .sav file and <filename> is the name of the .sav file. The IDL Virtual Machine window is displayed.
  2. Click anywhere in the IDL Virtual Machine window to close the window and run the .sav file.

To launch the IDL Virtual Machine and use the file selection menu to locate the .sav file to run:

  1. Enter the following at the UNIX command line:
    idl -vm
    The IDL Virtual Machine window is displayed.
  2. Click anywhere in the IDL Virtual Machine window to close the window and display the file selection menu.
  3. Locate and select the .sav file and click OK.

Mac OS X

Macintosh users can launch the IDL Virtual Machine and open the .sav file, or launch the.sav file in the IDL Virtual Machine from the command line.

Using the IDL Virtual Machine Icon

To open a .sav file from the IDL Virtual Machine:

  1. Double-click the IDL 8.1 Virtual Machine icon to display the IDL Virtual Machine window.
  2. Click anywhere in the IDL Virtual Machine window to close the window and display the file selection menu.
  3. Locate and select the .sav file and click OK.

Running from the Command Line

To run the IDL Virtual Machine from the UNIX command line:

  1. Enter the following at the UNIX command line:
    idl -vm=<path><filename>
    where <path>  is the complete path to the .sav file and <filename> is the name of the .sav file. The IDL Virtual Machine window is displayed.
  2. Click anywhere in the IDL Virtual Machine window to close the window and run the .sav file.

To launch the IDL Virtual Machine and use the file selection menu to locate the .sav file to run:

  1. Enter the following at the UNIX command line:
    idl -vm
    The IDL Virtual Machine window is displayed.
    Click anywhere in the IDL Virtual Machine window to close the window and display the file selection menu.
  2. Locate and select the .sav file and click OK.

2 comments on article "Starting a Virtual Machine Application"

Avatar image

Gabriel

Is there a way to avoid having to click on the IDL Virtual Machine window,

so that the IDL application can be run from a script?


Avatar image

SSyahreza

dear sir

I have already downloaded and installed the IDL Virtual Machine to Windows 7-64 bit. I used the your assistance procedure to run some application which stored in a .sav file, unfortunately it could not work. for example i tried to open "globe.sav" file from -example-demo folder after double click at the file, it cannot open and showed the warning " attempt to call undefined procedure/function: 'CONGRID' ".

Please can you help me

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »