Skip to content

Raw data added

Compare
Choose a tag to compare
@einarsi einarsi released this 17 Aug 14:27
2f5c695

Support for reading raw data.

Due to structural difference in time-vector for raw data compared to fixed-interval data such as INT, VAR etc, the cache is disabled for raw data. The caching mechanism will be rewritten for a later release.

Added

  • ReaderType.RAW now supported as read_type for all handlers.

Changed

  • Rewritten tag reading mechanism by moving responsibility for limiting amount of data points returned from client to handler. Client now investigates length of returned result to determine start time of next query, instead of querying predetermined fixed-length intervals. This makes a more unified read algorithm for fixed-length intervals (such as INT) and uneven time series (such as RAW).
  • Reduced max rows per query from PI Web API to default value 10000.

Fixed

  • Warn instead of crash when user tries to read an invalid tag.