Get Metadata
Return metadata for tags that match a wildcard (description, units, stepped).
Signature
Section titled “Signature”EIGEN.GETMETA(datasource, wildcard, limit = null, headers = true)
Parameters
Section titled “Parameters”datasource(string): Historian name. If omitted, reads default from settings.wildcard(string): Tag search pattern.limit(number): Maximum tags to return. Non-numeric values default to1000.headers(boolean): Include header row. Default:true.
Returns
Section titled “Returns”string[][]— Table of metadata for matching tags.- Format: Rows of
[Tag, Description, Units, Stepped]. - With
headers=true(default): Header row["Tag", "Description", "Units", "Stepped"]precedes data. - Missing fields: Coalesced to
"None"if not available.
- Format: Rows of
- The function coalesces missing fields to
None.
Example
Section titled “Example”=EIGEN.GETMETA("Demo-influxdb", "DEMO_02TI*")— returns metadata rows for tags matchingDEMO_02TI*.
Sample output (with headers):
| Tag | Description | Units | Stepped |
|---|---|---|---|
| DEMO_02TI301.PV | Temperature Indicator 3 | °C | false |
| DEMO_02TI201.PV | Temperature Indicator 2 | °C | false |
Support
Section titled “Support”Have questions or issues? Reach out on our support system: https://eigen.freshdesk.com