archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
38 stars 38 forks source link

API call for last known value of aPV #79

Closed DanielALS closed 5 years ago

DanielALS commented 5 years ago

Hi, wondering if there's an API call to get the last known value of a PV ? I imagine there's an API call for the last known timestamp and I'd use that stamp along with the getDataForTime.

Please clarify the best way to do this and point me to the API ? TIA

slacmshankar commented 5 years ago

Will the Save/Restore guide in the user guide help? Ask for the value of the PV as of now?

http://slacmshankar.github.io/epicsarchiver_docs/userguide.html