Hey Everyone,
Looking for some clarification on how EPICs timestamps work in general, with the archiver, and also what is the proper way to handle timestamps with hardware devices (eg digitizers). My understanding of the timestamp is for example a waveform
record will get a time associated with it (depending on if its from ioc boot or ntp) when it is processed. But that may not be in sync with the digitizer itself own timestamp of when its capture a waveform. If I then have the archiver monitoring that PV
and the waveform is processed the timestamp shown in the archiver would be the timestamp that the record grabs at processing (which should be when say a value changed in the waveform triggering the processing of that record).
Is this correct way of thinking of the timestamping of the data for epics records?
If so what is the best way to go about syncing multiple waveform records to make sure your data is synced, seems like your records might get processed not exactly at the same time?
Would it be best to create an X PV waveform record that stores the timestamps of the digitizer itself to line up with your Y PV waveform record?
Associated CS Studio question, if I pass my waveform record to a XY plot is the only way to plot against my time to create an X PV waveform and pass that as well to XY Plot, currently I only see a way to give it a min/max value for the
x scale and have it plot the Y data per point.
Thanks