Skip to content

Taskpane Function Builder

The Read Functions tab in the taskpane lets you configure and run any of the EIGEN query functions without typing a formula manually. This page documents each input field, how it works, and which query types it applies to.


The first dropdown on the pane. Select the type of data you want to retrieve before any other inputs appear.

OptionFunctionDescription
Get Latest PointEIGEN.GETCURRENTReturns the most recent value for each tag
Get Value at TimestampEIGEN.GETMULTIReturns the interpolated value at one or more specific timestamps
Get N Points Evenly InterpolatedEIGEN.GETRANGEReturns a fixed number of evenly-spaced points over a time window
Get Points with Fixed IntervalEIGEN.GETSTEPReturns points at a regular interval (e.g. every 30 minutes)
Get Raw Points in a WindowEIGEN.GETRAWReturns raw recorded points within a time window
Get Closest Raw Point to TimestampEIGEN.GETCLOSESTRAWFinds the nearest recorded point to each provided timestamp
Get Aggregates in a WindowEIGEN.GETAGGReturns aggregated statistics (min, max, avg, etc.) over a window
Get Aggregates on IntervalsEIGEN.GETINTERVALSReturns aggregated statistics per interval within a window
Get Tag MetadataEIGEN.GETMETAReturns metadata (description, units, stepped flag) for a tag
List all Matching TagsEIGEN.LISTLists all tags matching a wildcard keyword

The tag input appears once a query type is selected. There are two variants depending on the query.

A plain text input with live autocomplete. As you type, the field searches the connected historian for matching tag names.

  • Autocomplete suggestions appear after 5 characters have been typed.
  • Select a suggestion from the dropdown to populate the field.
  • You can also type a full tag name directly without using the dropdown.
  • Incomplete tag names can be entered, and any tags that wildcard match the input will be included in the response

Multi-Tag Chip Picker (all other query types)

Section titled “Multi-Tag Chip Picker (all other query types)”

A chip-based input that allows building a list of tags to query together.

Adding tags:

  • Type a tag name and press Enter or click the + button to add it to the list.
  • Autocomplete suggestions appear after 5 characters, just as in the single-tag field.
  • Click a suggestion to add it directly.

Cell range selection:

  • Click the Excel icon button (next to the text input) to capture the currently selected cell or range from your spreadsheet.
  • The selected range address (e.g. Sheet1!B2:B5) is added as a tag reference. When the function runs, the add-in reads the tag names from those cells dynamically.
  • A cell range selection replaces any existing text tags — ranges and typed tags cannot be mixed.
  • Currently selcted ranges MUST be one-dimensional e.g. single column, or single row

Managing added tags:

  • The chip list can be hidden. Click the eye icon to toggle visibility.
  • To remove a tag, click the × on its chip.

Used to specify one or more target timestamps. Each timestamp is stored as a chip and formatted as YYYY-MM-DD HH:mm:ss.

Calendar picker:

  • A date/time picker is shown. Open it by clicking the calendar icon or the input field.
  • Select a date and time, then click Add or close the picker to confirm.
  • You can also type a date directly into the input and press Enter to add it.

Paste mode:

  • Click the paste icon to open a text area.
  • Paste a newline-separated list of timestamps (any format that can be parsed as a date).
  • Valid timestamps are extracted and added as chips automatically.
  • Use the eye icon to toggle visibility of the chips list.
  • Click a chip to edit it (re-opens the calendar picker pre-populated with that timestamp).
  • Click the × on a chip to remove it.

Multiple timestamps: When more than one timestamp is provided, the function returns results for all of them. The output rows correspond to each timestamp.


Date Range (GETRANGE, GETSTEP, GETRAW, GETAGG, GETINTERVALS)

Section titled “Date Range (GETRANGE, GETSTEP, GETRAW, GETAGG, GETINTERVALS)”

A start time and end time picker define the query window.

  • Click the calendar icon to open a date/time picker with 15-minute time intervals.
  • Alternatively, type a date directly into the text field. The field accepts any string parseable as a date (e.g. 2024-01-01 08:00:00), confirmed on blur (click away) or Enter press.
  • The start time must be earlier than the end time — a validation error will prevent the query from running otherwise.

Defines the interval between data points. Accepts shorthand duration strings.

ExampleMeaning
30m30 minutes
1h1 hour
6h6 hours
3d3 days
2w2 weeks
1y1 year
The interval is applied across the full date range, generating one result per interval period.

Max Points / Count (GETRANGE, GETRAW, GETMETA)

Section titled “Max Points / Count (GETRANGE, GETRAW, GETMETA)”

A numeric input that limits the number of results returned per tag.

  • Minimum: 1
  • Maximum: 10,000
  • For GETRANGE: sets the number of evenly-spaced interpolated points returned.
  • For GETRAW: caps the number of raw recorded points returned per tag.
  • For GETMETA: caps the number of tags returned.

Values are clamped to the allowed range on blur.


A dropdown that controls how the closest raw point is selected relative to each provided timestamp.

OptionBehaviour
Point Before or AtLatest raw point at or before the timestamp
Point After or AtEarliestraw point at or after the timestamp
Point BeforeLatest raw point strictly before the timestamp
Point AfterEarliest raw point strictly after the timestamp
Adjacent PointsThe interpolated point at the given timestamp, as well as both the raw point before and the raw point after

A dropdown for selecting which aggregate statistics to return.

OptionReturns
All aggregatesmin, max, avg, var, numGood, numBad, count, stdDev, median, first, last
Minimummin only
Maximummax only
Averageavg only
Standard deviationstdDev only
Variancevar only
Points countcount only
Good points countnumGood only
Bad points countnumBad only
Medianmedian only
First valuefirst only
Last valuelast only

An optional free-text field for filtering the tag list. Supports wildcard characters.

  • Leave blank to list all available tags.
  • Type a partial tag name to match tags that contain that string.
  • A Print results horizontally checkbox is also available for LIST — when checked, results are written across a row instead of down a column.

The Advanced Options section is collapsible and appears for all query types except LIST. It controls the output format written to the worksheet.

OptionDefaultApplies toDescription
Show HeadersOnAllWrites column header labels above the data
Show TagsOffAllIncludes the tag name in each row
Use Tabular FormatOffGET, GETMULTI, GETCLOSESTRAW, GETRANGE, GETSTEP, GETRAWPivots multi-tag output into a table with one column per tag
Return Values OnlyOffGET, GETMULTI, GETCLOSESTRAWReturns only the value cell(s), without timestamps or tag columns
Show Reference TimestampsOffGETCLOSESTRAWAdds a column showing the originally requested timestamp alongside each result

Interactions:

  • Tabular Format forces Show Headers and Show Tags on, and disables Values Only.
  • Values Only disables Show Headers, Show Tags, and Tabular Format.
  • Adjacent Points method (GETCLOSESTRAW) disables Tabular Format, Values Only, and Show Reference Timestamps.

See advanced-options for full details and output examples.


These options appear at the bottom of the pane, below the Advanced Options section.

When checked (default): The function formula is written into the cell(s) and recalculates automatically when Excel recalculates (e.g. on Ctrl+Alt+F9). The cell will show the live result of the EIGEN function.

Whenever the cell recalculates, the request will be reprocessed, and data may change. If addin is uninstalled, then on refresh data will no longer be available

When unchecked:, the add-in makes the API call immediately and writes the raw data values into the sheet as static values with no formula.

This means the data will remain available in the workbook regardless of internet connection and addin installation, but will not refresh with newer values automatically

When checked (default), results are written starting at whichever cell is currently selected in Excel. If unchecked, results are written starting at cell A1 of the active worksheet.


Once all inputs are valid, the Write result to worksheet button becomes active. Click it to execute. A spinner replaces the button icon while the operation is in progress.

If any required input is missing or invalid, a red error message is shown above the button describing what needs to be fixed.

For “Use Dynamic Data” Certain Errors such as invalid tags or historians will lead to a descriptive error message being printed in the cell with the function


Need help? Contact support at support.eigen.co.