Skip to content

A caproto IOC to mirror time-traces from the Archiver as a PV primarily for use in the pheobus web UI.

License

Notifications You must be signed in to change notification settings

NSLS-II/archiver-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archiver Proxy

This is a small caproto IOC to proxy between the Archiver and the Pheobus web-front end to show historical traces

Start via

$ python archiver_proxy.py --list-pvs --config=config.yaml

The format of the configuration file is:

- archiver_url: http://some.url.tld:port
  pvs:
  - name: PV1
    window: 24
  - name: PV2
    window: 2

- archiver_url: http://other.url.tld:port
  pvs:
  - name: PV3
    window: 36
  - name: PV4
    window: 1

The created PVs will be of the form

{SOURCE_PV}:archived_{WINDOW}h_mean
{SOURCE_PV}:archived_{WINDOW}h_timebase
{SOURCE_PV}:read_counter

so all PVs can not be repeated between archivers.

There are always ~800 samples independent of the time window.

About

A caproto IOC to mirror time-traces from the Archiver as a PV primarily for use in the pheobus web UI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages