Get Raw Points
Returns raw (recorded) values for tags over a timeframe.
Signature
Section titled “Signature”EIGEN.GETRAW(datasource, tags, startT, endT, count = 100, headers = false, showTag = true, tabular = false)
Parameters
Section titled “Parameters”datasource(string): Historian name. If omitted, reads default from settings.tags(string[][]): One or more tag names.startT/endT(string): Time bounds (UTC).formatBoundsnormalizes inputs.count(number): Maximum raw points to return per tag. Default:100.headers,showTag,tabular: see Advanced Options.
Returns
Section titled “Returns”string[][]— Array of rows containing recorded (raw) historical points within the time range, up tocountper 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).
- Default format: Each row is
RAW_POINTSreturns only stored points (no interpolation).
Example
Section titled “Example”=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 forDEMO_02TI301.PV.
Sample output (raw points as stored):
| Tag | Timestamp | Value |
|---|---|---|
| DEMO_02TI301.PV | 2024-01-01 00:02:15 | 70.5 |
| DEMO_02TI301.PV | 2024-01-01 00:07:45 | 72.1 |
| DEMO_02TI301.PV | 2024-01-01 00:15:30 | 71.8 |
| DEMO_02TI301.PV | 2024-01-01 00:22:00 | 73.4 |
Support
Section titled “Support”Have questions or issues? Reach out on our support system: https://eigen.freshdesk.com