Web Host

RTES32 is ready to interface with web browsers.

Click "Communications" on the menu bar to choose the folder that will be the Host Directory and contain your HTML files. Your selection is saved in the 'registry'.

RTES32 looks for the following register names on startup and maintains them:

Using HTML

HTML files used to interface with RTES must

As RTES32 delivers your HTML files to the browser, it looks for the following special "tags".

@@variable definition@

The text contained between @@ and @ uses the same format as the report generator.

[[condition]text]

The expression between the second [ and the first ] is evaluated as a boolean. "text" is included if the result of the evaluation is true. (Click here for more details.)

!!command!

The text between the second and last ! is assumed to be an RTES command.

Example : !!LET HITS=HITS+1!

Use of the POST method

When defining the FORM, ACTION="page.htm" causes page.htm to be displayed when the form is submitted.
A pair of NAME and VALUE define the RTES command to be executed.

Examples :

(1) Start/stop:

(2) Set to a numeric value:

(3) Select value - Radio button style:

(4) Select value - Menu style:

(5) Assign a text to a variable:

Password Authorization Protocol

On startup, RTES32 looks for a register named PAP$.
When that Register is set to 1, a user id and password are requested to access the html documents via the web browser. The user id must match the text at Register PAP$ and the password must match the text at the next Register. If you change these texts, you must click "Run Configuration" under "Communications" on the menu bar for the change to take effect.

Using DHTML

RTES32 (and RTES) support a set of commands that allow the exchange of dynamic data with a web page where the variables are accessible via DOM, using Javascript.

DOM stands for Document Object Model and allows access to every entity on a web page. All browsers support DOM. All it takes is a mechanism that retrieves the appropriate data from the server and assigns it to the element it belongs to.

We supply a javascript named liveweb.js that allows you to easily use these techniques without any knowledge of scripting. All you have to do is follow these guidelines that we will apply to an example.

This is the complete document for this example:

Note: Other scripts are available and many more are being written and tested to produce various functions such as scada style functions. Please
contact us for details.