Skip to content

Get Interpolated Points

Returns interpolated values for tags across a time range.

  • EIGEN.GETRANGE(datasource, tags, startT, endT, count = 1000, headers = false, showTag = true, tabular = false)
  • datasource (string): Historian name. If omitted, reads default from settings.
  • tags (string[][]): One or more tag names.
  • startT / endT (string): UTC start and end times. formatBounds normalizes inputs.
  • count (number): Number of interpolated points to return per tag. Default: 1000.
  • headers, showTag, tabular: see Advanced Options.
  • string[][] — Array of rows with interpolated values sampled at regular intervals across the time range.
    • Default format: Each row is [Tag, Timestamp, Value] for each interpolation point.
    • With headers=true: Header row ["Tag", "Timestamp", "Value"] precedes data.
    • Multi-tag results: Returns all points for tag 1, then all points for tag 2, etc.
  • Use count to control resolution; large counts may increase query time.
  • =EIGEN.GETRANGE("Demo-influxdb", "DEMO_02TI301.PV", "01/01/2024 00:00:00", "01/01/2024 01:00:00", 12) — 12 interpolated points across one hour for DEMO_02TI301.PV.

Sample output (3 of 12 points shown):

TagTimestampValue
DEMO_02TI301.PV2024-01-01 00:00:0070.0
DEMO_02TI301.PV2024-01-01 00:05:0071.3
DEMO_02TI301.PV2024-01-01 00:10:0072.5

Have questions or issues? Reach out on our support system: https://eigen.freshdesk.com