Basics, Building SPICE Applications (IDL) |
Table of ContentsNote About HTML Links Environment Set-up Unix/Linux Windows Confirm IDL can access Icy: A simple example program May 25, 2007 Note About HTML Links
In order for the links to be resolved, create a subdirectory called ``lessons'' under the ``doc/html'' directory of the Toolkit tree and copy this document to that subdirectory before loading it into a Web browser. Environment Set-up
Unix/Linux
IDL> dlm_register, '/naif/icy/lib/icy.dlm' Windows
IDL> dlm_register, 'C:\naif\icy\lib\icy.dlm' Confirm IDL can access Icy:
IDL> help, 'icy', /dlmA proper response shows a path to the Icy interface library and some version information, similar to:
** ICY - IDL/CSPICE interface from JPL/NAIF (not loaded) Version: v1.3.02, Build Date: 27-NOV-2006, Source: ed.wright@jpl.nasa.gov Path: /naif/icy/lib/icy.soThe response
% Unknown dynamically loadable module: icy.indicates the IDL search path does not include the Icy ``icy.dlm'' file. A simple example program
File tk_ver.pro:
PRO tk_ver print, 'Toolkit version : ', cspice_tkvrsn('TOOLKIT') ENDFrom IDL, compile then execute the procedure:
IDL> .comp tk_ver.pro % Compiled module: TK_VER. IDL> tk_ver % Loaded DLM: ICY. Toolkit version : CSPICE_N0061 |