ReturnDataFields Parameter
Each time-series data sample contains QVT (quality, value, and timestamp) values. If ReturnDataFields is not provided, then the default value of 0 is considered, and all QVT values are returned for each data sample. To return one of the data field properties, such as TimeStamp, use the TimeStamp option as shown in the table.
Properties | Description | Field value (Boolean) |
---|---|---|
All Fields | Specifies that all data fields are returned in the query. | 0 (0000) |
TimeStamp | The time stamp of the collected sample or an interval time stamp. When specified in the query, returns the TimeStamp property. | 1 (0001) |
Value | The collected value or sampled value; the data type of the value will be the same data type as the tag's raw data. | 2 (0010) |
Quality | When specified in the query, returns the Quality property. Each sample in Current Value and Raw query retrieval has a quality of:
Interpolated and Lab Retrieval express quality as "percent good". | 4 (0100) |