4 INSTALLATION
After having built the OSLX module and installed the SW properly, the following steps must be performed before starting to use OSLX:
The basic INS directory tree can be easily generated using the small tool oslxInsManager. After having created the INS directory tree in the proper location, the user must add the necessary user directories and observation mode directories himself in the tree also using the tool.
Set the three environment variables INS_ROOT, INS_USER, INS_USER_PATH (if relevant) and INS_SETUPPATH (optional) as described in chapter 2. The value of the INS_USER may be pretty dynamic and an application using OSLX should probably be capable of changing this on-line using the putenv() system call (like it is done for the OSLX Server via the command "GEN").
OSLX is dependent on the availability of a Dictionary which consequently must be generated. For the time being the user will have to generate it himself. The procedure is as follows:
The Generic Dictionary contains all the keywords which are currently defined by the ESO-DICB (ESO Data Interface Control Board).The newest version of the Generic Dictionary can be found via the following WWW URL:
The Generic Dictionary can be used to check which keywords are already defined in order to avoid inventing new keywords.
For the moment it is suggested that the Dictionary is produced using a plain text editor. At a later stage a tool will be provided to maintain the Dictionaries. It is possible to use generic indeces in the Dictionaries, like e.g.: "DET WINi STARTX". Note that the Dictionary should be stored in the $INS_ROOT/SYSTEM/Dictionary directory. If the user has defined keywords not contained in the Generic Dictionary, these will have to be approved by the ESO-DICB.
If desirable, an Alias Conversion Table can be generated by hand. Should be stored in the $INS_ROOT/SYSTEM/Alias directory.
The standard Setup Files and other files for the instrument/context should now be copied into the INS Tree.
If these steps have been carried out successfully, it should now be possible to implement the first application using the OSLX classes, or to start up the OSLX Server and work on the various files.
Quadralay Corporation http://www.webworks.com Voice: (512) 719-3399 Fax: (512) 719-3606 sales@webworks.com |