3.4.2.4 Message: ChannelData

Topic Version1Published10/31/2016
For StandardETP v1.1

Contains an array of <index,value> 2 tuples for one or more channels. Unlike the ChannelDataFrameSet message or DataFrame record, which are structured like the <data/> element of a WITSML V1.4.1 log, there is no requirement that any given channel appear in an individual ChannelData message, or that a given channel appear only once in ChannelData message (i.e., a range of several index values in one message).

Message Type ID: 3

Correlation Id Usage:

If this ChannelData is a response to a ChannelRangeRequest MUST be equal to the message id of the ChannelRangeRequest. Otherwise, MUST be 0.

Multi-part: True

Sent by: producer

Attribute

Description

Data Type

Min

Max

data

Contains the channel data.

DataItem

1

n

Avro Source

{

      "type": "record",

      "namespace": "Energistics.Protocol.ChannelStreaming",

      "name": "ChannelData",

      "messageType": "3",

      "protocol": "1",

      "senderRole": "producer",

      "protocolRoles": "producer,consumer",

      "fields":

     [

         {

          "name": "data",

          "type": { "type": "array", "items": "Energistics.Datatypes.ChannelData.DataItem" }

     }

     ]

}