pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

Support the EPICS archiver appliance #139

Closed klauer closed 4 years ago

klauer commented 4 years ago

From Murali, we now know that:

Cron jobs are in place running processRequestFile.py, so just make sure your IOC build and
release process installs archive request files to $IOC_DATA/$IOC_NAME/archive/*.archive w/ syntax
MY:PV:NAME    period    [ type ]
period can be integer or floating point
type is optional, either monitor or scan, defaults to scan.

We can create our own info tags per-record and generate these files. Or pytmc could output them directly.

klauer commented 4 years ago

Default will be scan 1s, except for waveforms

klauer commented 4 years ago

(*) Waveforms of larger than a threshold, that is

klauer commented 4 years ago

archive: {1s/1hz} {scan/monitor} Default: archive: 1s scan - or thresholded on the update rate

Examples: archive: 1s scan archive: 1hz monitor archive: 1s (=scan)

n-wbrown commented 4 years ago

Notes from discussion with @klauer

Reuse the `bin.bin.process method for generating a list of records.

Add archive file generation onto the db command line tool. When an output file is specified, the archive file will be generated by default.