CRaTER -- c_monitor

NAME

c_monitor -- Receives CRaTER {tag,value} data from rtlm and formats an HTML page with Secondary Science and Housekeeping information

USAGE

    c_monitor [-h] [-s] [-r htmlform] [-v] [-w webout]

FLAGS

     -h   prints this help message
     -r   reads this file to get master HRML form [master.html]
     -s   forces 1 second cadence in processing input data packets
     -v   verbose operation
     -w   writes HTML to given file name [index.html]

DESCRIPTION

The program receives rtlm ASCII data processed by calcurve and generates a web page. To do this it takes a master HTML form which has embedded in it names of the form _tag_, where ``tag'' is a data name defined by rtlm. The data values retrieved by this program are formatted for display and replace the original name. The master HTML form is only read once upon program start; if the form is not specified in the command line, it is taken from the current directory (first choice) or the directory pointed to by the environment variable CRATERTOOLS.

By default data is taken from STDIN. The ouput is written only upon receipt of a housekeeping packet (AppId 122), which is once every 16 seconds in the normal LRO configuration. The web page itself has an embedded refresh command set to 8 seconds and, lacking a -s flag, will be written to STDOUT. If housekeeping packets fail to update in less than a minute, a STALE message is set in the display.

If the -s flag is used, a 1 second delay is imposed after each housekeeping packet is read. (A second -s flag will raise the delay to 16 seconds.) This will be useful for reading archived data files from an ``rtlm -a -t -c | calcurve'' pipeline. NB that the STALE alarm is not implemented when this flag is used.

BUGS

It's early.

SEE ALSO

High Level programs

CWeb

Low Level programs

calcurve, rtlm

AUTHOR

Bob Goeke

RCS Information

$Id: c_monitor,v 1.11 2008/06/20 15:23:46 goeke Exp goeke $