On 28.07.2010 08:39, Dalesio, Leo wrote:
>
> This sends the entire archive data. The server should be able to
> compress this into a statistical sample. I would propose:
>
> for each sample
> sample start time - in unix gmt (should convert to ascii in the
> client side)
>
Should be our VTimestamp: POSIX time stamp plus the additional 32 int
(that might be a pulse id or something completely different)
> number of samples
>
Also needs the sample end time, or (alternatively) the sample duration
> first value
> last value
> mean
>
Median or average? both?
> high
> low
> first standard deviation
>
All this is for atomic numerical values only.
What about strings, enums, waveforms?
How is the metadata (enum choices, alarm status) represented?
Ralph
|