pvWebMonitor Package: pvwatch
Module#
pvWebMonitor.pvwatch
- class pvWebMonitor.pvwatch.PvCrossReference[source]#
Bases:
object
Maintain cross-references between pvnames, mnemonics, and their signals.
- property mnemonics#
List the known mnemonics.
- property pvnames#
List the known PV names.
- class pvWebMonitor.pvwatch.PvEntry(mnemonic, pvname, as_string=False, description=None, fmt='%s')[source]#
Bases:
object
Monitor (read-only) a single EPICS PV.
- property connected#
Is EPICS connected?
- class pvWebMonitor.pvwatch.PvWatch(configuration)[source]#
Bases:
object
Core of the pvWebMonitor package.
To call this code, first define
configuration=dict()
with terms as defined inread_config.read_xml()
, then statements such as:1 watcher = PvWatch(configuration) 2 watcher.start()
- add_file_pattern(pattern)[source]#
add
pattern
as an additional file extension patternAny file with extension matching any of the patterns in
self.upload_patterns
will copied to the WWW directory, if they are newer.
- 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.