Data Frames#
Data transmission from the read channel and from the write channel is packed in frames. Each frame is a timestamped type-length-value-encoded structure that contains data corresponding to a single device sample. The frame format is:
uint32 dev_addr
uint64 acqclk_cnt
uint32 sample_sz
var sample
where
dev_addr: Device Address. The address of the device producing the data, as featured on the device table.acqclk_cnt: Acquisition counter. A counter common to all devices generated by the controller common acquisition clock. On write frames, this field is ignored.sample_sz: Sample Size. The full size of the sample, and must be equal to therd_samp_sizefield of the device descriptor on read frames or a multiple of thewr_samp_sizeon write frames.sample: The complete data sample as described on the device sample format section.While a read frame must always contain a single sample as generated by the devices, write frames can contain multiple samples targeted to the same device.