Some operating parameters for a RTES application are defined in the user modifiable ASCII text file RTES.CNF.
The configuration file is a text file created off-line and read by RTES on start-up.
Parameter definitions must be separated by a comma, space, linefeed, or carriage return.
Comment lines may be used. Lines beginning with a semi-colon are interpreted as comments. Comment lines are displayed at the bottom of the screen when the RTES.CNF file is read.
The parameters are
| A=n | where n is the maximum number of analog input pages to display. |
| C=1 or 0 | to indicate that you have or not (respectively) a numeric coprocessor and that you want RTES to use it. (default is 0) |
| D=1 or 0 | to include or not (respectively) the date in the change of state messages. (default is 0) |
| E=n | defines register index n as 'error' register to report DOS error number associated with the GET command. |
| F=1 or 0 | to select or not (respectively) the automatic selection of the first variable on the screen. (default is 1) |
| H=1 or 0 | to display or not display (respectively) the help line.(default is 1) |
| I=n | where n is the maximum number of binary input pages to display. |
| K=n | where n is the index of the first of 4 RTES 'R registers used for clock synchronization. |
| L=0,1,2,or 3 | user level. |
| O=n | where n is the maximum number of binary output pages to display. |
| P=1 to 1000 | inference engine priority. (default is 100). This parameter should always be at its default value, unless you are using RTES for simulations that would make the inference engine particularly busy -- in which case you could use a lower value. Values higher than 100 are reserved for future applications. |
| R=n | where n is the maximum number of 'R' register pages to display. |
| S=1 or 0 | to use or not to use (respectively) the RTES internal printer control. (default is 1) |
| T=1 or 0 | Normally, when RTES converts a value to an integer (NUMBER or LZI format), it changes any negative numbers to 0. The display range is from 0 64000.
You may change RTES to interpret integers as 2's complement by specifying in RTES.CNF the parameter T=1. This causes any integer greater than 32767 to be interpreted as a negative number. The display range becomes -9999 to 32767. Note that the negative sign occupies one of the display positions. This option also applies to numbers received via device drivers. |
| U=n | to set up a block of registers starting at id n for mouse monitoring and control. |
| V=0 to n | to indicate which drive will be used to return DISK_CL (see TREND RECORDING). V=0 is for drive A:, 1 for drive B:, etc. The default is the current drive. |
| Y=n | where n is the maximum number of analog output pages to display. |
USER LEVEL
There are 4 user levels. They are listed in the table below.
| level | description |
| 0 | operator |
| 1 | operator with view |
| 2 | programmer |
| 3 | special functions |
Each level defines the commands that the user has access to. Level 0 gives the user the ability to use the knowledge base but not to modify it. Level 1 gives the user the ability to use and view the knowledge base but not to modify it. Level 2 gives the user the ability to use all but the professional level commands. This level allows the user to define and maintain the knowledge base. Level 3 allows access to special commands (FTASK, FTEXT) only used to transfer a knowledge base between different versions of RTES.
The default user level is 0.
PRINTER CONTROL.
RTES normally uses LPT1 or LPT2 (whichever is found) and buffers its output to the printer, sending the characters provided the printer is not busy ('spooler'). This implies that it actually reads the printer port status.
In some applications, you may want to let your operating system - DOS or network - handle the printer control. For instance, you could have your printer on a serial port or at a file server. In this case, you may specify S=0 in RTES.CNF to tell RTES to pass on the printing to your operating system via the DOS interface mechanism.
EXAMPLE CONFIGURATION FILE
;Programmer Level L=2 ;User explanations will be defined by user H=0 ;End of configuration file