pv2web_ro Package: pvwatch Module¶
pv2web_ro.pvwatch
- exception pv2web_ro.pvwatch.CouldNotParseXml[source]¶
Bases: exceptions.Exception
Could not parse XML file
- class pv2web_ro.pvwatch.PvWatch(configuration)[source]¶
Bases: object
Core function of the pv2web_ro package
To call this code, first define configuration=dict() with terms as defined in read_config.read_xml(), then statements such as:
1 2
watcher = PvWatch(configuration) watcher.start()
- report()[source]¶
write the values out to files
The values of the monitored EPICS PVs (the “raw data”) is written to an XML file. This file is then used with one or more XSLT stylesheets to create HTML pages. An overall “home page” (index.html) is created to provide a table of contents of this static web site.