Online pro software – Casella CEL Nomad portable weather station User Manual

Page 34

Advertising
background image

5.3.5

Web Page Output

This option allows real-time information to be written to an HTML file for viewing
via an intranet or the internet.

The output is configured via the Web Page Output dialog obtained by

using the Web page output... option on the View menu.

Online Pro outputs data in real-time to an intranet/internet page by

replacing text in a template file with the measured data. This allows you to have
full control over the format of the page. (Note that Online Pro can only publish
an internet page to a server if they are connected via a network, it cannot
publish a page via ftp.)

To enable web output, select the check box, use the first Browse

button to select the template HTML file, then use the second Browse button to
specify the name/location of the output file. (Usually this will be on a server. You
must obtain suitable access rights to create files in this folder.) Finally, set the
update interval, Online Pro will update the web page at this interval.

Template file format

Usually, the template file will be a standard HTML file. Online Pro reads this
template and replaces certain portions of text with the real-time values gathered
from weather stations. It can also give the date and time that the file was
updated.

Date/time

To get Online Pro to output the date/time when the web page was written, you
must include the following items of text in the template file:

{ONLINEPRO:#DATE} and {ONLINEPRO:#TIME}

The date/time will be output in the standard format defined on the PC running
Online Pro.

Real time values

To output real time values you must insert text like this:

{ONLINEPRO:ws_name:channel_name}

where ws_name is the name of the weather station and channel_name is the
name of a channel on that weather station. This will output the raw data values
coming from the weather station with no further formatting.

Formatting real time values

If you do not want to display the raw channel, values you can control the output
format by adding the formatting instructions between the channel_name and the
} in the above format (note there must be no spaces between the channel name
and the format specifier or between the format specifier and the }). This
formatting specifier has the format (x.y), where x is the minimum number of

Online Pro Software

Page 34 of 68

NOMAD Portable Weather Station

Users Handbook

Advertising