Skip to content

Get Raw Points

Returns raw (recorded) values for tags over a timeframe.

  • EIGEN.GETRAW(datasource, tags, startT, endT, count = 100, 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): Time bounds (UTC). formatBounds normalizes inputs.
  • count (number): Maximum raw points to return per tag. Default: 100.
  • headers, showTag, tabular: see Advanced Options.
  • string[][] — Array of rows containing recorded (raw) historical points within the time range, up to count per tag.
    • Default format: Each row is [Tag, Timestamp, Value] for each raw point as stored.
    • With headers=true: Header row ["Tag", "Timestamp", "Value"] precedes data.
    • Order: Points are typically ordered by timestamp (ascending or as returned by historian).
  • RAW_POINTS returns only stored points (no interpolation).
  • =EIGEN.GETRAW("Demo-influxdb", "DEMO_02TI301.PV", "01/01/2024 00:00:00", "01/01/2024 02:00:00", 50) — up to 50 raw points in the 2 hour window for DEMO_02TI301.PV.

Sample output (raw points as stored):

TagTimestampValue
DEMO_02TI301.PV2024-01-01 00:02:1570.5
DEMO_02TI301.PV2024-01-01 00:07:4572.1
DEMO_02TI301.PV2024-01-01 00:15:3071.8
DEMO_02TI301.PV2024-01-01 00:22:0073.4

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