Basics, Building SPICE Applications (IDL) |
Table of ContentsBasics, Building SPICE Applications (IDL) Note About HTML Links Environment Set-up Unix/Linux Windows Confirm IDL can access Icy: A simple example program Basics, Building SPICE Applications (IDL)
Note About HTML Links
In order for the links to be resolved, if not done already by installing the lessons package under the Toolkit's ``doc/html'' directory, create a subdirectory called ``lessons'' under the ``doc/html'' directory of the ``icy/'' 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: 1.9.0, Build Date: 05-NOV-2021, Source: Marc.Costa.Sitja@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_N0067 |