Data - ChannelSamplesDoc

The ChannelSamplesDoc document is a data document that contains the properties and values for a collection of sub or super sampled data samples.

Field Data Type Required Default Description
id String Yes - A unique identifier that is referenced by all other documents see section Unique Id Generation.
configDocId String Yes - The unique identifier (id) of the ConfigDoc document that this document is associated with.
paramDefDocId String Yes - The unique identifier (id) of the ParamDefinitionDoc that holds the properties for the parameter associated with the data values stored in this document.
startTime 64-bit Long Yes - A 64-bit Long timestamp specifying the start time of the data that this document holds. The timestamp represents the number of nanoseconds since the reference time of midnight, 1st January 1970.
endTime 64-bit Long Yes - A 64-bit Long timestamp specifying the end time of the data that this document holds. The timestamp represents the number of nanoseconds since the reference time of midnight, 1st January 1970.
frequency 64-bit Long Yes - A 64-bit Long value that specifies the frequency in Hz between each data value stored in this document.
mins Array [64-bit Double] Yes - An array of 64-bit Double values, with each value representing the minimum value for a range of samples as defined by the sampleInterval.
maxs Array [64-bit Double] Yes - An array of 64-bit Double values, with each value representing the maximum value for a range of samples as defined by the sampleInterval.
type Fixed String Fixed ChannelSamplesDoc The fixed value is always set to ChannelSamplesDoc.