source /usr/local/rsi/idl_5.3/bin/idl_setup
Normally the system administrator already set up IDL such that when a user enters 'idl' command on the UNIX system, the appropriate release version is invoked automatically.
A user only need to do above when a special release different from the official release is to be accessed.
For proper operation of these programs, a user first has to make sure that the IDL 5.1 or later is used. In order to access IDL programs installed in the local epics/extensions/bin, a user has to make sure that the following environment variables are set before invoking IDL :
For EPICS 3.13: setenv EPICS_EXTENSIONS /usr/local/epics/extensions setenv HOST_ARCH solaris setenv IDL_STARTUP $EPICS_EXTENSIONS/bin/$HOST_ARCH/viewer_startup.pro set path=(/usr/local/epics/extensions/bin/$HOST_ARCH $path) For EPICS 3.14: setenv EPICS_EXTENSIONS /usr/local/epics/extensions setenv EPICS_HOST_ARCH solaris-sparc setenv IDL_STARTUP $EPICS_EXTENSIONS/idllib/viewer_startup.pro set path=(/usr/local/epics/extensions/bin/$EPICS_HOST_ARCH $path)Following table shows the HOST_ARCH setting for Linux operating system.
$HOST_ARCH EPICS ------------------------- solaris R3.13 Linux R3.13 $EPICS_HOST_ARCH EPICS ------------------------- solaris-sparc R3.14 linux-x86 R3.14
source /usr/local/epics/extensions/bin/$HOST_ARCH/setup_ezcaIDL
For EPICS 3.13: source /usr/local/epics/extensions/bin/$HOST_ARCH/ezcaidl_setup For EPICS 3.14: source /usr/local/epics/extensions/bin/$EPICS_HOST_ARCH/ezcaidl_setup
Startup Setting IDL Main Directory: C:\RSI\IDL60 Working Directory: C:\IDL\catcher3.1 Startup File: C:\IDL\catcher3.1\viewer_startup.win or C:\IDL\catcher3.1\ezcaidl_startup.winThe viewer_startup.win gives the example to automatically start up scanSee subprogram. The ezcaidl_startup.win gives the example to automatically start up subprogram DC which used CA calls from the ezcaIDL.dll library. A user can modify these files to automatically start up catcher_v1 or dcviewer subprogram.
Expanded Path Setting C:\IDL\catcher3.1 < IDL_DEFALUT >
EZCA_IDL_SHARE ezcaIDL.dllIf CA functions from the ezcaIDL.dll are desired this setting is required, e.g the packaged scan programs catcher_v1 and DC.
Startup Setting IDL Main Directory: C:\RSI\IDL60 Working Directory: C:\IDL\viewer\data Startup File: C:\IDL\viewer\viewer_startup.win Expanded Path Setting C:\IDL\viewer C:\RSI\IDL60\lib C:\RSI\IDL60\examplesThe sub-directories below the data directory must be manually created first to gaurantee the smooth operation of the viewer package. The sub-directories used by the viewer package including ASCII, TIFF, ROI, XDR, and CALIB.
The W95 display must be properly set first before running IDL on W95. To set the display by use the W95 Start menu
Start->Settings->Control Panel Select the "Display Icon" to invoke the Display Properties dialog Select the "Settings" Tablet, Set the "Color palette" to 256 Color Press the "Apply" button, and confirm it Close the Display Properties dialog