Norman version 2
User's Guide

Previous page

Email the author

Index

Reference list

Next page


VIII. The installation module

The main menu of the Installation module contains the following items:

1) Directory setup

Refer to the section "Installation" in the beginning of this manual.

2) Install standard module (*.EXE)

This option makes possible installing of a new standard (*.EXE) module or editing parameter list of a standard module already installed to the system. Some additional information has to be specified, such as the module filename (e.g. "LAROCHE.EXE"), full name of the recalculation scheme (e.g. "De la Roche"; for the "Calculations" menu), the default suffix (".RCH"; used for saving results into ASCII files and as a reference in user-defined functions, see section VII.3.) and whether the sum of all the parameters is to be computed.

The following screen displays the list of parameters of the given standard module (Fig. 13) that can be browsed using the Up, Down, PgUp, PgDn, Home, and End keys. After Enter is pressed, the current parameter name can be edited. Please note that while in the editing mode, pressing Ctrl+Backspace clears the whole input field. In the end of the list are three menu items: "New parameter", "Delete parameter" and "Main menu".

1. New parameter

After invoking this option, the user is asked to indicate an item, before which is the new parameter to be inserted. Then a prompt is displayed, asking for the name.

2. Delete parameter

Here, after having specified the item to be deleted, action is taken without further warning.

3. Main menu

A dialogue "Save the changes?" is entered, whether the changes are to be accepted or cancelled.

With programming the standard modules, their structure and format of the relevant configuration files, is concerned Appendix 2: "Preparing standard NORMAN modules: a programming guide".

 

 

3) Install user-defined function

This option serves for installing user-defined functions, lists of several parameters that are defined by simple arithmetic operations (+ - / * ^ and brackets) combining constants (such as molecular weights, atomic weights, factors for recalculating wt% oxide to wt% element and vice versa, user-defined constants) and variables (parameters of other standard modules or user-defined functions, previous parameters of the user-defined function being edited). These algorithms are stored in plain ASCII files (*.DEF), which can be created (or edited if prepared beforehand by a word processor) and installed by this option of the INSTALL module.

The names of *.DEF files should consist of three letters, as these are also used as default as for the standard modules, cf. the previous section).

 

 

First of all, a file manager module is called to locate the desired *.DEF file. If this file is to be created, simply type the new name (three letters) instead of asterisk in the top window; a message should inform you about its creation. Again, if you are dealing with a *.DEF file that was not yet installed to the system, some information has to be provided, namely the full name of the function and the summation option.

The next screen shows the list of parameters and their definitions. The list of parameters ends with three menu items familiar from the section on installation of the standard modules: "Insert parameter", "Delete parameter" and "Main menu" that have exactly the same purpose. Pressing Enter starts editing of the parameter name and pressing it once more brings up an editing window with the definition field.

The editing window can be scrolled using Left and Right arrows, as well as Home and End keys. Several lists of constants and parameters that can be inserted can be invoked by the function keys:

F1

wt % oxide (raw major-element data)

F2

atomic concentrations (in millications, i.e. atomic proportions * 1000)

F3

molecular weights

F4

atomic weights

F5

factors recalculating elements to oxides and vice-versa

F6

list of user-defined constants; these are stored in the file "CONST.DAT" (see Appendix 4)

F9

standard modules and their parameters

F10

user-defined functions and their parameters

 

The latter two options enter information in a format such as "An[CPW]", i.e. with the default suffix of the particular standard module or user-defined function in square brackets (here meaning the CIPW norm).

See "Appendix 3: Preparing user-defined functions" if more information is required.

4) Delete standard module

Invokes the list of standard modules currently installed in the system to choose the one that is to be removed. After confirmation to uninstall the particular module you will be asked whether the corresponding *.EXE file is to be also deleted from the hard disc.

5) Delete user-defined function

Analogous to the previous option but for user-defined functions.

6) Exit

Returns to the NORMAN main menu, if the installation module was called from there. A dialogue "Save the changes?" is displayed, asking whether all the configuration files modified during the installation session are to be saved. If "No" is selected, all your changes will be lost, apart from those done to *.DEF files if they were saved on leaving the editor. If there are any *.EXE and, or, *.DEF files to be deleted from the hard disc, a permission is asked once more before the action is taken.

7) Quit to DOS

Returns to DOS, even if the installation was called from within the NORMAN main module. Otherwise, the purpose is identical to the previous option.

 


 

Previous page

Email the author

Index

Reference list

Next page